Eneboo - Documentación para desarrolladores
|
The QTextOStream class is a convenience class for output streams. Más...
#include <qtextstream.h>
Métodos públicos | |
QTextOStream (QString *s) | |
QTextOStream (QByteArray ba) | |
QTextOStream (FILE *f) | |
QTextOStream (QString *s) | |
QTextOStream (QByteArray ba) | |
QTextOStream (FILE *f) |
The QTextOStream class is a convenience class for output streams.
This class provides a shorthand for creating simple output {QTextStream}s without having to pass a mode argument to the constructor.
This makes it easy for example, to write things like this:
QString result; QTextOStream(&result) << "pi = " << 3.14;
QTextOStream::QTextOStream | ( | QString * | s | ) | [inline] |
Constructs a stream to write to string s.
QTextOStream::QTextOStream | ( | QByteArray | ba | ) | [inline] |
Constructs a stream to write to the array ba.
QTextOStream::QTextOStream | ( | FILE * | f | ) | [inline] |
Constructs a stream to write to the file f.
QTextOStream::QTextOStream | ( | QString * | s | ) | [inline] |
QTextOStream::QTextOStream | ( | QByteArray | ba | ) | [inline] |
QTextOStream::QTextOStream | ( | FILE * | f | ) | [inline] |