KDEUI
kstatusnotifieritem.h
Go to the documentation of this file.
411 void showMessage(const QString &title, const QString &message, const QString &icon, int timeout = 10000);
KDE Status notifier Item protocol implementation
Definition kstatusnotifieritem.h:73
void setStatus(const ItemStatus status)
Sets a new status for this icon.
Definition kstatusnotifieritem.cpp:154
bool eventFilter(QObject *watched, QEvent *event)
Definition kstatusnotifieritem.cpp:691
ItemCategory
Different kinds of applications announce their type to the systemtray, so can be drawn in a different...
Definition kstatusnotifieritem.h:110
@ ApplicationStatus
An icon for a normal application, can be seen as its taskbar entry.
Definition kstatusnotifieritem.h:112
@ Hardware
This application shows hardware status or a means to control it.
Definition kstatusnotifieritem.h:121
@ SystemServices
This is a system service, it can show itself in the system tray if it requires interaction from the u...
Definition kstatusnotifieritem.h:119
@ Communications
This is a communication oriented application; this icon will be used for things such as the notificat...
Definition kstatusnotifieritem.h:115
void setAttentionIconByName(const QString &name)
Sets a new icon that should be used when the application wants to request attention (usually the syst...
Definition kstatusnotifieritem.cpp:266
void activateRequested(bool active, const QPoint &pos)
Inform the host application that an activation has been requested, for instance left mouse click,...
void setToolTipIconByName(const QString &name)
Set a new icon for the toolTip.
Definition kstatusnotifieritem.cpp:366
void setToolTipSubTitle(const QString &subTitle)
Sets a new subtitle for the toolTip.
Definition kstatusnotifieritem.cpp:417
ItemStatus
All the possible status this icon can have, depending on the importance of the events that happens in...
Definition kstatusnotifieritem.h:95
@ Active
The application is doing something, or it is important that the icon is always reachable from the use...
Definition kstatusnotifieritem.h:100
@ NeedsAttention
The application requests the attention of the user, for instance battery running out or a new IM mess...
Definition kstatusnotifieritem.h:103
@ Passive
Nothing is happening in the application, so showing this icon is not required.
Definition kstatusnotifieritem.h:97
friend class KStatusNotifierItemDBus
Definition kstatusnotifieritem.h:88
void setIconByName(const QString &name)
Sets a new main icon for the system tray.
Definition kstatusnotifieritem.cpp:172
friend class KStatusNotifierItemPrivate
Definition kstatusnotifieritem.h:89
void scrollRequested(int delta, Qt::Orientation orientation)
Inform the host application that the mouse wheel (or another mean of scrolling that the visualization...
KStatusNotifierItem(QObject *parent=0)
Construct a new status notifier item.
Definition kstatusnotifieritem.cpp:101
void setCategory(const ItemCategory category)
Sets the category for this icon, usually it's needed to call this function only once.
Definition kstatusnotifieritem.cpp:134
void setTitle(const QString &title)
Sets a title for this icon.
Definition kstatusnotifieritem.cpp:149
void secondaryActivateRequested(const QPoint &pos)
Alternate activate action, for instance right mouse click, but this is not guaranteed since it's depe...
void setToolTipTitle(const QString &title)
Sets a new title for the toolTip.
Definition kstatusnotifieritem.cpp:399
void setOverlayIconByName(const QString &name)
Sets an icon to be used as overlay for the main one.
Definition kstatusnotifieritem.cpp:212
int timeout
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.