• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdecore
 

tdecore

  • KNotifyClient
  • Instance
Public Member Functions | Static Public Member Functions | List of all members
KNotifyClient::Instance Class Reference

#include <knotifyclient.h>

Public Member Functions

 Instance (TDEInstance *instance)
 
 ~Instance ()
 
bool useSystemBell () const
 

Static Public Member Functions

static TDEInstance * current ()
 
static Instance * currentInstance ()
 

Detailed Description

Makes it possible to use KNotifyClient with a TDEInstance that is not the application.

Use like this:

KNotifyClient::Instance(myInstance);
KNotifyClient::event("MyEvent");
KNotifyClient::Instance
Makes it possible to use KNotifyClient with a TDEInstance that is not the application.
Definition: knotifyclient.h:97
KNotifyClient::event
int event(const TQString &message, const TQString &text=TQString::null) TDE_DEPRECATED
Definition: knotifyclient.cpp:125

Enables KNotifyClient to use a different TDEInstance

Definition at line 96 of file knotifyclient.h.

Constructor & Destructor Documentation

◆ Instance()

KNotifyClient::Instance::Instance ( TDEInstance *  instance)
Constructs a KNotifyClient::Instance to make KNotifyClient use
the specified TDEInstance for the event configuration.
Parameters
instancethe instance for the event configuration

Definition at line 329 of file knotifyclient.cpp.

◆ ~Instance()

KNotifyClient::Instance::~Instance ( )

Destructs the KNotifyClient::Instance and resets KNotifyClient to the previously used TDEInstance.

Definition at line 340 of file knotifyclient.cpp.

Member Function Documentation

◆ current()

TDEInstance * KNotifyClient::Instance::current ( )
static
Returns the currently active TDEInstance.
Returns
the active TDEInstance

Definition at line 373 of file knotifyclient.cpp.

◆ currentInstance()

KNotifyClient::Instance * KNotifyClient::Instance::currentInstance ( )
static

Returns the current KNotifyClient::Instance (not the TDEInstance).

Returns
the active Instance

Definition at line 368 of file knotifyclient.cpp.

◆ useSystemBell()

bool KNotifyClient::Instance::useSystemBell ( ) const

Checks whether the system bell should be used.

Returns
true if this instance should use the System bell instead of KNotify.

Definition at line 354 of file knotifyclient.cpp.


The documentation for this class was generated from the following files:
  • knotifyclient.h
  • knotifyclient.cpp

tdecore

Skip menu "tdecore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdecore

Skip menu "tdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdecore by doxygen 1.9.4
This website is maintained by Timothy Pearson.