class KStartupInfoId

Class representing an identification of application startup notification. More...

Definition#include <kstartupinfo.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


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, KStartupInfoData

bool  operator== ( const KStartupInfoId& id )

operator==

[const]

Overloaded operator.

Returns: true if the notification identifications are the same

bool  operator!= ( const KStartupInfoId& id )

operator!=

[const]

Overloaded operator.

Returns: true if the notification identifications are different

bool  none ()

none

[const]

Checks whether the identifier is valid.

Returns: true if this object doesn't represent a valid notification identification

void  initId ( const QCString& id = "" )

initId

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.

Parameters:
idthe new identification, "0" for no notification or "" to read the environment variable

const QCString&  id ()

id

[const]

Returns the notification identifier as string.

Returns: the identification string for the notification

bool  setupStartupEnv ()

setupStartupEnv

[const]

Sets the startup notification environment variable to this identification.

Returns: true if successful, false otherwise

 KStartupInfoId ()

KStartupInfoId

Creates an empty identification

 KStartupInfoId ( const KStartupInfoId& data )

KStartupInfoId

Copy constructor.

 ~KStartupInfoId ()

~KStartupInfoId

KStartupInfoId&  operator= ( const KStartupInfoId& data )

operator=

bool  operator< ( const KStartupInfoId& id )

operator<

[const]