KSync::Engine Class Reference
This class provides the engine for the syncing process. More...
#include <engine.h>
Inherits QObject, and QObject.
Signals
Public Member Functions
- Engine (QPtrList< ActionPart > &parts)
- Konnector::List konnectors ()
- void go ()
- void go (KonnectorPair *pair)
- void setResolveStrategy (int strategy)
Static Public Member Functions
Protected Slots
- void slotSynceesRead (KSync::Konnector *)
- void slotSynceeReadError (KSync::Konnector *)
- void slotSynceesWritten (KSync::Konnector *)
- void slotSynceeWriteError (KSync::Konnector *)
- void slotSynceesRead (KSync::Konnector *)
- void slotSynceeReadError (KSync::Konnector *)
- void slotSynceesWritten (KSync::Konnector *)
- void slotSynceeWriteError (KSync::Konnector *)
Protected Member Functions
- void logMessage (const QString &)
- void tryExecuteActions ()
- void executeActions ()
- void tryFinish ()
- void finish ()
- void disconnectDevice (Konnector *k)
- void logMessage (const QString &)
- void tryExecuteActions ()
- void executeActions ()
- void tryFinish ()
- void finish ()
- void disconnectDevice (Konnector *k)
Detailed Description
This class provides the engine for the syncing process.It's responsible for control of the action flow through Konnectors and ActionParts. It handles reading and writing of Syncees by the Konnectors and triggers the actions of the ActionParts in the correct sequence.
Member Function Documentation
|
Calling this function triggers the flow of actions specified for the current profile. The following sequence of actions takes place: 1) It is determined which Konnectors are selected by calling ActionPart::selectKonnectors(). No Konnectors are selected by default. 2) All selected Konnectors are read. 3) The actions represented by the ActionParts are tiggered in the sequence of the ActionPart list by executing ActionPart::executeAction(). 4) All selected Konnectors are written. |
The documentation for this class was generated from the following files:
- kitchensync/lib/engine.h
- multisynk/engine.h
- kitchensync/lib/engine.cpp
- multisynk/engine.cpp