kpilot/kpilot
PilotDaemon Class Reference
Inheritance diagram for PilotDaemon:

Detailed Description
Definition at line 127 of file pilotDaemon.h.
Public Types | |
enum | DaemonStatus { HOTSYNC_START, HOTSYNC_END, FILE_INSTALL_REQ, ERROR, READY, INIT, NOT_LISTENING } |
Public Slots | |
virtual ASYNC | requestSync (int) |
Public Member Functions | |
PilotDaemon () | |
~PilotDaemon () | |
DaemonStatus | status () const |
virtual QString | statusString () |
virtual QString | shortStatusString () |
void | showTray () |
virtual void | addInstallFiles (const QStringList &) |
virtual ASYNC | requestSyncType (QString) |
virtual ASYNC | requestRegularSyncNext () |
virtual int | nextSyncType () const |
virtual ASYNC | requestSyncOptions (bool, bool) |
virtual ASYNC | quitNow () |
virtual ASYNC | reloadSettings () |
virtual ASYNC | setTempDevice (QString d) |
virtual void | stopListening () |
virtual void | startListening () |
virtual bool | isListening () |
virtual QDateTime | lastSyncDate () |
virtual QStringList | configuredConduitList () |
virtual QString | logFileName () |
virtual QString | userName () |
virtual QString | pilotDevice () |
virtual bool | killDaemonOnExit () |
Protected Types | |
enum | postSyncActions { None = 0, ReloadSettings = 1, Quit = 2 } |
Protected Slots | |
void | startHotSync (KPilotLink *lnk) |
void | endHotSync () |
void | logMessage (const QString &) |
void | logError (const QString &) |
void | logProgress (const QString &, int) |
void | slotFilesChanged () |
void | slotRunKPilot () |
void | slotRunConfig () |
Protected Member Functions | |
LoggerDCOP_stub & | getLogger () |
LoggerDCOP_stub & | getFileLogger () |
KPilotDCOP_stub & | getKPilot () |
Protected Attributes | |
DaemonStatus | fDaemonStatus |
int | fPostSyncAction |
LogFile * | fLogFile |
bool | fIsListening |
Friends | |
class | PilotDaemonTray |
Member Function Documentation
|
Some other useful functionality.
Implements PilotDaemonDCOP. Definition at line 331 of file pilotDaemon.cc. |
|
Provide access to KPilot's DCOP interface through a stub.
Definition at line 264 of file pilotDaemon.h. |
|
Functions reporting same status data, e.g. for the kontact plugin. Implements PilotDaemonDCOP. Definition at line 715 of file pilotDaemon.cc. |
|
Query what type is set most recently.
Implements PilotDaemonDCOP. Definition at line 707 of file pilotDaemon.cc. |
|
Functions for the KPilot UI, indicating what the daemon should do.
Implements PilotDaemonDCOP. Definition at line 613 of file pilotDaemon.cc. |
|
Shortcut for using requestSync(1).
Implements PilotDaemonDCOP. Definition at line 637 of file pilotDaemon.cc. |
|
Start a HotSync. What kind of HotSync is determined by the int parameter (use the enum in kpilot.kcfg, or better yet, use requestSyncType and pass the name). Using a value of 0 (zero, which isn't a legal mode for sync actions) uses the configuration file default. Implements PilotDaemonDCOP. Definition at line 643 of file pilotDaemon.cc. |
|
Set the mix-ins (see SyncAction::SyncMode for details).
Implements PilotDaemonDCOP. Definition at line 694 of file pilotDaemon.cc. |
|
Request a particular kind of sync next; pass in the name of a sync type instead.
Implements PilotDaemonDCOP. Definition at line 674 of file pilotDaemon.cc. |
|
Display the daemon's system tray icon (if there is one, depending on the DockDaemon setting in the config file).
Definition at line 384 of file pilotDaemon.cc. |
|
Called after a file has been installed to notify any observers, like KPilot, that files have been installed. [Here that means: copied to the pending_install directory and thus *waiting* for installation on the Palm] Definition at line 1198 of file pilotDaemon.cc. |
|
Run conduit configuration using "kpilot -c".
Definition at line 1231 of file pilotDaemon.cc. |
|
Start up KPilot.
Definition at line 1203 of file pilotDaemon.cc. |
|
Functions requesting the status of the daemon.
Implements PilotDaemonDCOP. Definition at line 531 of file pilotDaemon.cc. |
The documentation for this class was generated from the following files: