source: src-qt4/life-preserver/LPTray.h @ e9760d0

9.2-releasereleng/10.0releng/10.0.1
Last change on this file since e9760d0 was e9760d0, checked in by Ken Moore <ken@…>, 7 months ago

Add the beginnings of a new Life Preserver main GUI (LPMain)

  • Property mode set to 100644
File size: 553 bytes
Line 
1#ifndef _LP_TRAY_H
2#define _LP_TRAY_H
3
4#include <QSystemTrayIcon>
5#include <QMenu>
6#include <QString>
7#include <QMessageBox>
8
9#include "mainUI.h"
10#include "LPWatcher.h"
11
12class LPTray : public QSystemTrayIcon{
13                Q_OBJECT
14public:
15        LPTray();
16        ~LPTray();
17
18private:
19        LPWatcher *watcher;
20        QMenu *menu;
21        mainUI *GUI;
22
23
24        void updateTrayIcon();
25        void updateToolTip();
26       
27private slots:
28        void watcherMessage(QString type = "");
29
30        void slotTrayClicked(QSystemTrayIcon::ActivationReason);
31        void slotClose();
32        void slotSingleInstance();
33        void startGUI();
34
35};
36
37#endif
Note: See TracBrowser for help on using the repository browser.