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

changeset 1626
a77c8ea8582c
child 1680
28e57079dab5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric5.Helpviewer.Sync.SyncManager.html	Fri Feb 17 19:39:37 2012 +0100
@@ -0,0 +1,203 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
+'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
+<html><head>
+<title>eric5.Helpviewer.Sync.SyncManager</title>
+<style>
+body {
+    background: #EDECE6;
+    margin: 0em 1em 10em 1em;
+    color: black;
+}
+
+h1 { color: white; background: #85774A; }
+h2 { color: white; background: #85774A; }
+h3 { color: white; background: #9D936E; }
+h4 { color: white; background: #9D936E; }
+    
+a { color: #BA6D36; }
+
+</style>
+</head>
+<body><a NAME="top" ID="top"></a>
+<h1>eric5.Helpviewer.Sync.SyncManager</h1>
+<p>
+Module implementing the synchronization manager class.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr>
+<td><a href="#SyncManager">SyncManager</a></td>
+<td>Class implementing the synchronization manager.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr /><hr />
+<a NAME="SyncManager" ID="SyncManager"></a>
+<h2>SyncManager</h2>
+<p>
+    Class implementing the synchronization manager.
+</p><h3>Signals</h3>
+<dl>
+<dt>syncError(message)</dt>
+<dd>
+emitted for a general error with the error message (string)
+</dd>
+</dl>
+<h3>Derived from</h3>
+QObject
+<h3>Class Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Class Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Methods</h3>
+<table>
+<tr>
+<td><a href="#SyncManager.__init__">SyncManager</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#SyncManager.__syncBookmarks">__syncBookmarks</a></td>
+<td>Private slot to synchronize the bookmarks.</td>
+</tr><tr>
+<td><a href="#SyncManager.__syncError">__syncError</a></td>
+<td>Private slot to handle general synchronization issues.</td>
+</tr><tr>
+<td><a href="#SyncManager.__syncFinished">__syncFinished</a></td>
+<td>Private slot to handle a finished synchronization event.</td>
+</tr><tr>
+<td><a href="#SyncManager.__syncHistory">__syncHistory</a></td>
+<td>Private slot to synchronize the history.</td>
+</tr><tr>
+<td><a href="#SyncManager.__syncPasswords">__syncPasswords</a></td>
+<td>Private slot to synchronize the passwords.</td>
+</tr><tr>
+<td><a href="#SyncManager.__syncUserAgents">__syncUserAgents</a></td>
+<td>Private slot to synchronize the user agent settings.</td>
+</tr><tr>
+<td><a href="#SyncManager.close">close</a></td>
+<td>Public slot to shut down the synchronization manager.</td>
+</tr><tr>
+<td><a href="#SyncManager.handler">handler</a></td>
+<td>Public method to get a reference to the sync handler object.</td>
+</tr><tr>
+<td><a href="#SyncManager.loadSettings">loadSettings</a></td>
+<td>Public method to load the settings.</td>
+</tr><tr>
+<td><a href="#SyncManager.showSyncDialog">showSyncDialog</a></td>
+<td>Public method to show the synchronization dialog.</td>
+</tr><tr>
+<td><a href="#SyncManager.syncEnabled">syncEnabled</a></td>
+<td>Public method to check, if synchronization is enabled.</td>
+</tr>
+</table>
+<h3>Static Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<a NAME="SyncManager.__init__" ID="SyncManager.__init__"></a>
+<h4>SyncManager (Constructor)</h4>
+<b>SyncManager</b>(<i>parent=None</i>)
+<p>
+        Constructor
+</p><dl>
+<dt><i>parent</i></dt>
+<dd>
+reference to the parent object (QObject)
+</dd>
+</dl><a NAME="SyncManager.__syncBookmarks" ID="SyncManager.__syncBookmarks"></a>
+<h4>SyncManager.__syncBookmarks</h4>
+<b>__syncBookmarks</b>(<i></i>)
+<p>
+        Private slot to synchronize the bookmarks.
+</p><a NAME="SyncManager.__syncError" ID="SyncManager.__syncError"></a>
+<h4>SyncManager.__syncError</h4>
+<b>__syncError</b>(<i>message</i>)
+<p>
+        Private slot to handle general synchronization issues.
+</p><dl>
+<dt><i>message</i></dt>
+<dd>
+error message (string)
+</dd>
+</dl><a NAME="SyncManager.__syncFinished" ID="SyncManager.__syncFinished"></a>
+<h4>SyncManager.__syncFinished</h4>
+<b>__syncFinished</b>(<i>type_, status, download</i>)
+<p>
+        Private slot to handle a finished synchronization event.
+</p><dl>
+<dt><i>type_</i></dt>
+<dd>
+type of the synchronization event (string one
+            of "bookmarks", "history", "passwords" or "useragents")
+</dd><dt><i>status</i></dt>
+<dd>
+flag indicating success (boolean)
+</dd><dt><i>download</i></dt>
+<dd>
+flag indicating a download of a file (boolean)
+</dd>
+</dl><a NAME="SyncManager.__syncHistory" ID="SyncManager.__syncHistory"></a>
+<h4>SyncManager.__syncHistory</h4>
+<b>__syncHistory</b>(<i></i>)
+<p>
+        Private slot to synchronize the history.
+</p><a NAME="SyncManager.__syncPasswords" ID="SyncManager.__syncPasswords"></a>
+<h4>SyncManager.__syncPasswords</h4>
+<b>__syncPasswords</b>(<i></i>)
+<p>
+        Private slot to synchronize the passwords.
+</p><a NAME="SyncManager.__syncUserAgents" ID="SyncManager.__syncUserAgents"></a>
+<h4>SyncManager.__syncUserAgents</h4>
+<b>__syncUserAgents</b>(<i></i>)
+<p>
+        Private slot to synchronize the user agent settings.
+</p><a NAME="SyncManager.close" ID="SyncManager.close"></a>
+<h4>SyncManager.close</h4>
+<b>close</b>(<i></i>)
+<p>
+        Public slot to shut down the synchronization manager.
+</p><a NAME="SyncManager.handler" ID="SyncManager.handler"></a>
+<h4>SyncManager.handler</h4>
+<b>handler</b>(<i></i>)
+<p>
+        Public method to get a reference to the sync handler object.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+reference to the sync handler object (SyncHandler)
+</dd>
+</dl><a NAME="SyncManager.loadSettings" ID="SyncManager.loadSettings"></a>
+<h4>SyncManager.loadSettings</h4>
+<b>loadSettings</b>(<i></i>)
+<p>
+        Public method to load the settings.
+</p><a NAME="SyncManager.showSyncDialog" ID="SyncManager.showSyncDialog"></a>
+<h4>SyncManager.showSyncDialog</h4>
+<b>showSyncDialog</b>(<i></i>)
+<p>
+        Public method to show the synchronization dialog.
+</p><a NAME="SyncManager.syncEnabled" ID="SyncManager.syncEnabled"></a>
+<h4>SyncManager.syncEnabled</h4>
+<b>syncEnabled</b>(<i></i>)
+<p>
+        Public method to check, if synchronization is enabled.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating enabled synchronization
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial