kitchensync Library API Documentation

KSync::Core Class Reference

The KitchenSync UI Shell It's the main view of the application. More...

#include <core.h>

Inheritance diagram for KSync::Core:

Inheritance graph
[legend]
Collaboration diagram for KSync::Core:

Collaboration graph
[legend]
List of all members.

Signals

void profileChanged (const Profile &oldProfile)
void konnectorProgress (Konnector *konnector, const Progress &prog)
void konnectorError (Konnector *konnector, const Error &err)
void partChanged (ActionPart *newPart)
void partProgress (ActionPart *part, const Progress &prog)
void partError (ActionPart *part, const Error &error)
void startSync ()
void startSync (ActionPart *)
void syncProgress (ActionPart *, int, int)
void doneSync ()
void doneSync (ActionPart *)

Public Member Functions

 Core (QWidget *parent)
virtual Profile currentProfile () const =0
virtual ProfileManagerprofileManager () const =0
virtual Engineengine () const =0
virtual SyncUisyncUi ()=0
virtual SyncAlgorithmsyncAlgorithm ()=0
virtual const QPtrList< ActionPartparts () const =0

Detailed Description

The KitchenSync UI Shell It's the main view of the application.

It'll load all parts and do the basic communication between all parts

Definition at line 47 of file core.h.


Member Function Documentation

virtual Profile KSync::Core::currentProfile  )  const [pure virtual]
 

Returns:
the currently enabled Profile

Implemented in KSync::KitchenSync.

virtual ProfileManager* KSync::Core::profileManager  )  const [pure virtual]
 

Returns:
access to the profilemanager make const pointer to const object

Implemented in KSync::KitchenSync.

virtual SyncUi* KSync::Core::syncUi  )  [pure virtual]
 

Returns:
a SyncUi

Implemented in KSync::KitchenSync.

virtual SyncAlgorithm* KSync::Core::syncAlgorithm  )  [pure virtual]
 

Returns:
the preferred syncAlgorithm of KitchenSync

Implemented in KSync::KitchenSync.

virtual const QPtrList<ActionPart> KSync::Core::parts  )  const [pure virtual]
 

Returns:
the all loaded ActionParts

Implemented in KSync::KitchenSync.

void KSync::Core::profileChanged const Profile oldProfile  )  [signal]
 

This signal gets emitted whenever the Profile is changed.

Parameters:
oldProfile the previously enabled profile

void KSync::Core::konnectorProgress Konnector konnector,
const Progress &  prog
[signal]
 

signal emitted when progress from the konnectorProgress arrived

Parameters:
konnector pointer to Konnector object
prog the Progress

void KSync::Core::konnectorError Konnector konnector,
const Error err
[signal]
 

Parameters:
konnector pointer to Konnector object
err the error

void KSync::Core::partChanged ActionPart newPart  )  [signal]
 

Whenever the currently activated parts changed.

Parameters:
newPart the newly activated part

void KSync::Core::partProgress ActionPart part,
const Progress &  prog
[signal]
 

progress coming from one part

Parameters:
part where the progress comes from, 0 if from MainWindow
prog The progress

void KSync::Core::partError ActionPart part,
const Error error
[signal]
 

error coming from one part

Parameters:
part where the error comes from, 0 if from MainWindow
err The error

void KSync::Core::startSync  )  [signal]
 

emitted when ever sync starts

void KSync::Core::startSync ActionPart  )  [signal]
 

emitted when a part is asked to sync

void KSync::Core::doneSync  )  [signal]
 

emitted when done with syncing

void KSync::Core::doneSync ActionPart  )  [signal]
 

emitted when one part is done with syncing


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kitchensync Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu May 3 20:21:00 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003