1 #ifndef i_qsystemtrayicon_h 2 #define i_qsystemtrayicon_h 18 #include <QSystemTrayIcon> 38 connect( sndr, SIGNAL(
activated(QSystemTrayIcon::ActivationReason)),
39 this, SLOT(
activated(QSystemTrayIcon::ActivationReason)) );
55 void activated( QSystemTrayIcon::ActivationReason reason )
57 if ( reason == QSystemTrayIcon::Context )
59 else if ( reason == QSystemTrayIcon::DoubleClick )
61 else if ( reason == QSystemTrayIcon::Trigger )
63 else if ( reason == QSystemTrayIcon::MiddleClick )
QSystemTrayIcon * sender_
Definition: i_qsystemtrayicon.h:47
QSystemTrayIconMessenger(QSystemTrayIcon *sndr, uiSystemTrayIcon *receiver)
Definition: i_qsystemtrayicon.h:34
void activated(QSystemTrayIcon::ActivationReason reason)
Definition: i_qsystemtrayicon.h:55
Notifier< uiSystemTrayIcon > clicked
Definition: uisystemtrayicon.h:39
Notifier< uiSystemTrayIcon > doubleClicked
Definition: uisystemtrayicon.h:42
void messageClicked()
Definition: i_qsystemtrayicon.h:52
void trigger(T &t)
Definition: callback.h:258
Definition: uisystemtrayicon.h:25
Helper class for uiSystemTrayIcon to relay Qt's messages.
Definition: i_qsystemtrayicon.h:27
Notifier< uiSystemTrayIcon > middleClicked
Definition: uisystemtrayicon.h:41
Notifier< uiSystemTrayIcon > messageClicked
Definition: uisystemtrayicon.h:38
Notifier< uiSystemTrayIcon > rightClicked
Definition: uisystemtrayicon.h:40
uiSystemTrayIcon * receiver_
Definition: i_qsystemtrayicon.h:46