KDE PIM / Developers / API Docs / kontact

Kontact::UniqueAppHandler Class Reference

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

#include <uniqueapphandler.h>

Inherits DCOPObject.

Inherited by Akregator::UniqueAppHandler, KABUniqueAppHandler, KMailUniqueAppHandler, KNodeUniqueAppHandler, and KOrganizerUniqueAppHandler.

List of all members.

Public Member Functions


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.


Member Function Documentation

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

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

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.


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