#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:
Enables KNotifyClient to use a different TDEInstance
Definition at line 96 of file knotifyclient.h.
Constructor & Destructor Documentation
KNotifyClient::Instance::Instance | ( | TDEInstance * | instance | ) |
Constructs a KNotifyClient::Instance to make KNotifyClient use the specified TDEInstance for the event configuration.
- Parameters
-
instance the instance for the event configuration
Definition at line 329 of file knotifyclient.cpp.
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
|
static |
Returns the currently active TDEInstance.
- Returns
- the active TDEInstance
Definition at line 373 of file knotifyclient.cpp.
|
static |
Returns the current KNotifyClient::Instance (not the TDEInstance).
- Returns
- the active Instance
Definition at line 368 of file knotifyclient.cpp.
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: