1QTextOStream(3qt)                                            QTextOStream(3qt)
2
3
4

NAME

6       QTextOStream - Convenience class for output 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       QTextOStream ( QString * s )
18       QTextOStream ( QByteArray ba )
19       QTextOStream ( FILE * f )
20

DESCRIPTION

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

MEMBER FUNCTION DOCUMENTATION

QTextOStream::QTextOStream ( QString * s )

36       Constructs a stream to write to string s.
37

QTextOStream::QTextOStream ( QByteArray ba )

39       Constructs a stream to write to the array ba.
40

QTextOStream::QTextOStream ( FILE * f )

42       Constructs a stream to write to the file f.
43
44

SEE ALSO

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

AUTHOR

55       Generated automatically from the source code.
56

BUGS

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