aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/QuitDialog.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/ui/QuitDialog.h (renamed from include/ui/QuitDialog.h)32
1 files changed, 18 insertions, 14 deletions
diff --git a/include/ui/QuitDialog.h b/src/ui/QuitDialog.h
index 19af7534..2b1dd37f 100755
--- a/include/ui/QuitDialog.h
+++ b/src/ui/QuitDialog.h
@@ -1,7 +1,7 @@
/**
- * This file is part of GPGFrontend.
+ * This file is part of GpgFrontend.
*
- * GPGFrontend is free software: you can redistribute it and/or modify
+ * GpgFrontend is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
@@ -25,25 +25,29 @@
#ifndef __QUITDIALOG_H__
#define __QUITDIALOG_H__
-#include <GpgFrontend.h>
+#include "ui/GpgFrontendUI.h"
+
+namespace GpgFrontend::UI {
class QuitDialog : public QDialog {
-Q_OBJECT
+ Q_OBJECT
-public:
- QuitDialog(QWidget *parent, const QHash<int, QString>& unsavedDocs);
+ public:
+ QuitDialog(QWidget* parent, const QHash<int, QString>& unsavedDocs);
- [[nodiscard]] bool isDiscarded() const;
+ [[nodiscard]] bool isDiscarded() const;
- QList<int> getTabIdsToSave();
+ QList<int> getTabIdsToSave();
-private slots:
+ private slots:
- void slotMyDiscard();
+ void slotMyDiscard();
-private:
- bool discarded;
- QTableWidget *mFileList;
+ private:
+ bool discarded;
+ QTableWidget* mFileList;
};
-#endif // __QUITDIALOG_H__
+} // namespace GpgFrontend::UI
+
+#endif // __QUITDIALOG_H__