kontact

Kontact::UniqueAppHandler Class Reference

#include <uniqueapphandler.h>

Inheritance diagram for Kontact::UniqueAppHandler:

Akregator::UniqueAppHandler KABUniqueAppHandler KMailUniqueAppHandler KNodeUniqueAppHandler KOrganizerUniqueAppHandler List of all members.

Detailed Description

DCOP Object that has the name of the standalone application (e.g.

"kmail") and implements newInstance() so that running the separate application does the right thing when kontact is running. By default this means simply bringing the main window to the front, but newInstance can be reimplemented.

Definition at line 39 of file uniqueapphandler.h.


Public Member Functions

 UniqueAppHandler (Plugin *plugin)
virtual void loadCommandLineOptions ()=0
virtual int newInstance ()
Pluginplugin () const

Static Public Member Functions

static void loadKontactCommandLineOptions ()

Member Function Documentation

virtual void Kontact::UniqueAppHandler::loadCommandLineOptions (  )  [pure virtual]

This must be reimplemented so that app-specific command line options can be parsed.

Implemented in Akregator::UniqueAppHandler, KABUniqueAppHandler, KMailUniqueAppHandler, KNodeUniqueAppHandler, and KOrganizerUniqueAppHandler.

int UniqueAppHandler::newInstance (  )  [virtual]

We can't use k_dcop and dcopidl here, because the data passed to newInstance can't be expressed in terms of normal data types.

Reimplemented in Akregator::UniqueAppHandler, KABUniqueAppHandler, KMailUniqueAppHandler, KNodeUniqueAppHandler, and KOrganizerUniqueAppHandler.

Definition at line 79 of file uniqueapphandler.cpp.

void Kontact::UniqueAppHandler::loadKontactCommandLineOptions (  )  [static]

Load the kontact command line options.

Definition at line 194 of file uniqueapphandler.cpp.


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