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
35 namespace GpgFrontend::UI {
36
41 class 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
64 void SignalKeyDatabaseRefreshDone();
65
72 void SignalRefreshInfoBoard(const QString& text,
73 InfoBoardStatus verify_label_status);
74
81 void SignalRefreshStatusBar(const QString& message, int timeout);
82
87 void SignalUserInputPassphraseDone(QString passparase);
88
93 void SignalNeedUserInputPassphrase();
94
99 void SignalRestartApplication(int);
100 };
101
102 } // namespace GpgFrontend::UI
103
104 #endif // GPGFRONTEND_SIGNALSTATION_H
GpgFrontend::UI::SignalStation
Definition: SignalStation.h:41
GpgFrontend::UI::SignalStation::SignalRefreshStatusBar
void SignalRefreshStatusBar(const QString &message, int timeout)
GpgFrontend::UI::SignalStation::SignalRefreshInfoBoard
void SignalRefreshInfoBoard(const QString &text, InfoBoardStatus verify_label_status)
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
GpgFrontend::UI
Definition: FileReadTask.cpp:29
GpgFrontend::UI::InfoBoardStatus
InfoBoardStatus
Definition: InfoBoardWidget.h:43