class KStartupInfoData |
|
|
Constructor. Initializes all the data to their default empty values. |
|
Copy constructor. |
|
|
|
Returns the WM_CLASS value for the startup notification, or empty if not available. Returns the WM_CLASS value for the startup notification, or empty if not set |
|
Adds a PID to the list of processes that belong to the startup notification. It
may be used to increase the chance that the windows created by the starting
application will be detected correctly, and also for detecting if the application
has quit without creating any window.
pid - the PID to add |
|
Returns the binary name of the starting application Returns the new binary name of the application |
|
Returns the name of the startup notification, or empty if not available. Returns the name of the startup notificaiton, or an empty string if not set. |
|
Returns the desktop for the startup notification. Returns the desktop for the startup notification |
|
Returns the description of the startup notification. If it's not available, it returns name(). Returns the description of the startup notification |
|
Returns the icon of the startup notification, and if it's not available, tries to get it from the binary name. Returns the name of the startup notification's icon, or the name of the binary if not set |
|
Returns the name of the startup notification. If it's not available, it tries to use other information (binary name). Returns the name of the startup notification |
|
Returns the WM_CLASS value for the startup notification, or binary name if not available. Returns the WM_CLASS value for the startup notification, or the binary name if not set |
|
Returns the hostname for the startup notification. Returns the hostname |
|
Returns the icon of the startup notification, or empty if not available. Returns the name of the icon, or an empty string if not set. |
|
Checks whether the given pid is in the list of PIDs for starup notification. Returns true if the given pid is in the list of PIDs for the startup notification |
|
The toplevel window of the application that caused this startup notification, 0 if unknown. |
|
Returns the name of the startup notification, or empty if not available. Returns the name of the startup notification, or an empty string if not set. |
|
Returns all PIDs for the startup notification. Returns the list of all PIDs |
|
|
The X11 screen on which the startup notification is happening, -1 if unknown. |
|
Sets the binary name of the application ( e.g. 'kcontrol' ).
bin - the new binary name of the application |
|
Sets the description for the notification (e.g. 'Launching Control Center'). I.e. name() describes what is being started, while description() is the actual action performed by the starting. |
|
Sets the desktop for the startup notification ( i.e. the desktop on which
the starting application should appear ).
desktop - the desktop for the startup notification |
|
Sets the hostname on which the application is starting. It's necessary to set
it if PIDs are set.
hostname - the application's hostname. If it's a null string, the current hostname is used |
|
Sets the icon for the startup notification ( e.g. 'kcontrol' )
icon - the name of the icon |
|
Sets the toplevel window of the application that caused this startup notification.
window - window ID of the toplevel window that is responsible for this startup |
|
Sets the name for the notification (e.g. 'Control Center') |
|
Sets the X11 screen on which the startup notification should happen. This is usually not necessary to set, as it's set by default to QX11Info.screen(). |
|
Sets whether the visual feedback for this startup notification should be silenced (temporarily suspended). |
|
Obsolete Timestamp is already assigned in KStartupInfoId.initId(). Sets timestamp for the startup notification. The timestamp is expressed as XServer time, and is used to prevent activation of the matching window if user interaction took place after this timestamp. Value -1 means no timestamp set, value 0 means that the window should not be activated. |
|
Sets a WM_CLASS value for the startup notification, it may be used for increasing
the chance that the windows created by the starting application will be
detected correctly.
wmclass - the WM_CLASS value for the startup notification |
|
Sets the Xinerama screen for the startup notification ( i.e. the screeen on which
the starting application should appear ).
xinerama - the Xinerama screen for the startup notification |
|
Return the silence status for the startup notification. Returns KStartupInfoData.Yes if visual feedback is silenced |
|
Obsolete Use KStartupInfoId.timestamp(). Return the timestamp for the startup notification, or -1 if no timestamp is set. |
|
Updates the notification data from the given data. Some data, such as the desktop
or the name, won't be rewritten if already set.
data - the data to update |
|
The Xinerama screen for the startup notification, -1 if unknown. |
Yes | - | - | ||
No | - | - | ||
Unknown | - | - |