yubioath-flutter/systemtray.h
2017-08-14 12:27:04 +02:00

17 lines
321 B
C++

#ifndef SYSTEMTRAY_H
#define SYSTEMTRAY_H
#include <QSystemTrayIcon>
class SystemTray : public QSystemTrayIcon
{
Q_OBJECT
public:
explicit SystemTray(QObject *parent = 0);
signals:
void doubleClicked();
private slots:
void onActivate(QSystemTrayIcon::ActivationReason reason);
};
#endif // SYSTEMTRAY_H