kpilot/lib
ConduitProxy Class Reference
#include <plugin.h>
Inheritance diagram for ConduitProxy:

Detailed Description
The ConduitProxy action delays loading the plugin for a conduit until the conduit actually executes; the proxy then loads the file, creates a SyncAction for the conduit and runs that.Once the conduit has finished, the proxy unloads everything and emits syncDone().
Definition at line 367 of file plugin.h.
Public Member Functions | |
ConduitProxy (KPilotLink *, const QString &desktopName, const SyncAction::SyncMode &m) | |
Protected Slots | |
void | execDone (SyncAction *) |
Protected Member Functions | |
virtual bool | exec () |
Protected Attributes | |
QString | fDesktopName |
QString | fLibraryName |
ConduitAction * | fConduit |
Member Function Documentation
|
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. |
The documentation for this class was generated from the following files: