1QTextIStream(3qt)                                            QTextIStream(3qt)
2
3
4

NAME

6       QTextIStream - Convenience class for input streams
7

SYNOPSIS

9       All the functions in this class are reentrant when Qt is built with
10       thread support.</p>
11
12       #include <qtextstream.h>
13
14       Inherits QTextStream.
15
16   Public Members
17       QTextIStream ( const QString * s )
18       QTextIStream ( QByteArray ba )
19       QTextIStream ( FILE * f )
20

DESCRIPTION

22       The QTextIStream class is a convenience class for input streams.
23
24       This class provides a shorthand for creating simple input QTextStreams
25       without having to pass a mode argument to the constructor.
26
27       This class makes it easy, for example, to write things like this:
28
29           QString data = "123 456";
30           int a, b;
31           QTextIStream(&data) >> a >> b;
32
33       See also QTextOStream, Input/Output and Networking, and Text Related
34       Classes.
35

MEMBER FUNCTION DOCUMENTATION

QTextIStream::QTextIStream ( const QString * s )

38       Constructs a stream to read from the string s.
39

QTextIStream::QTextIStream ( QByteArray ba )

41       Constructs a stream to read from the array ba.
42

QTextIStream::QTextIStream ( FILE * f )

44       Constructs a stream to read from the file f.
45
46

SEE ALSO

48       http://doc.trolltech.com/qtextistream.html
49       http://www.trolltech.com/faq/tech.html
50
52       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
53       license file included in the distribution for a complete license
54       statement.
55

AUTHOR

57       Generated automatically from the source code.
58

BUGS

60       If you find a bug in Qt, please report it as described in
61       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
62       help you. Thank you.
63
64       The definitive Qt documentation is provided in HTML format; it is
65       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
66       web browser. This man page is provided as a convenience for those users
67       who prefer man pages, although this format is not officially supported
68       by Trolltech.
69
70       If you find errors in this manual page, please report them to qt-
71       bugs@trolltech.com.  Please include the name of the manual page
72       (qtextistream.3qt) and the Qt version (3.3.8).
73
74
75
76Trolltech AS                    2 February 2007              QTextIStream(3qt)
Impressum