kpilot/kpilot

KPilotInstaller Class Reference

Inheritance diagram for KPilotInstaller:

KPilotDCOP List of all members.

Detailed Description

Definition at line 51 of file kpilot.h.


Public Slots

void slotRestoreRequested ()
void slotBackupRequested ()
void slotHotSyncRequested ()
void slotFullSyncRequested ()
void slotHHtoPCRequested ()
void slotPCtoHHRequested ()
void startDaemonIfNeeded ()
void optionsConfigureKeys ()
void optionsConfigureToolbars ()
virtual ASYNC configure ()
virtual ASYNC configureWizard ()

Signals

void modeSelected (int selected)

Public Member Functions

 KPilotInstaller ()
 KPilotInstaller (QStrList &fileList)
 ~KPilotInstaller ()
void addComponentPage (PilotComponent *, const QString &name)
KPilotStatus status () const
virtual ASYNC daemonStatus (int)
virtual int kpilotStatus ()

Static Public Member Functions

static const char * version (int kind)

Protected Slots

void quit ()
void fileInstalled (int which)
void slotNewToolbarConfig ()
void slotResetLink ()
void slotSelectComponent (PilotComponent *c)
void slotAboutToShowComponent (QWidget *c)
void initializeComponents ()

Protected Member Functions

void closeEvent (QCloseEvent *e)
KJanusWidget * getManagingWidget ()
PilotDaemonDCOP_stubgetDaemon ()
void killDaemonIfNeeded ()
void readConfig ()
bool componentPreSync ()
void setupSync (int kind, const QString &msg)
void componentPostSync ()
void componentUpdate ()
void initIcons ()
void initMenu ()
void setupWidget ()
void initComponents ()

Protected Attributes

KPilotPrivate * fP

Member Function Documentation

const char * KPilotInstaller::version ( int  kind  )  [static]

Return a string with the version identifier (ie.

"KPilot v3.1b11") if kind == 0; otherwise return a "long" string about KPilot -- currently the id of kpilot.o

Definition at line 1039 of file kpilot.cc.

PilotDaemonDCOP_stub& KPilotInstaller::getDaemon (  )  [inline, protected]

Provide access to the daemon's DCOP interface through an object of the stub class.

Definition at line 85 of file kpilot.h.

void KPilotInstaller::killDaemonIfNeeded (  )  [protected]

Handle the functionality of kill-daemon-on-exit and kill-daemon-if-started-by-my by killing it in those cases.

Definition at line 139 of file kpilot.cc.

void KPilotInstaller::slotRestoreRequested (  )  [slot]

These are slots for the menu actions for each kind of sync that can be requested.

Definition at line 404 of file kpilot.cc.

void KPilotInstaller::optionsConfigureKeys (  )  [slot]

These are slots for the standard Configure .

.. actions and not interesting. The show toolbar functionality is in kdelibs starting with KDE 3.1, but we need to remain backwards compatible.

Definition at line 774 of file kpilot.cc.

ASYNC KPilotInstaller::daemonStatus ( int   )  [virtual]

This is the DCOP interface from the daemon to KPilot.

Implements KPilotDCOP.

Definition at line 444 of file kpilot.cc.

int KPilotInstaller::kpilotStatus (  )  [virtual]

Report KPilot's state back to the daemon.

Implements KPilotDCOP.

Definition at line 482 of file kpilot.cc.

ASYNC KPilotInstaller::configure (  )  [virtual, slot]

This is the DCOP interface from the daemon to KPilot to configure KPilot.

Implements KPilotDCOP.

Definition at line 1015 of file kpilot.cc.

bool KPilotInstaller::componentPreSync (  )  [protected]

Run all the internal conduits' presync functions.

Definition at line 487 of file kpilot.cc.

void KPilotInstaller::componentUpdate (  )  [protected]

Run after a configuration change to force the viewers to re-load data.

Definition at line 940 of file kpilot.cc.

void KPilotInstaller::slotResetLink (  )  [protected, slot]

Get the daemon to reset the link.

This uses reloadSettings() to achieve this result - the daemon calls reset() in there.

Definition at line 800 of file kpilot.cc.

void KPilotInstaller::slotSelectComponent ( PilotComponent c  )  [protected, slot]

Indicate that a particular component has been selected (through whatever mechanism).

This will make that component visible and adjust any other user-visible state to indicate that that component is now active.

This should be called (possibly by the component itself!) or activated through the signal mechanism.

Definition at line 354 of file kpilot.cc.

void KPilotInstaller::initializeComponents (  )  [protected, slot]

Delayed initialization of the components.

This improves perceived startup time.

Definition at line 762 of file kpilot.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys