File: qiodevice-qt3.html

package info (click to toggle)
qt4-x11 4%3A4.8.2%2Bdfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 701,696 kB
  • sloc: cpp: 2,686,179; ansic: 375,485; python: 25,859; sh: 19,349; xml: 17,091; perl: 14,765; yacc: 5,383; asm: 5,038; makefile: 1,259; lex: 555; ruby: 526; objc: 347; cs: 112; pascal: 112; php: 54; sed: 34
file content (187 lines) | stat: -rw-r--r-- 14,263 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qiodevice.cpp -->
  <title>Qt 4.8: Qt 3 Support Members for QIODevice</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="content"> 
    <a href="index.html" class="qtref"><span>Qt Reference Documentation</span></a>
  </div>
  <div class="breadcrumb toolblock">
    <ul>
      <li class="first"><a href="index.html">Home</a></li>
      <!--  Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li><a href="qtcore.html">QtCore</a></li>
<li>QIODevice</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<h1 class="title">Qt 3 Support Members for QIODevice</h1>
<p><b>The following class members are part of the <a href="qt3support.html">Qt 3 support layer</a>.</b> They are provided to help you port old code to Qt 4. We advise against using them in new code.</p>
<p><ul><li><a href="qiodevice.html">QIODevice class reference</a></li></ul></p>
<h2>Public Types</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#Offset-typedef">Offset</a></b></td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#Status-typedef">Status</a></b></td></tr>
</table>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> Offset </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#at">at</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#at-2">at</a></b> ( Offset <i>offset</i> )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#flags">flags</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#getch">getch</a></b> ()</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#isAsynchronous">isAsynchronous</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#isBuffered">isBuffered</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#isCombinedAccess">isCombinedAccess</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#isDirectAccess">isDirectAccess</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#isInactive">isInactive</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#isRaw">isRaw</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#isSequentialAccess">isSequentialAccess</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#isSynchronous">isSynchronous</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#isTranslated">isTranslated</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#mode">mode</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#putch">putch</a></b> ( int <i>ch</i> )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> qint64 </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#readBlock">readBlock</a></b> ( char * <i>data</i>, quint64 <i>size</i> )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#resetStatus">resetStatus</a></b> ()</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#state">state</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> Status </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#status">status</a></b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#ungetch">ungetch</a></b> ( int <i>ch</i> )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> qint64 </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#writeBlock">writeBlock</a></b> ( const char * <i>data</i>, quint64 <i>size</i> )</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> qint64 </td><td class="memItemRight bottomAlign"><b><a href="qiodevice-qt3.html#writeBlock-2">writeBlock</a></b> ( const QByteArray &amp; <i>data</i> )</td></tr>
</table>
<ul>
<li class="fn">8 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
</ul>
<h2>Member Type Documentation</h2>
<!-- $$$Offset -->
<h3 class="fn"><a name="Offset-typedef"></a>typedef QIODevice::<span class="name">Offset</span></h3>
<p>Use <tt>qint64</tt> instead.</p>
<!-- @@@Offset -->
<!-- $$$Status -->
<h3 class="fn"><a name="Status-typedef"></a>typedef QIODevice::<span class="name">Status</span></h3>
<p>Use <a href="qiodevice.html#OpenModeFlag-enum">QIODevice::OpenMode</a> instead, or see the documentation for specific devices.</p>
<!-- @@@Status -->
<h2>Member Function Documentation</h2>
<!-- $$$at[overload1]$$$at -->
<h3 class="fn"><a name="at"></a><span class="type"><a href="qiodevice-qt3.html#Offset-typedef">Offset</a></span> QIODevice::<span class="name">at</span> () const</h3>
<p>Use <a href="qiodevice.html#pos">pos</a>() instead.</p>
<!-- @@@at -->
<!-- $$$at$$$atOffset -->
<h3 class="fn"><a name="at-2"></a><span class="type">bool</span> QIODevice::<span class="name">at</span> ( <span class="type"><a href="qiodevice-qt3.html#Offset-typedef">Offset</a></span> <i>offset</i> )</h3>
<p>Use seek(<i>offset</i>) instead.</p>
<!-- @@@at -->
<!-- $$$flags[overload1]$$$flags -->
<h3 class="fn"><a name="flags"></a><span class="type">int</span> QIODevice::<span class="name">flags</span> () const</h3>
<p>Use <a href="qiodevice.html#openMode">openMode</a>() instead.</p>
<!-- @@@flags -->
<!-- $$$getch[overload1]$$$getch -->
<h3 class="fn"><a name="getch"></a><span class="type">int</span> QIODevice::<span class="name">getch</span> ()</h3>
<p>Use <a href="qiodevice.html#getChar">getChar</a>() instead.</p>
<!-- @@@getch -->
<!-- $$$isAsynchronous[overload1]$$$isAsynchronous -->
<h3 class="fn"><a name="isAsynchronous"></a><span class="type">bool</span> QIODevice::<span class="name">isAsynchronous</span> () const</h3>
<p>This functionality is no longer available. This function always returns true.</p>
<!-- @@@isAsynchronous -->
<!-- $$$isBuffered[overload1]$$$isBuffered -->
<h3 class="fn"><a name="isBuffered"></a><span class="type">bool</span> QIODevice::<span class="name">isBuffered</span> () const</h3>
<p>Use !(<a href="qiodevice.html#openMode">openMode</a>() &amp; <a href="qiodevice.html#OpenModeFlag-enum">QIODevice::Unbuffered</a>) instead.</p>
<!-- @@@isBuffered -->
<!-- $$$isCombinedAccess[overload1]$$$isCombinedAccess -->
<h3 class="fn"><a name="isCombinedAccess"></a><span class="type">bool</span> QIODevice::<span class="name">isCombinedAccess</span> () const</h3>
<p>Use <a href="qiodevice.html#openMode">openMode</a>() instead.</p>
<!-- @@@isCombinedAccess -->
<!-- $$$isDirectAccess[overload1]$$$isDirectAccess -->
<h3 class="fn"><a name="isDirectAccess"></a><span class="type">bool</span> QIODevice::<span class="name">isDirectAccess</span> () const</h3>
<p>Use !<a href="qiodevice.html#isSequential">isSequential</a>() instead.</p>
<!-- @@@isDirectAccess -->
<!-- $$$isInactive[overload1]$$$isInactive -->
<h3 class="fn"><a name="isInactive"></a><span class="type">bool</span> QIODevice::<span class="name">isInactive</span> () const</h3>
<p>Use <a href="qiodevice.html#isOpen">isOpen</a>(), <a href="qiodevice.html#isReadable">isReadable</a>(), or <a href="qiodevice.html#isWritable">isWritable</a>() instead.</p>
<!-- @@@isInactive -->
<!-- $$$isRaw[overload1]$$$isRaw -->
<h3 class="fn"><a name="isRaw"></a><span class="type">bool</span> QIODevice::<span class="name">isRaw</span> () const</h3>
<p>Use <a href="qiodevice.html#openMode">openMode</a>() instead.</p>
<!-- @@@isRaw -->
<!-- $$$isSequentialAccess[overload1]$$$isSequentialAccess -->
<h3 class="fn"><a name="isSequentialAccess"></a><span class="type">bool</span> QIODevice::<span class="name">isSequentialAccess</span> () const</h3>
<p>Use <a href="qiodevice.html#isSequential">isSequential</a>() instead.</p>
<!-- @@@isSequentialAccess -->
<!-- $$$isSynchronous[overload1]$$$isSynchronous -->
<h3 class="fn"><a name="isSynchronous"></a><span class="type">bool</span> QIODevice::<span class="name">isSynchronous</span> () const</h3>
<p>This functionality is no longer available. This function always returns false.</p>
<!-- @@@isSynchronous -->
<!-- $$$isTranslated[overload1]$$$isTranslated -->
<h3 class="fn"><a name="isTranslated"></a><span class="type">bool</span> QIODevice::<span class="name">isTranslated</span> () const</h3>
<p>Use <a href="qiodevice.html#openMode">openMode</a>() instead.</p>
<!-- @@@isTranslated -->
<!-- $$$mode[overload1]$$$mode -->
<h3 class="fn"><a name="mode"></a><span class="type">int</span> QIODevice::<span class="name">mode</span> () const</h3>
<p>Use <a href="qiodevice.html#openMode">openMode</a>() instead.</p>
<!-- @@@mode -->
<!-- $$$putch[overload1]$$$putchint -->
<h3 class="fn"><a name="putch"></a><span class="type">int</span> QIODevice::<span class="name">putch</span> ( <span class="type">int</span> <i>ch</i> )</h3>
<p>Use putChar(<i>ch</i>) instead.</p>
<!-- @@@putch -->
<!-- $$$readBlock[overload1]$$$readBlockchar*quint64 -->
<h3 class="fn"><a name="readBlock"></a><span class="type"><a href="qtglobal.html#qint64-typedef">qint64</a></span> QIODevice::<span class="name">readBlock</span> ( <span class="type">char</span> * <i>data</i>, <span class="type"><a href="qtglobal.html#quint64-typedef">quint64</a></span> <i>size</i> )</h3>
<p>Use read(<i>data</i>, <i>size</i>) instead.</p>
<!-- @@@readBlock -->
<!-- $$$resetStatus[overload1]$$$resetStatus -->
<h3 class="fn"><a name="resetStatus"></a><span class="type">void</span> QIODevice::<span class="name">resetStatus</span> ()</h3>
<p>For device specific error handling, please refer to the individual device documentation.</p>
<p><b>See also </b><a href="qobject.html#qobject_cast">qobject_cast</a>().</p>
<!-- @@@resetStatus -->
<!-- $$$state[overload1]$$$state -->
<h3 class="fn"><a name="state"></a><span class="type">int</span> QIODevice::<span class="name">state</span> () const</h3>
<p>Use <a href="qiodevice.html#isOpen">isOpen</a>() instead.</p>
<!-- @@@state -->
<!-- $$$status[overload1]$$$status -->
<h3 class="fn"><a name="status"></a><span class="type"><a href="qiodevice-qt3.html#Status-typedef">Status</a></span> QIODevice::<span class="name">status</span> () const</h3>
<p>For device specific error handling, please refer to the individual device documentation.</p>
<p><b>See also </b><a href="qobject.html#qobject_cast">qobject_cast</a>().</p>
<!-- @@@status -->
<!-- $$$ungetch[overload1]$$$ungetchint -->
<h3 class="fn"><a name="ungetch"></a><span class="type">int</span> QIODevice::<span class="name">ungetch</span> ( <span class="type">int</span> <i>ch</i> )</h3>
<p>Use ungetChar(<i>ch</i>) instead.</p>
<!-- @@@ungetch -->
<!-- $$$writeBlock[overload1]$$$writeBlockconstchar*quint64 -->
<h3 class="fn"><a name="writeBlock"></a><span class="type"><a href="qtglobal.html#qint64-typedef">qint64</a></span> QIODevice::<span class="name">writeBlock</span> ( const <span class="type">char</span> * <i>data</i>, <span class="type"><a href="qtglobal.html#quint64-typedef">quint64</a></span> <i>size</i> )</h3>
<p>Use write(<i>data</i>, <i>size</i>) instead.</p>
<!-- @@@writeBlock -->
<!-- $$$writeBlock$$$writeBlockconstQByteArray& -->
<h3 class="fn"><a name="writeBlock-2"></a><span class="type"><a href="qtglobal.html#qint64-typedef">qint64</a></span> QIODevice::<span class="name">writeBlock</span> ( const <span class="type"><a href="qbytearray.html">QByteArray</a></span> &amp; <i>data</i> )</h3>
<p>Use write(<i>data</i>) instead.</p>
<!-- @@@writeBlock -->
  <div class="ft">
    <span></span>
  </div>
</div> 
<div class="footer">
    <p>
      <acronym title="Copyright">&copy;</acronym> 2012 Nokia Corporation and/or its
      subsidiaries. Documentation contributions included herein are the copyrights of
      their respective owners.</p>
    <br />
    <p>
      The documentation provided herein is licensed under the terms of the
      <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation
      License version 1.3</a> as published by the Free Software Foundation.</p>
    <p>
      Documentation sources may be obtained from <a href="http://www.qt-project.org">
      www.qt-project.org</a>.</p>
    <br />
    <p>
      Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
      in Finland and/or other countries worldwide. All other trademarks are property
      of their respective owners. <a title="Privacy Policy"
      href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p>
</div>
</body>
</html>