Logo Search packages:      
Sourcecode: qterm version File versions  Download package

TrayIcon Class Reference

List of all members.

Detailed Description

The TrayIcon class implements an entry in the system tray.

Definition at line 29 of file trayicon.h.

Public Slots

void hide ()
void setIcon (const QPixmap &icon)
void setToolTip (const QString &tip)
void show ()


void clicked (const QPoint &, int)
void closed ()
void doubleClicked (const QPoint &)

Public Member Functions

void gotCloseEvent ()
QPixmap icon () const
bool isWMDock ()
QPopupMenu * popup () const
void setPopup (QPopupMenu *)
void setWMDock (bool use)
QString toolTip () const
 TrayIcon (const QPixmap &, const QString &, QPopupMenu *popup=0, QObject *parent=0, const char *name=0)
 TrayIcon (QObject *parent=0, const char *name=0)
 ~TrayIcon ()

Protected Member Functions

bool event (QEvent *)
virtual void mouseDoubleClickEvent (QMouseEvent *e)
virtual void mouseMoveEvent (QMouseEvent *e)
virtual void mousePressEvent (QMouseEvent *e)
virtual void mouseReleaseEvent (QMouseEvent *e)


QPixmap icon
 the system tray icon.
QString toolTip
 the tooltip for the system tray entry

Private Member Functions

void sysInstall ()
void sysRemove ()
void sysUpdateIcon ()
void sysUpdateToolTip ()

Private Attributes

TrayIconPrivate * d
QPixmap pm
QPopupMenu * pop
QString tip
bool v_isWMDock

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index