📄 qtextistream.3qt
字号:
.TH QTextIStream 3qt "10 November 2000" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2000 Trolltech AS. All rights reserved. See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQTextIStream \- A convenience class for input streams.SH SYNOPSIS.br.PP\fC#include <qtextstream.h>\fR.PPInherits 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 DESCRIPTIONA convenience class for input streams..PPFor simple tasks, code should be simple. Hence this class is a shorthand to avoid passing the \fImode\fR argument to the normal QTextStream constructors..PPThis 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.PPSee 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.SH COPYRIGHTCopyright 1992-2000 Trolltech AS, http://www.trolltech.com/. See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -