KDEUI
ksystemtrayicon.h
Go to the documentation of this file.
144 static QIcon loadIcon(const QString &icon, const KComponentData &componentData = KGlobal::mainComponent());
void setContextMenuTitle(QAction *action)
Sets the context menu title action to action.
Definition ksystemtrayicon.cpp:378
QWidget * parentWidget() const
Returns the QWidget set by the constructor.
Definition ksystemtrayicon.cpp:175
QAction * contextMenuTitle() const
Returns the context menu title action.
Definition ksystemtrayicon.cpp:385
bool parentWidgetTrayClose() const
Function to be used from function handling closing of the window associated with the tray icon (i....
Definition ksystemtrayicon.cpp:371
static QIcon loadIcon(const QString &icon, const KComponentData &componentData=KGlobal::mainComponent())
Loads an icon icon using the icon loader class of the given componentData componentData.
Definition ksystemtrayicon.cpp:359
KActionCollection * actionCollection()
Easy access to the actions in the context menu Currently includes KStandardAction::Quit and minimizeR...
Definition ksystemtrayicon.cpp:354
const KComponentData & mainComponent()
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.