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

kpilot

ConduitProxy Class Reference

#include <plugin.h>

Inheritance diagram for ConduitProxy:

Inheritance graph
[legend]

List of all members.


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 290 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

ConduitAction * fConduit
QString fDesktopName
QString fLibraryName

Constructor & Destructor Documentation

ConduitProxy::ConduitProxy ( KPilotLink *  p,
const QString &  desktopName,
const SyncAction::SyncMode &  m 
)

Definition at line 438 of file plugin.cc.


Member Function Documentation

bool ConduitProxy::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 447 of file plugin.cc.

void ConduitProxy::execDone ( SyncAction *  p  )  [protected, slot]

Definition at line 531 of file plugin.cc.


Member Data Documentation

ConduitAction* ConduitProxy::fConduit [protected]

Definition at line 307 of file plugin.h.

QString ConduitProxy::fDesktopName [protected]

Definition at line 305 of file plugin.h.

QString ConduitProxy::fLibraryName [protected]

Definition at line 306 of file plugin.h.


The documentation for this class was generated from the following files:
  • plugin.h
  • plugin.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