Documentation/Source/eric6.Helpviewer.Network.FileReply.html

changeset 3673
e26d7d0c1088
equal deleted inserted replaced
3670:f0cb7579c0b4 3673:e26d7d0c1088
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Helpviewer.Network.FileReply</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.Helpviewer.Network.FileReply</h1>
23 <p>
24 Module implementing a network reply class for directory resources.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>dirListPage_html</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#FileReply">FileReply</a></td>
34 <td>Class implementing a network reply for directory resources.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="FileReply" ID="FileReply"></a>
43 <h2>FileReply</h2>
44 <p>
45 Class implementing a network reply for directory resources.
46 </p>
47 <h3>Derived from</h3>
48 QNetworkReply
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#FileReply.__init__">FileReply</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#FileReply.__cssLinkClass">__cssLinkClass</a></td>
64 <td>Private method to generate a link class with an icon.</td>
65 </tr><tr>
66 <td><a href="#FileReply.__loadDirectory">__loadDirectory</a></td>
67 <td>Private slot loading the directory and preparing the listing page.</td>
68 </tr><tr>
69 <td><a href="#FileReply.abort">abort</a></td>
70 <td>Public slot to abort the operation.</td>
71 </tr><tr>
72 <td><a href="#FileReply.bytesAvailable">bytesAvailable</a></td>
73 <td>Public method to determined the bytes available for being read.</td>
74 </tr><tr>
75 <td><a href="#FileReply.isSequential">isSequential</a></td>
76 <td>Public method to check for sequential access.</td>
77 </tr><tr>
78 <td><a href="#FileReply.readData">readData</a></td>
79 <td>Public method to retrieve data from the reply object.</td>
80 </tr>
81 </table>
82 <h3>Static Methods</h3>
83 <table>
84 <tr><td>None</td></tr>
85 </table>
86 <a NAME="FileReply.__init__" ID="FileReply.__init__"></a>
87 <h4>FileReply (Constructor)</h4>
88 <b>FileReply</b>(<i>url, parent=None</i>)
89 <p>
90 Constructor
91 </p><dl>
92 <dt><i>url</i></dt>
93 <dd>
94 requested FTP URL (QUrl)
95 </dd><dt><i>parent</i></dt>
96 <dd>
97 reference to the parent object (QObject)
98 </dd>
99 </dl><a NAME="FileReply.__cssLinkClass" ID="FileReply.__cssLinkClass"></a>
100 <h4>FileReply.__cssLinkClass</h4>
101 <b>__cssLinkClass</b>(<i>icon, size=32</i>)
102 <p>
103 Private method to generate a link class with an icon.
104 </p><dl>
105 <dt><i>icon</i></dt>
106 <dd>
107 icon to be included (QIcon)
108 </dd><dt><i>size</i></dt>
109 <dd>
110 size of the icon to be generated (integer)
111 </dd>
112 </dl><dl>
113 <dt>Returns:</dt>
114 <dd>
115 CSS class string (string)
116 </dd>
117 </dl><a NAME="FileReply.__loadDirectory" ID="FileReply.__loadDirectory"></a>
118 <h4>FileReply.__loadDirectory</h4>
119 <b>__loadDirectory</b>(<i></i>)
120 <p>
121 Private slot loading the directory and preparing the listing page.
122 </p><a NAME="FileReply.abort" ID="FileReply.abort"></a>
123 <h4>FileReply.abort</h4>
124 <b>abort</b>(<i></i>)
125 <p>
126 Public slot to abort the operation.
127 </p><a NAME="FileReply.bytesAvailable" ID="FileReply.bytesAvailable"></a>
128 <h4>FileReply.bytesAvailable</h4>
129 <b>bytesAvailable</b>(<i></i>)
130 <p>
131 Public method to determined the bytes available for being read.
132 </p><dl>
133 <dt>Returns:</dt>
134 <dd>
135 bytes available (integer)
136 </dd>
137 </dl><a NAME="FileReply.isSequential" ID="FileReply.isSequential"></a>
138 <h4>FileReply.isSequential</h4>
139 <b>isSequential</b>(<i></i>)
140 <p>
141 Public method to check for sequential access.
142 </p><dl>
143 <dt>Returns:</dt>
144 <dd>
145 flag indicating sequential access (boolean)
146 </dd>
147 </dl><a NAME="FileReply.readData" ID="FileReply.readData"></a>
148 <h4>FileReply.readData</h4>
149 <b>readData</b>(<i>maxlen</i>)
150 <p>
151 Public method to retrieve data from the reply object.
152 </p><dl>
153 <dt><i>maxlen</i></dt>
154 <dd>
155 maximum number of bytes to read (integer)
156 </dd>
157 </dl><dl>
158 <dt>Returns:</dt>
159 <dd>
160 string containing the data (bytes)
161 </dd>
162 </dl>
163 <div align="right"><a href="#top">Up</a></div>
164 <hr />
165 </body></html>

eric ide

mercurial