kpilot
MALConduit Class Reference
#include <mal-conduit.h>

Detailed Description
Definition at line 38 of file mal-conduit.h.
Public Member Functions | |
| virtual bool | exec () |
| MALConduit (KPilotLink *link, const QVariantList &args=QVariantList()) | |
| void | printLogMessage (QString msg) |
| virtual | ~MALConduit () |
Protected Member Functions | |
| void | readConfig () |
| void | saveConfig () |
| bool | skip () |
Constructor & Destructor Documentation
| MALConduit::MALConduit | ( | KPilotLink * | link, | |
| const QVariantList & | args = QVariantList() | |||
| ) |
Definition at line 110 of file mal-conduit.cc.
| MALConduit::~MALConduit | ( | ) | [virtual] |
Definition at line 125 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 182 of file mal-conduit.cc.
| void MALConduit::printLogMessage | ( | QString | msg | ) |
Definition at line 298 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 132 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 152 of file mal-conduit.cc.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference