|
|
Makes it possible to use KNotifyClient with a KInstance that is not the application.
Use like this:
KNotifyClient::Instance(myInstance); KNotifyClient::event("MyEvent"); |
Instance (KInstance *instance)
| Instance |
Constructs a KNotifyClient::Instance to make KNotifyClient use the specified KInstance for the event configuration.
Parameters:
instance | the instance for the event configuration |
~Instance ()
| ~Instance |
Destructs the KNotifyClient::Instance and resets KNotifyClient to the previously used KInstance.
bool useSystemBell ()
| useSystemBell |
[const]
Checks whether the system bell should be used.
Returns: true if this instance should use the System bell instead of KNotify.
KInstance * current ()
| current |
[static]
Returns the currently active KInstance.
Returns: the active KInstance
Instance * currentInstance ()
| currentInstance |
[static]
Returns the current KNotifyClient::Instance (not the KInstance).
Returns: the active Instance
Generated by: caleb on tcdevel on Tue Jan 28 12:54:04 2003, using kdoc $. |