'\" t .TH QTextIStream 3qt "24 January 2005" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2001 Trolltech AS. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. .\" .ad l .nh .SH NAME QTextIStream \- Convenience class for input streams .br .PP \fC#include \fR .PP Inherits QTextStream. .PP .SS "Public Members" .in +1c .ti -1c .BI "\fBQTextIStream\fR ( QString * s ) " .br .ti -1c .BI "\fBQTextIStream\fR ( QByteArray ba ) " .br .ti -1c .BI "\fBQTextIStream\fR ( FILE * f ) " .br .in -1c .SH DESCRIPTION The QTextIStream class is a convenience class for input streams. .PP For simple tasks, code should be simple. Hence this class is a shorthand to avoid passing the \fImode\fR argument to the normal QTextStream constructors. .PP This makes it easy for example, to write things like this: .PP .nf .br QString data = "123 456"; .br int a, b; .br QTextIStream(&data) >> a >> b; .fi .PP See also QTextOStream. .SH MEMBER FUNCTION DOCUMENTATION .SH "QTextIStream::QTextIStream ( QByteArray ba )" Constructs a stream to read from the array \fIba.\fR .SH "QTextIStream::QTextIStream ( QString * s )" Constructs a stream to read from string \fIs.\fR .SH "QTextIStream::QTextIStream ( FILE * f )" Constructs a stream to read from the file \fIf.\fR .SH "SEE ALSO" .BR http://doc.trolltech.com/qtextistream.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. .SH AUTHOR Generated automatically from the source code. .SH BUGS If you find a bug in Qt, please report it as described in .BR http://doc.trolltech.com/bughowto.html . Good bug reports make our job much simpler. Thank you. .P In case of content or formattting problems with this manual page, please report them to .BR qt-bugs@trolltech.com . Please include the name of the manual page (qtextistream.3qt) and the Qt version (2.3.10).