• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kpilot

MALConduit Class Reference

#include <mal-conduit.h>

Inheritance diagram for MALConduit:

Inheritance graph
[legend]

List of all members.


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]

Store the sync time in the KPilot configuration.

Definition at line 143 of file mal-conduit.cc.

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:
  • mal-conduit.h
  • mal-conduit.cc

kpilot

Skip menu "kpilot"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal