KDE PIM / Developers / API Docs / kpilot

ConduitAction Class Reference

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

#include <plugin.h>

Inherits SyncAction.

Inherited by AbbrowserConduit, ConduitProxy, DOCConduit, KNotesAction, MALConduit, MemofileConduit, NotepadConduit, NullConduit, PerlConduit, PopMailConduit, PythonConduit, RecordConduit, SysInfoConduit, TimeConduit, and VCalConduitBase.

List of all members.

Public Member Functions

Protected Member Functions

Protected Attributes


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.


Member Function Documentation

bool ConduitAction::isFullSync  )  const [inline, protected]
 

A full sync happens for eFullSync, eCopyPCToHH and eCopyHHToPC.

It completely ignores all modified flags and walks through all records in the database.

bool ConduitAction::isFirstSync  )  const [inline, protected]
 

A first sync (i.e.

database newly fetched from the handheld ) does not check for deleted records, but understands them as added on the other side. The flag is set by the conduits when opening the local database, or the calendar/addressbook (if it is empty). This also implies a full sync.

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.


The documentation for this class was generated from the following files: