GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
SignalStation.h
1
29#ifndef GPGFRONTEND_SIGNALSTATION_H
30#define GPGFRONTEND_SIGNALSTATION_H
31
32#include "ui/GpgFrontendUI.h"
33#include "ui/widgets/InfoBoardWidget.h"
34
35namespace GpgFrontend::UI {
36
41class SignalStation : public QObject {
42 Q_OBJECT
43 static std::unique_ptr<SignalStation> _instance;
44
45 public:
51 static SignalStation* GetInstance();
52
53 signals:
58 void SignalKeyDatabaseRefresh();
59
66 void SignalRefreshInfoBoard(const QString& text,
67 InfoBoardStatus verify_label_status);
68
75 void SignalRefreshStatusBar(const QString& message, int timeout);
76};
77
78} // namespace GpgFrontend::UI
79
80#endif // GPGFRONTEND_SIGNALSTATION_H
Definition: SignalStation.h:41
void SignalRefreshStatusBar(const QString &message, int timeout)
void SignalRefreshInfoBoard(const QString &text, InfoBoardStatus verify_label_status)
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:35
Definition: VerifyDetailsDialog.cpp:33
InfoBoardStatus
Definition: InfoBoardWidget.h:43