You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
421 B
25 lines
421 B
14 years ago
|
#ifndef SYSTEMTRAY_H
|
||
|
#define SYSTEMTRAY_H
|
||
|
|
||
|
#include <QSystemTrayIcon>
|
||
|
#include "mainwindow.h"
|
||
|
|
||
|
class SystemTray : public QSystemTrayIcon
|
||
|
{
|
||
|
// Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
SystemTray(MainWindow *parent = 0);
|
||
|
|
||
|
private:
|
||
|
MainWindow *mainWindow;
|
||
|
QMenu *trayIconMenu;
|
||
|
QAction *minimizeAction;
|
||
|
QAction *maximizeAction;
|
||
|
QAction *restoreAction;
|
||
|
QAction *quitAction;
|
||
|
QIcon *icon;
|
||
|
};
|
||
|
|
||
|
#endif // SYSTEMTRAY_H
|