1
<?xml version="1.0" encoding="iso-8859-1"?>
3
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
<!-- /tmp/qt-4.0.0-espenr-1119621036935/qt-x11-opensource-desktop-4.0.0/src/corelib/io/qtextstream.cpp -->
7
<title>Qt 4.0: QTextIStream Class Reference</title>
8
<style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
9
a:link { color: #004faf; text-decoration: none }
10
a:visited { color: #672967; text-decoration: none }
11
td.postheader { font-family: sans-serif }
12
tr.address { font-family: sans-serif }
13
body { background: #ffffff; color: black; }</style>
16
<table border="0" cellpadding="0" cellspacing="0" width="100%">
18
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></td>
19
<td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="mainclasses.html"><font color="#004faf">Main Classes</font></a> · <a href="annotated.html"><font color="#004faf">Annotated</font></a> · <a href="groups.html"><font color="#004faf">Grouped Classes</font></a> · <a href="functions.html"><font color="#004faf">Functions</font></a></td>
20
<td align="right" valign="top" width="230"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></td></tr></table><h1 align="center">QTextIStream Class Reference</h1>
21
<p>The QTextIStream class is a convenience class for input streams. <a href="#details">More...</a></p>
22
<pre>#include <QTextIStream></pre><p><b>This class is part of the Qt 3 support library.</b> It is provided to keep old source code working. We strongly advise against using it in new code. See the <a href="porting4.html">Porting Guide</a> for more information.</p>
23
<p>Part of the <a href="qtcore.html">QtCore</a> module.</p>
24
<p>Inherits <a href="qtextstream.html">QTextStream</a>.</p>
25
<p><b>Note:</b> All the functions in this class are <a href="threads.html#reentrant">reentrant</a>.</p>
27
<li><a href="qtextistream-members.html">List of all members, including inherited members</a></li>
29
<a name="public-functions"></a>
30
<h3>Public Functions</h3>
32
<li><div class="fn"/><b><a href="qtextistream.html#QTextIStream">QTextIStream</a></b> ( const QString * <i>string</i> )</li>
33
<li><div class="fn"/><b><a href="qtextistream.html#QTextIStream-2">QTextIStream</a></b> ( QByteArray * <i>byteArray</i> )</li>
34
<li><div class="fn"/><b><a href="qtextistream.html#QTextIStream-3">QTextIStream</a></b> ( FILE * <i>file</i> )</li>
37
<li><div class="fn"/>63 public functions inherited from <a href="qtextstream.html#public-functions">QTextStream</a></li>
39
<a name="details"></a>
41
<h2>Detailed Description</h2>
42
<p>The QTextIStream class is a convenience class for input streams.</p>
43
<p>Use <a href="qtextstream.html">QTextStream</a> instead.</p>
45
<h2>Member Function Documentation</h2>
46
<h3 class="fn"><a name="QTextIStream"></a>QTextIStream::QTextIStream ( const <a href="qstring.html">QString</a> * <i>string</i> )</h3>
47
<p>Use <a href="qtextstream.html">QTextStream</a>(&<i>string</i>, <a href="qiodevice.html#OpenModeFlag-enum">QIODevice::ReadOnly</a>) instead.</p>
48
<h3 class="fn"><a name="QTextIStream-2"></a>QTextIStream::QTextIStream ( <a href="qbytearray.html">QByteArray</a> * <i>byteArray</i> )</h3>
49
<p>Use <a href="qtextstream.html">QTextStream</a>(&<i>byteArray</i>, <a href="qiodevice.html#OpenModeFlag-enum">QIODevice::ReadOnly</a>) instead.</p>
50
<h3 class="fn"><a name="QTextIStream-3"></a>QTextIStream::QTextIStream ( FILE * <i>file</i> )</h3>
51
<p>Use <a href="qtextstream.html">QTextStream</a>(<i>file</i>, <a href="qiodevice.html#OpenModeFlag-enum">QIODevice::ReadOnly</a>) instead.</p>
52
<p /><address><hr /><div align="center">
53
<table width="100%" cellspacing="0" border="0"><tr class="address">
54
<td width="30%">Copyright © 2005 <a href="trolltech.html">Trolltech</a></td>
55
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
56
<td width="30%" align="right"><div align="right">Qt 4.0.0</div></td>
57
</tr></table></div></address></body>