kpilot

KPilotInstaller Class Reference

#include <kpilot.h>

Inheritance diagram for KPilotInstaller:

List of all members.


Public Slots

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

Signals

void modeSelected (int selected)

Public Member Functions

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

Static Public Member Functions

static const char * version (int kind)

Protected Slots

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

Protected Member Functions

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

Protected Attributes

KPilotPrivate * fP

Detailed Description

Definition at line 51 of file kpilot.h.


Constructor & Destructor Documentation

KPilotInstaller::KPilotInstaller (  ) 

Definition at line 98 of file kpilot.cc.

KPilotInstaller::KPilotInstaller ( QStrList fileList  ) 

KPilotInstaller::~KPilotInstaller (  ) 

Definition at line 120 of file kpilot.cc.


Member Function Documentation

void KPilotInstaller::addComponentPage ( PilotComponent p,
const QString name 
)

Definition at line 646 of file kpilot.cc.

void KPilotInstaller::closeEvent ( QCloseEvent e  )  [protected]

Definition at line 499 of file kpilot.cc.

void KPilotInstaller::componentPostSync (  )  [protected]

Definition at line 469 of file kpilot.cc.

bool KPilotInstaller::componentPreSync (  )  [protected]

Run all the internal conduits' presync functions.

Definition at line 445 of file kpilot.cc.

void KPilotInstaller::componentUpdate (  )  [protected]

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

Definition at line 868 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 943 of file kpilot.cc.

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

Implements KPilotDCOP.

Definition at line 919 of file kpilot.cc.

ASYNC KPilotInstaller::daemonStatus ( int  i  )  [virtual]

This is the DCOP interface from the daemon to KPilot.

Implements KPilotDCOP.

Definition at line 404 of file kpilot.cc.

void KPilotInstaller::fileInstalled ( int  which  )  [protected, slot]

Definition at line 620 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.

KJanusWidget* KPilotInstaller::getManagingWidget (  )  [inline, protected]

Definition at line 78 of file kpilot.h.

void KPilotInstaller::initComponents (  )  [protected]

Definition at line 247 of file kpilot.cc.

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

Delayed initialization of the components.

This improves perceived startup time.

Definition at line 697 of file kpilot.cc.

void KPilotInstaller::initIcons (  )  [protected]

Definition at line 294 of file kpilot.cc.

void KPilotInstaller::initMenu (  )  [protected]

Definition at line 507 of file kpilot.cc.

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 129 of file kpilot.cc.

int KPilotInstaller::kpilotStatus (  )  [virtual]

Report KPilot's state back to the daemon.

Implements KPilotDCOP.

Definition at line 440 of file kpilot.cc.

void KPilotInstaller::modeSelected ( int  selected  )  [signal]

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 709 of file kpilot.cc.

void KPilotInstaller::optionsConfigureToolbars (  )  [slot]

Definition at line 715 of file kpilot.cc.

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

Definition at line 625 of file kpilot.cc.

void KPilotInstaller::readConfig (  )  [protected]

Definition at line 203 of file kpilot.cc.

void KPilotInstaller::setupSync ( int  kind,
const QString msg 
) [protected]

Definition at line 480 of file kpilot.cc.

void KPilotInstaller::setupWidget (  )  [protected]

Definition at line 221 of file kpilot.cc.

void KPilotInstaller::slotAboutToShowComponent ( QWidget c  )  [protected, slot]

Definition at line 302 of file kpilot.cc.

void KPilotInstaller::slotBackupRequested (  )  [slot]

Definition at line 356 of file kpilot.cc.

void KPilotInstaller::slotFullSyncRequested (  )  [slot]

Definition at line 380 of file kpilot.cc.

void KPilotInstaller::slotHHtoPCRequested (  )  [slot]

Definition at line 388 of file kpilot.cc.

void KPilotInstaller::slotHotSyncRequested (  )  [slot]

Definition at line 372 of file kpilot.cc.

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

Definition at line 727 of file kpilot.cc.

void KPilotInstaller::slotPCtoHHRequested (  )  [slot]

Definition at line 396 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 735 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 364 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 314 of file kpilot.cc.

void KPilotInstaller::startDaemonIfNeeded (  )  [slot]

Definition at line 142 of file kpilot.cc.

KPilotStatus KPilotInstaller::status (  )  const [inline]

Definition at line 73 of file kpilot.h.

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 967 of file kpilot.cc.


Member Data Documentation

KPilotPrivate* KPilotInstaller::fP [protected]

Definition at line 161 of file kpilot.h.


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