| Line | Revision | Contents |
| 1 | 1 | #ifndef EEECAMTRAY_H |
| 2 | #define EEECAMTRAY_H |
|
| 3 | ||
| 4 | #include <QSystemTrayIcon> |
|
| 5 | class QAction; |
|
| 6 | ||
| 7 | class EeeCamTray : public QSystemTrayIcon |
|
| 8 | { |
|
| 9 | Q_OBJECT |
|
| 10 | ||
| 11 | public: |
|
| 12 | EeeCamTray(); |
|
| 13 | ||
| 14 | private Q_SLOTS: |
|
| 15 | void checkStatus(); |
|
| 16 | void enableCamera(); |
|
| 17 | void disableCamera(); |
|
| 18 | ||
| 19 | private: |
|
| 20 | bool cameraIsEnabled(); |
|
| 21 | ||
| 22 | QAction *enableAct, *disableAct, *quitAct; |
|
| 23 | }; |
|
| 24 | ||
| 25 | #endif |
Loggerhead 1.17 is a web-based interface for Bazaar branches