diff options
author | Saturn&Eric <[email protected]> | 2021-12-05 08:14:53 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-12-05 08:14:53 +0000 |
commit | ab7e3bac8b5f1d1fdd8367bdb1a185be36b281c2 (patch) | |
tree | 234892f5ae225d67b24619209cf57636ec9d9b2d /src/ui/widgets/HelpPage.h | |
parent | Merge branch 'main' of github.com:saturneric/GpgFrontend (diff) | |
parent | Remove rapidjson and Improve update ploicy. (diff) | |
download | GpgFrontend-ab7e3bac8b5f1d1fdd8367bdb1a185be36b281c2.tar.gz GpgFrontend-ab7e3bac8b5f1d1fdd8367bdb1a185be36b281c2.zip |
Merge pull request #25 from saturneric/develop
Merge version 2.0.1 beta
Diffstat (limited to '')
-rw-r--r-- | src/ui/widgets/HelpPage.h (renamed from include/ui/widgets/HelpPage.h) | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/include/ui/widgets/HelpPage.h b/src/ui/widgets/HelpPage.h index 0b5e4ca3..25490557 100644 --- a/include/ui/widgets/HelpPage.h +++ b/src/ui/widgets/HelpPage.h @@ -22,25 +22,28 @@ #ifndef HELPPAGE_H #define HELPPAGE_H -#include <GpgFrontend.h> +#include "ui/GpgFrontendUI.h" -class HelpPage : public QWidget { -Q_OBJECT -public: - explicit HelpPage(const QString& path, QWidget *parent = nullptr); +namespace GpgFrontend::UI { - QTextBrowser *getBrowser(); +class HelpPage : public QWidget { + Q_OBJECT + public: + explicit HelpPage(const QString& path, QWidget* parent = nullptr); -signals: + QTextBrowser* getBrowser(); -public slots: + signals: - void slotOpenUrl(const QUrl& url); + public slots: -private: - QTextBrowser *browser; /** The textbrowser of the tab */ - QUrl localizedHelp(const QUrl& path); + void slotOpenUrl(const QUrl& url); + private: + QTextBrowser* browser; /** The textbrowser of the tab */ + QUrl localizedHelp(const QUrl& path); }; -#endif // HELPPAGE_H +} // namespace GpgFrontend::UI + +#endif // HELPPAGE_H |