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 () | |
KStartupInfoId & | operator= (const KStartupInfoId &data) |
bool | operator< (const KStartupInfoId &id) const |
Friends | |
class | KStartupInfo |
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>
Definition at line 390 of file kstartupinfo.h.
Constructor & Destructor Documentation
|
Creates an empty identification.
Definition at line 1024 of file kstartupinfo.cpp. |
|
Copy constructor.
Definition at line 1034 of file kstartupinfo.cpp. References d. |
Member Function Documentation
|
Overloaded operator.
Definition at line 1048 of file kstartupinfo.cpp. References id(). |
|
Overloaded operator.
Definition at line 1053 of file kstartupinfo.cpp. |
|
Checks whether the identifier is valid.
Definition at line 1064 of file kstartupinfo.cpp. 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.
Definition at line 976 of file kstartupinfo.cpp. References KStartupInfo::createNewStartupId(), QCString::isEmpty(), and kdDebug(). |
|
Returns the notification identifier as string.
Definition at line 951 of file kstartupinfo.cpp. Referenced by operator<(), operator==(), and setupStartupEnv(). |
|
Return the user timestamp for the startup notification, or 0 if no timestamp is set.
Definition at line 1069 of file kstartupinfo.cpp. References none(). |
|
Sets the startup notification environment variable to this identification.
Definition at line 998 of file kstartupinfo.cpp. References id(), and QCString::isEmpty(). |
The documentation for this class was generated from the following files: