.TH "KStartupInfoId" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdecore Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KStartupInfoId \- Class representing an identification of application startup notification.  

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

.in +1c
.ti -1c
.RI "bool \fBoperator==\fP (const \fBKStartupInfoId\fP &id) const "
.br
.ti -1c
.RI "bool \fBoperator!=\fP (const \fBKStartupInfoId\fP &id) const "
.br
.ti -1c
.RI "bool \fBnone\fP () const "
.br
.ti -1c
.RI "void \fBinitId\fP (const \fBQCString\fP &id='')"
.br
.ti -1c
.RI "const \fBQCString\fP & \fBid\fP () const "
.br
.ti -1c
.RI "unsigned long \fBtimestamp\fP () const "
.br
.ti -1c
.RI "bool \fBsetupStartupEnv\fP () const "
.br
.ti -1c
.RI "\fBKStartupInfoId\fP ()"
.br
.ti -1c
.RI "\fBKStartupInfoId\fP (const \fBKStartupInfoId\fP &data)"
.br
.ti -1c
.RI "\fBKStartupInfoId\fP & \fBoperator=\fP (const \fBKStartupInfoId\fP &data)"
.br
.ti -1c
.RI "bool \fBoperator<\fP (const \fBKStartupInfoId\fP &id) const "
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBKStartupInfo\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
Class representing an identification of application startup notification. 

Every existing notification about a starting application has its own unique identification, that's used to identify and manipulate the notification.
.PP
\fBSee also:\fP
.RS 4
\fBKStartupInfo\fP 
.PP
\fBKStartupInfoData\fP
.RE
.PP
\fBAuthor:\fP
.RS 4
Lubos Lunak <l.lunak@kde.org> 
.RE
.PP

.PP
Definition at line 390 of file kstartupinfo.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KStartupInfoId::KStartupInfoId ()"
.PP
Creates an empty identification. 
.PP
Definition at line 1024 of file kstartupinfo.cpp.
.SS "KStartupInfoId::KStartupInfoId (const \fBKStartupInfoId\fP & data)"
.PP
Copy constructor. 
.PP

.PP
Definition at line 1034 of file kstartupinfo.cpp.
.SH "Member Function Documentation"
.PP 
.SS "bool KStartupInfoId::operator== (const \fBKStartupInfoId\fP & id) const"
.PP
Overloaded operator. 
.PP
\fBReturns:\fP
.RS 4
true if the notification identifications are the same
.RE
.PP

.PP
Definition at line 1048 of file kstartupinfo.cpp.
.PP
References id().
.SS "bool KStartupInfoId::operator!= (const \fBKStartupInfoId\fP & id) const"
.PP
Overloaded operator. 
.PP
\fBReturns:\fP
.RS 4
true if the notification identifications are different
.RE
.PP

.PP
Definition at line 1053 of file kstartupinfo.cpp.
.SS "bool KStartupInfoId::none () const"
.PP
Checks whether the identifier is valid. 
.PP
\fBReturns:\fP
.RS 4
true if this object doesn't represent a valid notification identification
.RE
.PP

.PP
Definition at line 1064 of file kstartupinfo.cpp.
.PP
References QCString::isEmpty().
.PP
Referenced by timestamp().
.SS "void KStartupInfoId::initId (const \fBQCString\fP & id = \fC''\fP)"
.PP
Initializes this object with the given identification ( which may be also '0' for no notification ), or if '' is given, tries to read it from the startup notification environment variable, and if it's not set, creates a new one. 
.PP
\fBParameters:\fP
.RS 4
\fIid\fP the new identification, '0' for no notification or '' to read the environment variable
.RE
.PP

.PP
Definition at line 976 of file kstartupinfo.cpp.
.PP
References KStartupInfo::createNewStartupId(), and endl().
.SS "const \fBQCString\fP & KStartupInfoId::id () const"
.PP
Returns the notification identifier as string. 
.PP
\fBReturns:\fP
.RS 4
the identification string for the notification
.RE
.PP

.PP
Definition at line 951 of file kstartupinfo.cpp.
.PP
Referenced by operator==(), and setupStartupEnv().
.SS "unsigned long KStartupInfoId::timestamp () const"
.PP
Return the user timestamp for the startup notification, or 0 if no timestamp is set. 
.PP
\fBSince:\fP
.RS 4
3.3 
.RE
.PP

.PP
Definition at line 1069 of file kstartupinfo.cpp.
.PP
References QCString::findRev(), QCString::mid(), none(), and QCString::toLong().
.SS "bool KStartupInfoId::setupStartupEnv () const"
.PP
Sets the startup notification environment variable to this identification. 
.PP
\fBReturns:\fP
.RS 4
true if successful, false otherwise
.RE
.PP

.PP
Definition at line 998 of file kstartupinfo.cpp.
.PP
References id(), and QCString::isEmpty().

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