KStartupInfoId Class Reference
Class representing an identification of application startup notification. More...
#include <kstartupinfo.h>
Public Member Functions | |
bool | operator== (const KStartupInfoId &id) const |
bool | operator!= (const KStartupInfoId &id) const |
bool | none () const |
void | initId (const QCString &id="") |
const QCString & | id () const |
unsigned long | timestamp () const |
bool | setupStartupEnv () const |
KStartupInfoId () | |
KStartupInfoId (const KStartupInfoId &data) | |
KStartupInfoId & | operator= (const KStartupInfoId &data) |
bool | operator< (const KStartupInfoId &id) const |
Detailed Description
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.
- See also:
- KStartupInfo
- Author:
- Lubos Lunak <l.lunak@kde.org>
- Version:
- Id
- kstartupinfo.h,v 1.30 2004/05/26 09:22:40 lunakl Exp
Definition at line 392 of file kstartupinfo.h.
Constructor & Destructor Documentation
|
Creates an empty identification. Definition at line 1027 of file kstartupinfo.cpp. |
|
Copy constructor. Definition at line 1037 of file kstartupinfo.cpp. References d. |
Member Function Documentation
|
Overloaded operator.
References id(). |
|
Overloaded operator.
|
|
Checks whether the identifier is valid.
Referenced by KStartupInfo::sendChange(), KStartupInfo::sendChangeX(), KStartupInfo::sendFinish(), KStartupInfo::sendFinishX(), KStartupInfo::sendStartup(), KStartupInfo::sendStartupX(), and timestamp(). |
|
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.
References KStartupInfo::createNewStartupId(), and endl(). |
|
Returns the notification identifier as string.
Referenced by operator==(), and setupStartupEnv(). |
|
Return the user timestamp for the startup notification, or 0 if no timestamp is set.
References none(). |
|
Sets the startup notification environment variable to this identification.
References id(). |
The documentation for this class was generated from the following files: