kontact Library API Documentation

Kontact::UniqueAppHandler Class Reference

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

#include <uniqueapphandler.h>

Collaboration diagram for Kontact::UniqueAppHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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 38 of file uniqueapphandler.h.


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 Kontact::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.

Definition at line 71 of file uniqueapphandler.cpp.

References Kontact::Plugin::core().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kontact Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 4 14:43:47 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003