diff options
author | Saturneric <[email protected]> | 2022-01-23 09:10:53 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-23 09:10:53 +0000 |
commit | 0dd16d72d75e2068b8365a49ef2696a4744575dd (patch) | |
tree | a463727ba5a5ee4d5afcfb0eaa4d8e6e48b7c930 /src/ui/SignalStation.h | |
parent | <refactor>(ui): tidy up codes and comments. (diff) | |
download | GpgFrontend-0dd16d72d75e2068b8365a49ef2696a4744575dd.tar.gz GpgFrontend-0dd16d72d75e2068b8365a49ef2696a4744575dd.zip |
<refactor>(ui): tidy up codes and comments.
1. tidy up ui.
Diffstat (limited to '')
-rw-r--r-- | src/ui/SignalStation.h | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/src/ui/SignalStation.h b/src/ui/SignalStation.h index 6bd27bc8..dbf978be 100644 --- a/src/ui/SignalStation.h +++ b/src/ui/SignalStation.h @@ -34,20 +34,45 @@ namespace GpgFrontend::UI { +/** + * @brief + * + */ class SignalStation : public QObject { Q_OBJECT static std::unique_ptr<SignalStation> _instance; public: + /** + * @brief Get the Instance object + * + * @return SignalStation* + */ static SignalStation* GetInstance(); signals: - void KeyDatabaseRefresh(); + /** + * @brief + * + */ + void SignalKeyDatabaseRefresh(); - void signalRefreshInfoBoard(const QString& text, + /** + * @brief + * + * @param text + * @param verify_label_status + */ + void SignalRefreshInfoBoard(const QString& text, InfoBoardStatus verify_label_status); - void signalRefreshStatusBar(const QString& message, int timeout); + /** + * @brief + * + * @param message + * @param timeout + */ + void SignalRefreshStatusBar(const QString& message, int timeout); }; } // namespace GpgFrontend::UI |