src/eric7/Documentation/Source/eric7.WebBrowser.Sync.SyncManager.html

branch
eric7
changeset 10436
f6881d10e995
parent 9209
b99e7fd55fd3
child 10479
856476537696
equal deleted inserted replaced
10435:c712d09cc839 10436:f6881d10e995
41 <h3>Signals</h3> 41 <h3>Signals</h3>
42 <dl> 42 <dl>
43 43
44 <dt>syncError(message)</dt> 44 <dt>syncError(message)</dt>
45 <dd> 45 <dd>
46 emitted for a general error with the error 46 emitted for a general error with the error message
47 message (string)
48 </dd> 47 </dd>
49 <dt>syncFinished(type_, done, download)</dt> 48 <dt>syncFinished(type_, done, download)</dt>
50 <dd> 49 <dd>
51 emitted after a 50 emitted after a synchronization
52 synchronization has finished (string one of "bookmarks", "history", 51 has finished
53 "passwords", "useragents" or "speeddial", boolean, boolean)
54 </dd> 52 </dd>
55 <dt>syncMessage(message)</dt> 53 <dt>syncMessage(message)</dt>
56 <dd> 54 <dd>
57 emitted to give status info about the sync 55 emitted to give status info about the sync process
58 process (string)
59 </dd> 56 </dd>
60 <dt>syncStatus(type_, message)</dt> 57 <dt>syncStatus(type_, message)</dt>
61 <dd> 58 <dd>
62 emitted to indicate the synchronization 59 emitted to indicate the synchronization status
63 status (string one of "bookmarks", "history", "passwords",
64 "useragents" or "speeddial", string)
65 </dd> 60 </dd>
66 </dl> 61 </dl>
67 <h3>Derived from</h3> 62 <h3>Derived from</h3>
68 QObject 63 QObject
69 <h3>Class Attributes</h3> 64 <h3>Class Attributes</h3>
150 <p> 145 <p>
151 Constructor 146 Constructor
152 </p> 147 </p>
153 <dl> 148 <dl>
154 149
155 <dt><i>parent</i></dt> 150 <dt><i>parent</i> (QObject)</dt>
156 <dd> 151 <dd>
157 reference to the parent object (QObject) 152 reference to the parent object
158 </dd> 153 </dd>
159 </dl> 154 </dl>
160 <a NAME="SyncManager.__syncBookmarks" ID="SyncManager.__syncBookmarks"></a> 155 <a NAME="SyncManager.__syncBookmarks" ID="SyncManager.__syncBookmarks"></a>
161 <h4>SyncManager.__syncBookmarks</h4> 156 <h4>SyncManager.__syncBookmarks</h4>
162 <b>__syncBookmarks</b>(<i></i>) 157 <b>__syncBookmarks</b>(<i></i>)
171 <p> 166 <p>
172 Private slot to handle general synchronization issues. 167 Private slot to handle general synchronization issues.
173 </p> 168 </p>
174 <dl> 169 <dl>
175 170
176 <dt><i>message</i></dt> 171 <dt><i>message</i> (str)</dt>
177 <dd> 172 <dd>
178 error message (string) 173 error message
179 </dd> 174 </dd>
180 </dl> 175 </dl>
181 <a NAME="SyncManager.__syncFinished" ID="SyncManager.__syncFinished"></a> 176 <a NAME="SyncManager.__syncFinished" ID="SyncManager.__syncFinished"></a>
182 <h4>SyncManager.__syncFinished</h4> 177 <h4>SyncManager.__syncFinished</h4>
183 <b>__syncFinished</b>(<i>type_, status, download</i>) 178 <b>__syncFinished</b>(<i>type_, status, download</i>)
185 <p> 180 <p>
186 Private slot to handle a finished synchronization event. 181 Private slot to handle a finished synchronization event.
187 </p> 182 </p>
188 <dl> 183 <dl>
189 184
190 <dt><i>type_</i></dt> 185 <dt><i>type_</i> (str)</dt>
191 <dd> 186 <dd>
192 type of the synchronization event (string one 187 type of the synchronization event (one of "bookmarks",
193 of "bookmarks", "history", "passwords", "useragents" or 188 "history", "passwords", "useragents" or "speeddial")
194 "speeddial") 189 </dd>
195 </dd> 190 <dt><i>status</i> (bool)</dt>
196 <dt><i>status</i></dt> 191 <dd>
197 <dd> 192 flag indicating success
198 flag indicating success (boolean) 193 </dd>
199 </dd> 194 <dt><i>download</i> (bool)</dt>
200 <dt><i>download</i></dt> 195 <dd>
201 <dd> 196 flag indicating a download of a file
202 flag indicating a download of a file (boolean)
203 </dd> 197 </dd>
204 </dl> 198 </dl>
205 <a NAME="SyncManager.__syncHistory" ID="SyncManager.__syncHistory"></a> 199 <a NAME="SyncManager.__syncHistory" ID="SyncManager.__syncHistory"></a>
206 <h4>SyncManager.__syncHistory</h4> 200 <h4>SyncManager.__syncHistory</h4>
207 <b>__syncHistory</b>(<i></i>) 201 <b>__syncHistory</b>(<i></i>)
230 <p> 224 <p>
231 Private slot to handle a status update of a synchronization event. 225 Private slot to handle a status update of a synchronization event.
232 </p> 226 </p>
233 <dl> 227 <dl>
234 228
235 <dt><i>type_</i></dt> 229 <dt><i>type_</i> (str)</dt>
236 <dd> 230 <dd>
237 type of the synchronization event (string one 231 type of the synchronization event (one of "bookmarks",
238 of "bookmarks", "history", "passwords", "useragents" or 232 "history", "passwords", "useragents" or "speeddial")
239 "speeddial") 233 </dd>
240 </dd> 234 <dt><i>message</i> (str)</dt>
241 <dt><i>message</i></dt> 235 <dd>
242 <dd> 236 status message for the event
243 status message for the event (string)
244 </dd> 237 </dd>
245 </dl> 238 </dl>
246 <a NAME="SyncManager.__syncUserAgents" ID="SyncManager.__syncUserAgents"></a> 239 <a NAME="SyncManager.__syncUserAgents" ID="SyncManager.__syncUserAgents"></a>
247 <h4>SyncManager.__syncUserAgents</h4> 240 <h4>SyncManager.__syncUserAgents</h4>
248 <b>__syncUserAgents</b>(<i></i>) 241 <b>__syncUserAgents</b>(<i></i>)
265 Public method to get a reference to the sync handler object. 258 Public method to get a reference to the sync handler object.
266 </p> 259 </p>
267 <dl> 260 <dl>
268 <dt>Return:</dt> 261 <dt>Return:</dt>
269 <dd> 262 <dd>
270 reference to the sync handler object (SyncHandler) 263 reference to the sync handler object
264 </dd>
265 </dl>
266 <dl>
267 <dt>Return Type:</dt>
268 <dd>
269 SyncHandler
271 </dd> 270 </dd>
272 </dl> 271 </dl>
273 <a NAME="SyncManager.loadSettings" ID="SyncManager.loadSettings"></a> 272 <a NAME="SyncManager.loadSettings" ID="SyncManager.loadSettings"></a>
274 <h4>SyncManager.loadSettings</h4> 273 <h4>SyncManager.loadSettings</h4>
275 <b>loadSettings</b>(<i>forceUpload=False</i>) 274 <b>loadSettings</b>(<i>forceUpload=False</i>)
277 <p> 276 <p>
278 Public method to load the settings. 277 Public method to load the settings.
279 </p> 278 </p>
280 <dl> 279 <dl>
281 280
282 <dt><i>forceUpload</i></dt> 281 <dt><i>forceUpload</i> (bool)</dt>
283 <dd> 282 <dd>
284 flag indicating a forced upload of the files 283 flag indicating a forced upload of the files
285 (boolean)
286 </dd> 284 </dd>
287 </dl> 285 </dl>
288 <a NAME="SyncManager.showSyncDialog" ID="SyncManager.showSyncDialog"></a> 286 <a NAME="SyncManager.showSyncDialog" ID="SyncManager.showSyncDialog"></a>
289 <h4>SyncManager.showSyncDialog</h4> 287 <h4>SyncManager.showSyncDialog</h4>
290 <b>showSyncDialog</b>(<i></i>) 288 <b>showSyncDialog</b>(<i></i>)
303 <dt>Return:</dt> 301 <dt>Return:</dt>
304 <dd> 302 <dd>
305 flag indicating enabled synchronization 303 flag indicating enabled synchronization
306 </dd> 304 </dd>
307 </dl> 305 </dl>
306 <dl>
307 <dt>Return Type:</dt>
308 <dd>
309 bool
310 </dd>
311 </dl>
308 <div align="right"><a href="#top">Up</a></div> 312 <div align="right"><a href="#top">Up</a></div>
309 <hr /> 313 <hr />
310 </body></html> 314 </body></html>

eric ide

mercurial