.TH "KNotifyClient::Instance" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdecore Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KNotifyClient::Instance \- Makes it possible to use \fBKNotifyClient\fP with a \fBKInstance\fP that is not the application. Enables \fBKNotifyClient\fP to use a different \fBKInstance\fP.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <knotifyclient.h>\fP
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBInstance\fP (\fBKInstance\fP *instance)"
.br
.ti -1c
.RI "\fB~Instance\fP ()"
.br
.ti -1c
.RI "bool \fBuseSystemBell\fP () const "
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static \fBKInstance\fP * \fBcurrent\fP ()"
.br
.ti -1c
.RI "static \fBInstance\fP * \fBcurrentInstance\fP ()"
.br
.in -1c
.SH "Detailed Description"
.PP 
Makes it possible to use \fBKNotifyClient\fP with a \fBKInstance\fP that is not the application. Enables \fBKNotifyClient\fP to use a different \fBKInstance\fP. 

Use like this: 
.PP
.nf
 KNotifyClient::Instance(myInstance);
 KNotifyClient::event('MyEvent');

.fi
.PP

.PP
Definition at line 96 of file knotifyclient.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KNotifyClient::Instance::Instance (\fBKInstance\fP * instance)"
.PP
Constructs a KNotifyClient::Instance to make \fBKNotifyClient\fP use the specified \fBKInstance\fP for the event configuration. 
.PP
\fBParameters:\fP
.RS 4
\fIinstance\fP the instance for the event configuration 
.RE
.PP

.PP
Definition at line 316 of file knotifyclient.cpp.
.PP
References KInstance::config(), KNotifyClient::instance(), and KConfigBase::readBoolEntry().
.SS "KNotifyClient::Instance::~\fBInstance\fP ()"
.PP
Destructs the KNotifyClient::Instance and resets \fBKNotifyClient\fP to the previously used \fBKInstance\fP. 
.PP
Definition at line 327 of file knotifyclient.cpp.
.SH "Member Function Documentation"
.PP 
.SS "bool KNotifyClient::Instance::useSystemBell () const"
.PP
Checks whether the system bell should be used. 
.PP
\fBReturns:\fP
.RS 4
true if this instance should use the System bell instead of KNotify.
.RE
.PP

.PP
Definition at line 341 of file knotifyclient.cpp.
.SS "\fBKInstance\fP * KNotifyClient::Instance::current ()\fC [static]\fP"
.PP
Returns the currently active \fBKInstance\fP. 
.PP
\fBReturns:\fP
.RS 4
the active \fBKInstance\fP 
.RE
.PP

.PP
Definition at line 360 of file knotifyclient.cpp.
.PP
References currentInstance(), and d.
.PP
Referenced by KNotifyClient::instance().
.SS "\fBKNotifyClient::Instance\fP * KNotifyClient::Instance::currentInstance ()\fC [static]\fP"
.PP
Returns the current KNotifyClient::Instance (not the \fBKInstance\fP). 
.PP
\fBReturns:\fP
.RS 4
the active \fBInstance\fP
.RE
.PP

.PP
Definition at line 355 of file knotifyclient.cpp.
.PP
Referenced by current().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdecore Library from the source code.
