• Skip to content
  • Skip to link menu
  • KDE API Reference
  • KDE Home
  • Contact Us
 

Nepomuk-Core

  • KTp
  • TelepathyHandlerApplication
Public Member Functions | Static Public Member Functions | List of all members
KTp::TelepathyHandlerApplication Class Reference

#include <telepathy-handler-application.h>

Inheritance diagram for KTp::TelepathyHandlerApplication:
Inheritance graph
[legend]

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

KTp::TelepathyHandlerApplication::TelepathyHandlerApplication ( bool  GUIenabled = true,
int  initialTimeout = 15000,
int  timeout = 2000 
)
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.

KTp::TelepathyHandlerApplication::TelepathyHandlerApplication ( Display *  display,
Qt::HANDLE  visual = 0,
Qt::HANDLE  colormap = 0,
int  initialTimeout = 15000,
int  timeout = 2000 
)
explicit

Definition at line 167 of file telepathy-handler-application.cpp.

KTp::TelepathyHandlerApplication::~TelepathyHandlerApplication ( )
virtual

Definition at line 178 of file telepathy-handler-application.cpp.

Member Function Documentation

void KTp::TelepathyHandlerApplication::jobFinished ( )
static

Definition at line 207 of file telepathy-handler-application.cpp.

int KTp::TelepathyHandlerApplication::newJob ( )
static

Definition at line 183 of file telepathy-handler-application.cpp.


The documentation for this class was generated from the following files:
  • telepathy-handler-application.h
  • telepathy-handler-application.cpp
This file is part of the KDE documentation.
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.

ktp-common-internals API Reference

Skip menu "ktp-common-internals API Reference"
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal