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


Public Member Functions | |
| QTextIStream (const QString *s) | |
| QTextIStream (QByteArray ba) | |
| QTextIStream (FILE *f) | |
Private Member Functions | |
| QTextIStream (const QTextIStream &) | |
| QTextIStream & | operator= (const QTextIStream &) |
This class provides a shorthand for creating simple input {QTextStream}s without having to pass a mode argument to the constructor.
This class makes it easy, for example, to write things like this:
QString data = "123 456"; int a, b; QTextIStream(&data) >> a >> b;
Definition at line 198 of file qtextstream.h.
|
|
Constructs a stream to read from the string s. Definition at line 200 of file qtextstream.h. |
|
|
Constructs a stream to read from the array ba. Definition at line 202 of file qtextstream.h. |
|
|
Constructs a stream to read from the file f. Definition at line 204 of file qtextstream.h. |
|
|
|
|
|
|
1.4.2