Documentation/Source/eric5.Helpviewer.Sync.SyncManager.html

changeset 1680
28e57079dab5
parent 1626
a77c8ea8582c
child 1695
7b115f986d48
equal deleted inserted replaced
1679:422cc500eef9 1680:28e57079dab5
46 Class implementing the synchronization manager. 46 Class implementing the synchronization manager.
47 </p><h3>Signals</h3> 47 </p><h3>Signals</h3>
48 <dl> 48 <dl>
49 <dt>syncError(message)</dt> 49 <dt>syncError(message)</dt>
50 <dd> 50 <dd>
51 emitted for a general error with the error message (string) 51 emitted for a general error with the error
52 message (string)
53 </dd><dt>syncMessage(message)</dt>
54 <dd>
55 emitted to give status info about the sync
56 process (string)
52 </dd> 57 </dd>
53 </dl> 58 </dl>
54 <h3>Derived from</h3> 59 <h3>Derived from</h3>
55 QObject 60 QObject
56 <h3>Class Attributes</h3> 61 <h3>Class Attributes</h3>
80 <td>Private slot to synchronize the history.</td> 85 <td>Private slot to synchronize the history.</td>
81 </tr><tr> 86 </tr><tr>
82 <td><a href="#SyncManager.__syncPasswords">__syncPasswords</a></td> 87 <td><a href="#SyncManager.__syncPasswords">__syncPasswords</a></td>
83 <td>Private slot to synchronize the passwords.</td> 88 <td>Private slot to synchronize the passwords.</td>
84 </tr><tr> 89 </tr><tr>
90 <td><a href="#SyncManager.__syncStatus">__syncStatus</a></td>
91 <td>Private slot to handle a status update of a synchronization event.</td>
92 </tr><tr>
85 <td><a href="#SyncManager.__syncUserAgents">__syncUserAgents</a></td> 93 <td><a href="#SyncManager.__syncUserAgents">__syncUserAgents</a></td>
86 <td>Private slot to synchronize the user agent settings.</td> 94 <td>Private slot to synchronize the user agent settings.</td>
87 </tr><tr> 95 </tr><tr>
88 <td><a href="#SyncManager.close">close</a></td> 96 <td><a href="#SyncManager.close">close</a></td>
89 <td>Public slot to shut down the synchronization manager.</td> 97 <td>Public slot to shut down the synchronization manager.</td>
155 </p><a NAME="SyncManager.__syncPasswords" ID="SyncManager.__syncPasswords"></a> 163 </p><a NAME="SyncManager.__syncPasswords" ID="SyncManager.__syncPasswords"></a>
156 <h4>SyncManager.__syncPasswords</h4> 164 <h4>SyncManager.__syncPasswords</h4>
157 <b>__syncPasswords</b>(<i></i>) 165 <b>__syncPasswords</b>(<i></i>)
158 <p> 166 <p>
159 Private slot to synchronize the passwords. 167 Private slot to synchronize the passwords.
160 </p><a NAME="SyncManager.__syncUserAgents" ID="SyncManager.__syncUserAgents"></a> 168 </p><a NAME="SyncManager.__syncStatus" ID="SyncManager.__syncStatus"></a>
169 <h4>SyncManager.__syncStatus</h4>
170 <b>__syncStatus</b>(<i>type_, status, message</i>)
171 <p>
172 Private slot to handle a status update of a synchronization event.
173 </p><dl>
174 <dt><i>type_</i></dt>
175 <dd>
176 type of the synchronization event (string one
177 of "bookmarks", "history", "passwords" or "useragents")
178 </dd><dt><i>status</i></dt>
179 <dd>
180 flag indicating success (boolean)
181 </dd><dt><i>message</i></dt>
182 <dd>
183 status message for the event (string)
184 </dd>
185 </dl><a NAME="SyncManager.__syncUserAgents" ID="SyncManager.__syncUserAgents"></a>
161 <h4>SyncManager.__syncUserAgents</h4> 186 <h4>SyncManager.__syncUserAgents</h4>
162 <b>__syncUserAgents</b>(<i></i>) 187 <b>__syncUserAgents</b>(<i></i>)
163 <p> 188 <p>
164 Private slot to synchronize the user agent settings. 189 Private slot to synchronize the user agent settings.
165 </p><a NAME="SyncManager.close" ID="SyncManager.close"></a> 190 </p><a NAME="SyncManager.close" ID="SyncManager.close"></a>
177 <dd> 202 <dd>
178 reference to the sync handler object (SyncHandler) 203 reference to the sync handler object (SyncHandler)
179 </dd> 204 </dd>
180 </dl><a NAME="SyncManager.loadSettings" ID="SyncManager.loadSettings"></a> 205 </dl><a NAME="SyncManager.loadSettings" ID="SyncManager.loadSettings"></a>
181 <h4>SyncManager.loadSettings</h4> 206 <h4>SyncManager.loadSettings</h4>
182 <b>loadSettings</b>(<i></i>) 207 <b>loadSettings</b>(<i>forceUpload=False</i>)
183 <p> 208 <p>
184 Public method to load the settings. 209 Public method to load the settings.
185 </p><a NAME="SyncManager.showSyncDialog" ID="SyncManager.showSyncDialog"></a> 210 </p><dl>
211 <dt><i>forceUpload=</i></dt>
212 <dd>
213 flag indicating a forced upload of the files (boolean)
214 </dd>
215 </dl><a NAME="SyncManager.showSyncDialog" ID="SyncManager.showSyncDialog"></a>
186 <h4>SyncManager.showSyncDialog</h4> 216 <h4>SyncManager.showSyncDialog</h4>
187 <b>showSyncDialog</b>(<i></i>) 217 <b>showSyncDialog</b>(<i></i>)
188 <p> 218 <p>
189 Public method to show the synchronization dialog. 219 Public method to show the synchronization dialog.
190 </p><a NAME="SyncManager.syncEnabled" ID="SyncManager.syncEnabled"></a> 220 </p><a NAME="SyncManager.syncEnabled" ID="SyncManager.syncEnabled"></a>

eric ide

mercurial