kpilot Library API Documentation

ConduitAction Class Reference

The SyncActions created by the factory should obey at least the argument test, indicating a dry run. More...

#include <plugin.h>

Inheritance diagram for ConduitAction:

ConduitProxy List of all members.

Public Member Functions

 ConduitAction (KPilotDeviceLink *, const char *name=0L, const QStringList &args=QStringList())
void setConfig (KConfig *c)

Protected Member Functions

bool isTest () const
bool isBackup () const
bool isLocal () const
bool openDatabases (const QString &dbName, bool *retrieved=0L)
 See openDatabases_ for info on the retrieved parameter.


Protected Attributes

KConfig * fConfig
PilotDatabasefDatabase
PilotDatabasefLocalDatabase

Detailed Description

The SyncActions created by the factory should obey at least the argument test, indicating a dry run.

The device link is the link where the sync should run -- don't get the pilotPort() until the sync runs!

setConfig() will be called before the sync starts so that the conduit can read/write metadata and local settings.

Definition at line 80 of file plugin.h.


Member Function Documentation

bool ConduitAction::openDatabases const QString dbName,
bool *  retrieved = 0L
[protected]
 

See openDatabases_ for info on the retrieved parameter.

In --local mode, retrieved is left unchanged.

Definition at line 251 of file plugin.cc.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.4.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sat Oct 18 02:47:15 2003 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001