59 <table> |
59 <table> |
60 <tr> |
60 <tr> |
61 <td><a href="#FtpReply.__init__">FtpReply</a></td> |
61 <td><a href="#FtpReply.__init__">FtpReply</a></td> |
62 <td>Constructor</td> |
62 <td>Constructor</td> |
63 </tr><tr> |
63 </tr><tr> |
64 <td><a href="#FtpReply.__commandStarted">__commandStarted</a></td> |
|
65 <td>Private slot to handle the start of FTP commands.</td> |
|
66 </tr><tr> |
|
67 <td><a href="#FtpReply.__connectToHost">__connectToHost</a></td> |
|
68 <td>Private slot to start the FTP process by connecting to the host.</td> |
|
69 </tr><tr> |
|
70 <td><a href="#FtpReply.__cssLinkClass">__cssLinkClass</a></td> |
64 <td><a href="#FtpReply.__cssLinkClass">__cssLinkClass</a></td> |
71 <td>Private method to generate a link class with an icon.</td> |
65 <td>Private method to generate a link class with an icon.</td> |
72 </tr><tr> |
66 </tr><tr> |
73 <td><a href="#FtpReply.__errorSignals">__errorSignals</a></td> |
67 <td><a href="#FtpReply.__dirCallback">__dirCallback</a></td> |
74 <td>Private slot to send signal for errors during initialisation.</td> |
68 <td>Private slot handling the receipt of directory listings.</td> |
75 </tr><tr> |
69 </tr><tr> |
76 <td><a href="#FtpReply.__processCommand">__processCommand</a></td> |
70 <td><a href="#FtpReply.__doFtpCommands">__doFtpCommands</a></td> |
77 <td>Private slot to handle the end of FTP commands.</td> |
71 <td>Private slot doing the sequence of FTP commands to get the requested result.</td> |
78 </tr><tr> |
72 </tr><tr> |
79 <td><a href="#FtpReply.__processData">__processData</a></td> |
73 <td><a href="#FtpReply.__retrCallback">__retrCallback</a></td> |
80 <td>Private slot to process data from the FTP server.</td> |
74 <td>Private slot handling the reception of data.</td> |
81 </tr><tr> |
|
82 <td><a href="#FtpReply.__processListInfo">__processListInfo</a></td> |
|
83 <td>Private slot to process list information from the FTP server.</td> |
|
84 </tr><tr> |
75 </tr><tr> |
85 <td><a href="#FtpReply.__setContent">__setContent</a></td> |
76 <td><a href="#FtpReply.__setContent">__setContent</a></td> |
86 <td>Private method to finish the setup of the data.</td> |
77 <td>Private method to finish the setup of the data.</td> |
87 </tr><tr> |
78 </tr><tr> |
88 <td><a href="#FtpReply.__setListContent">__setListContent</a></td> |
79 <td><a href="#FtpReply.__setListContent">__setListContent</a></td> |
116 requested FTP URL (QUrl) |
107 requested FTP URL (QUrl) |
117 </dd><dt><i>parent</i></dt> |
108 </dd><dt><i>parent</i></dt> |
118 <dd> |
109 <dd> |
119 reference to the parent object (QObject) |
110 reference to the parent object (QObject) |
120 </dd> |
111 </dd> |
121 </dl><a NAME="FtpReply.__commandStarted" ID="FtpReply.__commandStarted"></a> |
112 </dl><a NAME="FtpReply.__cssLinkClass" ID="FtpReply.__cssLinkClass"></a> |
122 <h4>FtpReply.__commandStarted</h4> |
|
123 <b>__commandStarted</b>(<i>id</i>) |
|
124 <p> |
|
125 Private slot to handle the start of FTP commands. |
|
126 </p><dl> |
|
127 <dt><i>id</i></dt> |
|
128 <dd> |
|
129 id of the command to be processed (integer) (ignored) |
|
130 </dd> |
|
131 </dl><a NAME="FtpReply.__connectToHost" ID="FtpReply.__connectToHost"></a> |
|
132 <h4>FtpReply.__connectToHost</h4> |
|
133 <b>__connectToHost</b>(<i></i>) |
|
134 <p> |
|
135 Private slot to start the FTP process by connecting to the host. |
|
136 </p><a NAME="FtpReply.__cssLinkClass" ID="FtpReply.__cssLinkClass"></a> |
|
137 <h4>FtpReply.__cssLinkClass</h4> |
113 <h4>FtpReply.__cssLinkClass</h4> |
138 <b>__cssLinkClass</b>(<i>icon, size=32</i>) |
114 <b>__cssLinkClass</b>(<i>icon, size=32</i>) |
139 <p> |
115 <p> |
140 Private method to generate a link class with an icon. |
116 Private method to generate a link class with an icon. |
141 </p><dl> |
117 </p><dl> |
149 </dl><dl> |
125 </dl><dl> |
150 <dt>Returns:</dt> |
126 <dt>Returns:</dt> |
151 <dd> |
127 <dd> |
152 CSS class string (string) |
128 CSS class string (string) |
153 </dd> |
129 </dd> |
154 </dl><a NAME="FtpReply.__errorSignals" ID="FtpReply.__errorSignals"></a> |
130 </dl><a NAME="FtpReply.__dirCallback" ID="FtpReply.__dirCallback"></a> |
155 <h4>FtpReply.__errorSignals</h4> |
131 <h4>FtpReply.__dirCallback</h4> |
156 <b>__errorSignals</b>(<i></i>) |
132 <b>__dirCallback</b>(<i>line</i>) |
157 <p> |
133 <p> |
158 Private slot to send signal for errors during initialisation. |
134 Private slot handling the receipt of directory listings. |
159 </p><a NAME="FtpReply.__processCommand" ID="FtpReply.__processCommand"></a> |
135 </p><dl> |
160 <h4>FtpReply.__processCommand</h4> |
136 <dt><i>line</i></dt> |
161 <b>__processCommand</b>(<i>id, error</i>) |
137 <dd> |
162 <p> |
138 the received line of the directory listing (string) |
163 Private slot to handle the end of FTP commands. |
139 </dd> |
164 </p><dl> |
140 </dl><a NAME="FtpReply.__doFtpCommands" ID="FtpReply.__doFtpCommands"></a> |
165 <dt><i>id</i></dt> |
141 <h4>FtpReply.__doFtpCommands</h4> |
166 <dd> |
142 <b>__doFtpCommands</b>(<i></i>) |
167 id of the command to be processed (integer) (ignored) |
143 <p> |
168 </dd><dt><i>error</i></dt> |
144 Private slot doing the sequence of FTP commands to get the requested result. |
169 <dd> |
145 </p><a NAME="FtpReply.__retrCallback" ID="FtpReply.__retrCallback"></a> |
170 flag indicating an error condition (boolean) |
146 <h4>FtpReply.__retrCallback</h4> |
171 </dd> |
147 <b>__retrCallback</b>(<i>data</i>) |
172 </dl><a NAME="FtpReply.__processData" ID="FtpReply.__processData"></a> |
148 <p> |
173 <h4>FtpReply.__processData</h4> |
149 Private slot handling the reception of data. |
174 <b>__processData</b>(<i></i>) |
150 </p><dl> |
175 <p> |
151 <dt><i>data</i></dt> |
176 Private slot to process data from the FTP server. |
152 <dd> |
177 </p><a NAME="FtpReply.__processListInfo" ID="FtpReply.__processListInfo"></a> |
153 data received from the FTP server (bytes) |
178 <h4>FtpReply.__processListInfo</h4> |
|
179 <b>__processListInfo</b>(<i>urlInfo</i>) |
|
180 <p> |
|
181 Private slot to process list information from the FTP server. |
|
182 </p><dl> |
|
183 <dt><i>urlInfo</i></dt> |
|
184 <dd> |
|
185 reference to the information object (QUrlInfo) |
|
186 </dd> |
154 </dd> |
187 </dl><a NAME="FtpReply.__setContent" ID="FtpReply.__setContent"></a> |
155 </dl><a NAME="FtpReply.__setContent" ID="FtpReply.__setContent"></a> |
188 <h4>FtpReply.__setContent</h4> |
156 <h4>FtpReply.__setContent</h4> |
189 <b>__setContent</b>(<i></i>) |
157 <b>__setContent</b>(<i></i>) |
190 <p> |
158 <p> |