aboutsummaryrefslogtreecommitdiffstats
path: root/include/quitdialog.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-05-11 22:09:22 +0000
committerSaturneric <[email protected]>2021-05-11 22:09:22 +0000
commit8a63cb095c5a6b488e0bbf19269ab7aae492bfcc (patch)
tree13dd8241e6267b4fae6bb1356d3789e7de40ea37 /include/quitdialog.h
parentQt5 & Cmake Supported. (diff)
downloadGpgFrontend-8a63cb095c5a6b488e0bbf19269ab7aae492bfcc.tar.gz
GpgFrontend-8a63cb095c5a6b488e0bbf19269ab7aae492bfcc.zip
Change CXX Standard to C++14
Headers Tidy and Reformat
Diffstat (limited to '')
-rwxr-xr-xinclude/quitdialog.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/include/quitdialog.h b/include/quitdialog.h
index 5fff5527..b0558d27 100755
--- a/include/quitdialog.h
+++ b/include/quitdialog.h
@@ -22,28 +22,25 @@
#ifndef __QUITDIALOG_H__
#define __QUITDIALOG_H__
-#include <include/GPG4USB.h>
-#include <QtGui>
+#include <GPG4USB.h>
-QT_BEGIN_NAMESPACE
-class QTableWidget;
-QT_END_NAMESPACE
-
-class QuitDialog : public QDialog
-{
- Q_OBJECT
+class QuitDialog : public QDialog {
+Q_OBJECT
public:
- QuitDialog(QWidget *parent,QHash<int, QString> unsavedDocs);
+ QuitDialog(QWidget *parent, QHash<int, QString> unsavedDocs);
+
bool isDiscarded();
- QList <int> getTabIdsToSave();
+
+ QList<int> getTabIdsToSave();
private slots:
+
void slotMyDiscard();
private:
- QAction *closeAct;
- QLabel *nameLabel;
+ [[maybe_unused]] QAction *closeAct;
+ [[maybe_unused]] QLabel *nameLabel;
bool discarded;
QTableWidget *mFileList;
};