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

Constructs a KNotifyClient::Instance to make KNotifyClient use the specified KInstance for the event configuration

 ~Instance ()

~Instance

Destructs the KNotifyClient::Instance and resets KNotifyClient to the previously used KInstance

bool  useSystemBell ()

useSystemBell

[const]

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

KInstancecurrent ()

current

[static]

Returns the currently active KInstance

Instance * currentInstance ()

currentInstance

[static]

Returns the current KNotifyClient::Instance (not the KInstance)


Generated by: rich on pegasus on Tue Feb 26 01:28:15 2002, using kdoc 2.0a53.