aboutsummaryrefslogtreecommitdiffstats
path: root/include/ui/QuitDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ui/QuitDialog.h')
-rwxr-xr-xinclude/ui/QuitDialog.h33
1 files changed, 18 insertions, 15 deletions
diff --git a/include/ui/QuitDialog.h b/include/ui/QuitDialog.h
index 8d69cfd2..19af7534 100755
--- a/include/ui/QuitDialog.h
+++ b/include/ui/QuitDialog.h
@@ -1,22 +1,25 @@
-/*
- * keymgmt.h
+/**
+ * This file is part of GPGFrontend.
*
- * Copyright 2008 gpg4usb-team <[email protected]>
+ * 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.
*
- * This file is part of gpg4usb.
+ * Foobar is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * Gpg4usb 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.
+ * You should have received a copy of the GNU General Public License
+ * along with Foobar. If not, see <https://www.gnu.org/licenses/>.
*
- * Gpg4usb is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * The initial version of the source code is inherited from gpg4usb-team.
+ * Their source code version also complies with GNU General Public License.
+ *
+ * The source code version of this software was modified and released
+ * by Saturneric<[email protected]> starting on May 12, 2021.
*
- * You should have received a copy of the GNU General Public License
- * along with gpg4usb. If not, see <http://www.gnu.org/licenses/>
*/
#ifndef __QUITDIALOG_H__
@@ -30,7 +33,7 @@ Q_OBJECT
public:
QuitDialog(QWidget *parent, const QHash<int, QString>& unsavedDocs);
- bool isDiscarded() const;
+ [[nodiscard]] bool isDiscarded() const;
QList<int> getTabIdsToSave();