diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2022-05-17 11:37:19 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2023-07-09 17:17:53 +0200 |
| commit | 86bb01ba9eac879d3685c439ac9da0028bc4bc80 (patch) | |
| tree | 90cc575c2d02113af459b7772418285f2e5caa1f /src/aboutdialog.h | |
| parent | 7d6cb8528d20e36a4cee822263865ee2f7f32481 (diff) | |
Convert everything to CRLF.
Diffstat (limited to 'src/aboutdialog.h')
| -rw-r--r-- | src/aboutdialog.h | 166 |
1 files changed, 83 insertions, 83 deletions
diff --git a/src/aboutdialog.h b/src/aboutdialog.h index 02d840ec..f029f931 100644 --- a/src/aboutdialog.h +++ b/src/aboutdialog.h @@ -1,83 +1,83 @@ -#ifndef ABOUTDIALOG_H
-/*
-Copyright (C) 2014 Sebastian Herbord. All rights reserved.
-
-This file is part of Mod Organizer.
-
-Mod Organizer 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.
-
-Mod Organizer 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.
-
-You should have received a copy of the GNU General Public License
-along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-
-#define ABOUTDIALOG_H
-
-#include <QDialog>
-class QListWidgetItem;
-#include <QObject>
-#include <QString>
-
-#include <map>
-
-namespace Ui {
- class AboutDialog;
-}
-
-class AboutDialog : public QDialog
-{
- Q_OBJECT
-
-public:
- explicit AboutDialog(const QString &version, QWidget *parent = 0);
- ~AboutDialog();
-
-private:
-
- enum Licenses {
- LICENSE_NONE,
- LICENSE_LGPL3,
- LICENSE_LGPL21,
- LICENSE_GPL3,
- LICENSE_GPL2,
- LICENSE_BOOST,
- LICENSE_CCBY3,
- LICENSE_PYTHON,
- LICENSE_SSL,
- LICENSE_CPPTOML,
- LICENSE_7ZIP,
- LICENSE_ZLIB,
- LICENSE_UDIS,
- LICENSE_SPDLOG,
- LICENSE_FMT,
- LICENSE_SIP,
- LICENSE_CASTLE,
- LICENSE_ANTLR,
- LICENSE_DXTEX
- };
-
-private:
-
- void addLicense(const QString &name, Licenses license);
-
-private slots:
- void on_creditsList_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
- void on_sourceText_linkActivated(const QString &link);
-
-private:
-
- Ui::AboutDialog *ui;
-
- std::map<int, QString> m_LicenseFiles;
-
-};
-
-#endif // ABOUTDIALOG_H
+#ifndef ABOUTDIALOG_H +/* +Copyright (C) 2014 Sebastian Herbord. All rights reserved. + +This file is part of Mod Organizer. + +Mod Organizer 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. + +Mod Organizer 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. + +You should have received a copy of the GNU General Public License +along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. +*/ + + +#define ABOUTDIALOG_H + +#include <QDialog> +class QListWidgetItem; +#include <QObject> +#include <QString> + +#include <map> + +namespace Ui { + class AboutDialog; +} + +class AboutDialog : public QDialog +{ + Q_OBJECT + +public: + explicit AboutDialog(const QString &version, QWidget *parent = 0); + ~AboutDialog(); + +private: + + enum Licenses { + LICENSE_NONE, + LICENSE_LGPL3, + LICENSE_LGPL21, + LICENSE_GPL3, + LICENSE_GPL2, + LICENSE_BOOST, + LICENSE_CCBY3, + LICENSE_PYTHON, + LICENSE_SSL, + LICENSE_CPPTOML, + LICENSE_7ZIP, + LICENSE_ZLIB, + LICENSE_UDIS, + LICENSE_SPDLOG, + LICENSE_FMT, + LICENSE_SIP, + LICENSE_CASTLE, + LICENSE_ANTLR, + LICENSE_DXTEX + }; + +private: + + void addLicense(const QString &name, Licenses license); + +private slots: + void on_creditsList_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous); + void on_sourceText_linkActivated(const QString &link); + +private: + + Ui::AboutDialog *ui; + + std::map<int, QString> m_LicenseFiles; + +}; + +#endif // ABOUTDIALOG_H |
