#include </home/clem/local/src/opie/qmake/include/qtextstream.h>
Inheritance diagram for QTextOStream:


Public Member Functions | |
| QTextOStream (QString *s) | |
| QTextOStream (QByteArray ba) | |
| QTextOStream (FILE *f) | |
Private Member Functions | |
| QTextOStream (const QTextOStream &) | |
| QTextOStream & | operator= (const QTextOStream &) |
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;
Definition at line 214 of file qtextstream.h.
|
|
Constructs a stream to write to string s. Definition at line 216 of file qtextstream.h. |
|
|
Constructs a stream to write to the array ba. Definition at line 218 of file qtextstream.h. |
|
|
Constructs a stream to write to the file f. Definition at line 220 of file qtextstream.h. |
|
|
|
|
|
|
1.4.2