Nepomuk-Core
#include <telepathy-handler-application.h>
Public Member Functions | |
TelepathyHandlerApplication (bool GUIenabled=true, int initialTimeout=15000, int timeout=2000) | |
TelepathyHandlerApplication (Display *display, Qt::HANDLE visual=0, Qt::HANDLE colormap=0, int initialTimeout=15000, int timeout=2000) | |
virtual | ~TelepathyHandlerApplication () |
Static Public Member Functions | |
static void | jobFinished () |
static int | newJob () |
Detailed Description
A KApplication that exits the application when there are no running jobs.
Morover it does automatically another few things required by every handler:
- It automatically register Telepathy-Qt Types
- setQuitOnLastWindowClosed(false)
- Adds the –persist option to inhibit automatic exit.
- Adds the –debug option to enable telepathy-qt4 debug
- Enables telepathy-qt4 warnings
- Use Tp-Qt4 callback for redirecting debug output into KDebug
- Sets the KDE_FULL_SESSION environment variable to workaround dbus activation issues.
Definition at line 41 of file telepathy-handler-application.h.
Constructor & Destructor Documentation
|
explicit |
initialTimeout
Initial timeout time (in msec) after which application exits if no jobs are received.
timeout
Timeout time (in msec) after which application exits after the last job is finished.
Definition at line 158 of file telepathy-handler-application.cpp.
|
explicit |
Definition at line 167 of file telepathy-handler-application.cpp.
|
virtual |
Definition at line 178 of file telepathy-handler-application.cpp.
Member Function Documentation
|
static |
Definition at line 207 of file telepathy-handler-application.cpp.
|
static |
Definition at line 183 of file telepathy-handler-application.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Mar 22 2013 10:58:52 by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.