KNotifyClient::Instance Class Reference
Makes it possible to use KNotifyClient with a KInstance that is not the application.Enables KNotifyClient to use a different KInstance. More...
#include <knotifyclient.h>
Public Member Functions | |
Instance (KInstance *instance) | |
~Instance () | |
bool | useSystemBell () const |
Static Public Member Functions | |
static KInstance * | current () |
static Instance * | currentInstance () |
Detailed Description
Makes it possible to use KNotifyClient with a KInstance that is not the application.Enables KNotifyClient to use a different KInstance.Use like this:
KNotifyClient::Instance(myInstance); KNotifyClient::event("MyEvent");
Definition at line 96 of file knotifyclient.h.
Constructor & Destructor Documentation
|
Constructs a KNotifyClient::Instance to make KNotifyClient use the specified KInstance for the event configuration.
Definition at line 316 of file knotifyclient.cpp. References KInstance::config(), and KConfigBase::readBoolEntry(). |
|
Destructs the KNotifyClient::Instance and resets KNotifyClient to the previously used KInstance.
Definition at line 327 of file knotifyclient.cpp. |
Member Function Documentation
|
Checks whether the system bell should be used.
Definition at line 341 of file knotifyclient.cpp. |
|
Returns the currently active KInstance.
Definition at line 360 of file knotifyclient.cpp. References currentInstance(), and d. Referenced by KNotifyClient::instance(). |
|
Returns the current KNotifyClient::Instance (not the KInstance).
Definition at line 355 of file knotifyclient.cpp. Referenced by KNotifyClient::beep(), and current(). |
The documentation for this class was generated from the following files: