class Instance

Enables KNotifyClient to use a different KInstance. More...

Full nameKNotifyClient::Instance
Definition#include <knotifyclient.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods


Detailed Description

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:
instancethe 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.

KInstancecurrent ()

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 $.