KNotifyClient::Instance Class Reference

#include <knotifyclient.h>

List of all members.


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:

Definition at line 96 of file knotifyclient.h.


Public Member Functions

 Instance (KInstance *instance)
 ~Instance ()
bool useSystemBell () const

Static Public Member Functions

static KInstancecurrent ()
static InstancecurrentInstance ()

Constructor & Destructor Documentation

KNotifyClient::Instance::Instance KInstance instance  ) 
 

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

Parameters:
instance the instance for the event configuration

KNotifyClient::Instance::~Instance  ) 
 

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


Member Function Documentation

static KInstance* KNotifyClient::Instance::current  )  [static]
 

Returns the currently active KInstance.

Returns:
the active KInstance

static Instance* KNotifyClient::Instance::currentInstance  )  [static]
 

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

Returns:
the active Instance

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.

The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys