kpilot

KroupwareSync Class Reference

#include <kroupware.h>

Inheritance diagram for KroupwareSync:

List of all members.


Public Types

enum  KroupwareParts { Cal = 1, Todo = 2, Notes = 4, Address = 8 }

Public Member Functions

 KroupwareSync (bool pre, int parts, KPilotDeviceLink *p)

Static Public Member Functions

static bool startKMail (QString *errormessage)

Protected Member Functions

virtual bool exec ()
void postSync ()
void preSync ()

Protected Attributes

int fParts
bool fPre

Detailed Description

Definition at line 37 of file kroupware.h.


Member Enumeration Documentation

Enumerator:
Cal 
Todo 
Notes 
Address 

Definition at line 51 of file kroupware.h.


Constructor & Destructor Documentation

KroupwareSync::KroupwareSync ( bool  pre,
int  parts,
KPilotDeviceLink p 
)

Definition at line 43 of file kroupware.cc.


Member Function Documentation

bool KroupwareSync::exec (  )  [protected, 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 51 of file kroupware.cc.

void KroupwareSync::postSync (  )  [protected]

Definition at line 296 of file kroupware.cc.

void KroupwareSync::preSync (  )  [protected]

Definition at line 282 of file kroupware.cc.

bool KroupwareSync::startKMail ( QString errormessage  )  [static]

Definition at line 265 of file kroupware.cc.


Member Data Documentation

int KroupwareSync::fParts [protected]

Definition at line 67 of file kroupware.h.

bool KroupwareSync::fPre [protected]

Definition at line 66 of file kroupware.h.


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