ksystemtray.h
131 static TQPixmap loadSizedIcon( const TQString &icon, int iconWidth, TDEInstance *instance=TDEGlobal::instance() );
static TQPixmap loadSizedIcon(const TQString &icon, int iconWidth, TDEInstance *instance=TDEGlobal::instance())
Loads an icon icon using the icon loader class of the given instance instance.
Definition ksystemtray.cpp:323
KSystemTray(TQWidget *parent=0, const char *name=0)
Construct a KSystemTray widget just like any other widget.
Definition ksystemtray.cpp:61
void toggleActive()
Toggles the state of the window associated with this system tray icon (hides it, shows it or activate...
Definition ksystemtray.cpp:222
void setInactive()
Hides the window associated with this system tray icon, regardless of its current state.
Definition ksystemtray.cpp:232
virtual void contextMenuAboutToShow(TDEPopupMenu *menu)
Makes it easy to adjust some menu items right before the context menu becomes visible.
Definition ksystemtray.cpp:178
TDEActionCollection * actionCollection()
Easy access to the actions in the context menu Currently includes KStdAction::Quit and minimizeRestor...
Definition ksystemtray.cpp:310
void mouseReleaseEvent(TQMouseEvent *)
Reimplemented to provide the standard show/raise behavior for the parentWidget() and the context menu...
Definition ksystemtray.cpp:173
static TQPixmap loadIcon(const TQString &icon, TDEInstance *instance=TDEGlobal::instance())
Loads an icon icon using the icon loader class of the given instance instance.
Definition ksystemtray.cpp:315
void mousePressEvent(TQMouseEvent *)
Reimplemented to provide the standard show/raise behavior for the parentWidget() and the context menu...
Definition ksystemtray.cpp:145
virtual void setCaption(const TQString &title)
Changes the tray's text description (which can be seen e.g.
Definition ksystemtray.cpp:341
void setActive()
Activates the window associated with this system tray icon, regardless of its current state.
Definition ksystemtray.cpp:227
static TDEInstance * instance()
Trinity API Reference