kpilot
MALConduit Class Reference
#include <mal-conduit.h>
Public Member Functions | |
virtual bool | exec () |
MALConduit (KPilotLink *o, const char *n=0L, const QStringList &a=QStringList()) | |
void | printLogMessage (QString msg) |
virtual | ~MALConduit () |
Protected Member Functions | |
void | readConfig () |
void | saveConfig () |
bool | skip () |
Detailed Description
Definition at line 38 of file mal-conduit.h.
Constructor & Destructor Documentation
MALConduit::MALConduit | ( | KPilotLink * | o, | |
const char * | n = 0L , |
|||
const QStringList & | a = QStringList() | |||
) |
Definition at line 110 of file mal-conduit.cc.
MALConduit::~MALConduit | ( | ) | [virtual] |
Definition at line 126 of file mal-conduit.cc.
Member Function Documentation
bool MALConduit::exec | ( | ) | [virtual] |
This function starts the actual processing done by the conduit.
It should return false if the processing cannot be initiated, f.ex. because some parameters were not set or a needed library is missing. This will be reported to the user. It should return true if processing is started normally. If processing starts normally, it is the _conduit's_ responsibility to eventually emit syncDone(); if processing does not start normally (ie. exec() returns false) then the environment will deal with syncDone().
Implements SyncAction.
Definition at line 183 of file mal-conduit.cc.
void MALConduit::printLogMessage | ( | QString | msg | ) |
Definition at line 307 of file mal-conduit.cc.
void MALConduit::readConfig | ( | ) | [protected] |
Read in the config from the KPilot config files and fill the member variables accordingly.
Definition at line 133 of file mal-conduit.cc.
void MALConduit::saveConfig | ( | ) | [protected] |
bool MALConduit::skip | ( | ) | [protected] |
Check if the last sync was not so long ago that according to MALConduitSettings::syncFrequency() we can skip the sync this time.
Definition at line 153 of file mal-conduit.cc.
The documentation for this class was generated from the following files: