50 <dd> |
50 <dd> |
51 emitted for a general error with the error message (string) |
51 emitted for a general error with the error message (string) |
52 </dd><dt>syncFinished(type_, done, download)</dt> |
52 </dd><dt>syncFinished(type_, done, download)</dt> |
53 <dd> |
53 <dd> |
54 emitted after a synchronization has |
54 emitted after a synchronization has |
55 finished (string one of "bookmarks", "history", "passwords" or "useragents", |
55 finished (string one of "bookmarks", "history", "passwords", "useragents" or |
56 boolean, boolean) |
56 "speeddial", boolean, boolean) |
57 </dd><dt>syncMessage(message)</dt> |
57 </dd><dt>syncMessage(message)</dt> |
58 <dd> |
58 <dd> |
59 emitted to send a message about synchronization (string) |
59 emitted to send a message about synchronization (string) |
60 </dd><dt>syncStatus(type_, done, message)</dt> |
60 </dd><dt>syncStatus(type_, message)</dt> |
61 <dd> |
61 <dd> |
62 emitted to indicate the synchronization |
62 emitted to indicate the synchronization |
63 status (string one of "bookmarks", "history", "passwords" or "useragents", |
63 status (string one of "bookmarks", "history", "passwords", "useragents" or |
64 boolean, string) |
64 "speeddial", string) |
65 </dd> |
65 </dd> |
66 </dl> |
66 </dl> |
67 <h3>Derived from</h3> |
67 <h3>Derived from</h3> |
68 SyncHandler |
68 SyncHandler |
69 <h3>Class Attributes</h3> |
69 <h3>Class Attributes</h3> |
108 <td>Public method to synchronize the history.</td> |
108 <td>Public method to synchronize the history.</td> |
109 </tr><tr> |
109 </tr><tr> |
110 <td><a href="#DirectorySyncHandler.syncPasswords">syncPasswords</a></td> |
110 <td><a href="#DirectorySyncHandler.syncPasswords">syncPasswords</a></td> |
111 <td>Public method to synchronize the passwords.</td> |
111 <td>Public method to synchronize the passwords.</td> |
112 </tr><tr> |
112 </tr><tr> |
|
113 <td><a href="#DirectorySyncHandler.syncSpeedDial">syncSpeedDial</a></td> |
|
114 <td>Public method to synchronize the speed dial data.</td> |
|
115 </tr><tr> |
113 <td><a href="#DirectorySyncHandler.syncUserAgents">syncUserAgents</a></td> |
116 <td><a href="#DirectorySyncHandler.syncUserAgents">syncUserAgents</a></td> |
114 <td>Public method to synchronize the user agents.</td> |
117 <td>Public method to synchronize the user agents.</td> |
115 </tr> |
118 </tr> |
116 </table> |
119 </table> |
117 <h3>Static Methods</h3> |
120 <h3>Static Methods</h3> |
128 <dd> |
131 <dd> |
129 reference to the parent object (QObject) |
132 reference to the parent object (QObject) |
130 </dd> |
133 </dd> |
131 </dl><a NAME="DirectorySyncHandler.__downloadFile" ID="DirectorySyncHandler.__downloadFile"></a> |
134 </dl><a NAME="DirectorySyncHandler.__downloadFile" ID="DirectorySyncHandler.__downloadFile"></a> |
132 <h4>DirectorySyncHandler.__downloadFile</h4> |
135 <h4>DirectorySyncHandler.__downloadFile</h4> |
133 <b>__downloadFile</b>(<i>type_, fileName</i>) |
136 <b>__downloadFile</b>(<i>type_, fileName, timestamp</i>) |
134 <p> |
137 <p> |
135 Private method to downlaod the given file. |
138 Private method to downlaod the given file. |
136 </p><dl> |
139 </p><dl> |
137 <dt><i>type_</i></dt> |
140 <dt><i>type_</i></dt> |
138 <dd> |
141 <dd> |
139 type of the synchronization event (string one |
142 type of the synchronization event (string one |
140 of "bookmarks", "history", "passwords" or "useragents") |
143 of "bookmarks", "history", "passwords", "useragents" or "speeddial") |
141 </dd><dt><i>fileName</i></dt> |
144 </dd><dt><i>fileName</i></dt> |
142 <dd> |
145 <dd> |
143 name of the file to be downloaded (string) |
146 name of the file to be downloaded (string) |
|
147 </dd><dt><i>timestamp</i></dt> |
|
148 <dd> |
|
149 time stamp in seconds of the file to be downloaded (int) |
144 </dd> |
150 </dd> |
145 </dl><a NAME="DirectorySyncHandler.__initialSync" ID="DirectorySyncHandler.__initialSync"></a> |
151 </dl><a NAME="DirectorySyncHandler.__initialSync" ID="DirectorySyncHandler.__initialSync"></a> |
146 <h4>DirectorySyncHandler.__initialSync</h4> |
152 <h4>DirectorySyncHandler.__initialSync</h4> |
147 <b>__initialSync</b>(<i></i>) |
153 <b>__initialSync</b>(<i></i>) |
148 <p> |
154 <p> |
154 Private method to do the initial synchronization of the given file. |
160 Private method to do the initial synchronization of the given file. |
155 </p><dl> |
161 </p><dl> |
156 <dt><i>type_</i></dt> |
162 <dt><i>type_</i></dt> |
157 <dd> |
163 <dd> |
158 type of the synchronization event (string one |
164 type of the synchronization event (string one |
159 of "bookmarks", "history", "passwords" or "useragents") |
165 of "bookmarks", "history", "passwords", "useragents" or "speeddial") |
160 </dd><dt><i>fileName</i></dt> |
166 </dd><dt><i>fileName</i></dt> |
161 <dd> |
167 <dd> |
162 name of the file to be synchronized (string) |
168 name of the file to be synchronized (string) |
163 </dd> |
169 </dd> |
164 </dl><a NAME="DirectorySyncHandler.__syncFile" ID="DirectorySyncHandler.__syncFile"></a> |
170 </dl><a NAME="DirectorySyncHandler.__syncFile" ID="DirectorySyncHandler.__syncFile"></a> |
168 Private method to synchronize the given file. |
174 Private method to synchronize the given file. |
169 </p><dl> |
175 </p><dl> |
170 <dt><i>type_</i></dt> |
176 <dt><i>type_</i></dt> |
171 <dd> |
177 <dd> |
172 type of the synchronization event (string one |
178 type of the synchronization event (string one |
173 of "bookmarks", "history", "passwords" or "useragents") |
179 of "bookmarks", "history", "passwords", "useragents" or "speeddial") |
174 </dd><dt><i>fileName</i></dt> |
180 </dd><dt><i>fileName</i></dt> |
175 <dd> |
181 <dd> |
176 name of the file to be synchronized (string) |
182 name of the file to be synchronized (string) |
177 </dd> |
183 </dd> |
178 </dl><a NAME="DirectorySyncHandler.__uploadFile" ID="DirectorySyncHandler.__uploadFile"></a> |
184 </dl><a NAME="DirectorySyncHandler.__uploadFile" ID="DirectorySyncHandler.__uploadFile"></a> |
182 Private method to upload the given file. |
188 Private method to upload the given file. |
183 </p><dl> |
189 </p><dl> |
184 <dt><i>type_</i></dt> |
190 <dt><i>type_</i></dt> |
185 <dd> |
191 <dd> |
186 type of the synchronization event (string one |
192 type of the synchronization event (string one |
187 of "bookmarks", "history", "passwords" or "useragents") |
193 of "bookmarks", "history", "passwords", "useragents" or "speeddial") |
188 </dd><dt><i>fileName</i></dt> |
194 </dd><dt><i>fileName</i></dt> |
189 <dd> |
195 <dd> |
190 name of the file to be uploaded (string) |
196 name of the file to be uploaded (string) |
191 </dd> |
197 </dd> |
192 </dl><a NAME="DirectorySyncHandler.initialLoadAndCheck" ID="DirectorySyncHandler.initialLoadAndCheck"></a> |
198 </dl><a NAME="DirectorySyncHandler.initialLoadAndCheck" ID="DirectorySyncHandler.initialLoadAndCheck"></a> |
217 </p><a NAME="DirectorySyncHandler.syncPasswords" ID="DirectorySyncHandler.syncPasswords"></a> |
223 </p><a NAME="DirectorySyncHandler.syncPasswords" ID="DirectorySyncHandler.syncPasswords"></a> |
218 <h4>DirectorySyncHandler.syncPasswords</h4> |
224 <h4>DirectorySyncHandler.syncPasswords</h4> |
219 <b>syncPasswords</b>(<i></i>) |
225 <b>syncPasswords</b>(<i></i>) |
220 <p> |
226 <p> |
221 Public method to synchronize the passwords. |
227 Public method to synchronize the passwords. |
|
228 </p><a NAME="DirectorySyncHandler.syncSpeedDial" ID="DirectorySyncHandler.syncSpeedDial"></a> |
|
229 <h4>DirectorySyncHandler.syncSpeedDial</h4> |
|
230 <b>syncSpeedDial</b>(<i></i>) |
|
231 <p> |
|
232 Public method to synchronize the speed dial data. |
222 </p><a NAME="DirectorySyncHandler.syncUserAgents" ID="DirectorySyncHandler.syncUserAgents"></a> |
233 </p><a NAME="DirectorySyncHandler.syncUserAgents" ID="DirectorySyncHandler.syncUserAgents"></a> |
223 <h4>DirectorySyncHandler.syncUserAgents</h4> |
234 <h4>DirectorySyncHandler.syncUserAgents</h4> |
224 <b>syncUserAgents</b>(<i></i>) |
235 <b>syncUserAgents</b>(<i></i>) |
225 <p> |
236 <p> |
226 Public method to synchronize the user agents. |
237 Public method to synchronize the user agents. |