aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/ShowCopyDialog.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/ShowCopyDialog.h (renamed from include/ui/ShowCopyDialog.h)27
1 files changed, 16 insertions, 11 deletions
diff --git a/include/ui/ShowCopyDialog.h b/src/ui/ShowCopyDialog.h
index 45b06e2d..82deedee 100644
--- a/include/ui/ShowCopyDialog.h
+++ b/src/ui/ShowCopyDialog.h
@@ -25,22 +25,27 @@
#ifndef GPGFRONTEND_ZH_CN_TS_SHOWCOPYDIALOG_H
#define GPGFRONTEND_ZH_CN_TS_SHOWCOPYDIALOG_H
-#include "GpgFrontend.h"
+#include "ui/GpgFrontendUI.h"
+
+namespace GpgFrontend::UI {
class ShowCopyDialog : public QDialog {
-Q_OBJECT
-public:
- explicit ShowCopyDialog(const QString &text, const QString &info = "", QWidget *parent = nullptr);
+ Q_OBJECT
+ public:
+ explicit ShowCopyDialog(const QString& text,
+ const QString& info = "",
+ QWidget* parent = nullptr);
-private slots:
+ private slots:
- void slotCopyText();
+ void slotCopyText();
-private:
- QLabel *infoLabel;
- QTextEdit *textEdit;
- QPushButton *copyButton;
+ private:
+ QLabel* infoLabel;
+ QTextEdit* textEdit;
+ QPushButton* copyButton;
};
+} // namespace GpgFrontend::UI
-#endif //GPGFRONTEND_ZH_CN_TS_SHOWCOPYDIALOG_H
+#endif // GPGFRONTEND_ZH_CN_TS_SHOWCOPYDIALOG_H