aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/HelpPage.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-10-02 14:08:50 +0000
committerSaturneric <[email protected]>2021-10-02 14:16:27 +0000
commit3c65d087eeee687ac01af2e80f3dd538f9a2c230 (patch)
tree1e860dc6343c1897e2224a002f2ca44c574381b3 /src/ui/widgets/HelpPage.h
parentThe basic functions of the core pass the test. (diff)
downloadGpgFrontend-3c65d087eeee687ac01af2e80f3dd538f9a2c230.tar.gz
GpgFrontend-3c65d087eeee687ac01af2e80f3dd538f9a2c230.zip
UI Framework Modified.
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