• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

kdecore

KNotifyClient::Instance

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.

Use like this:

 KNotifyClient::Instance(myInstance);
 KNotifyClient::event("MyEvent");

Enables KNotifyClient to use a different KInstance

Definition at line 96 of file knotifyclient.h.


Public Member Functions

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

Static Public Member Functions

static KInstance * current ()
static Instance * currentInstance ()

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

Definition at line 316 of file knotifyclient.cpp.

KNotifyClient::Instance::~Instance (  ) 

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

Definition at line 327 of file knotifyclient.cpp.


Member Function Documentation

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.

Definition at line 341 of file knotifyclient.cpp.

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

Returns the currently active KInstance.

Returns:
the active KInstance

Definition at line 360 of file knotifyclient.cpp.

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

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

Returns:
the active Instance

Definition at line 355 of file knotifyclient.cpp.


The documentation for this class was generated from the following files:
  • knotifyclient.h
  • knotifyclient.cpp

kdecore

Skip menu "kdecore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal