diff options
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 |