diff options
| author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2018-02-23 01:45:58 +0100 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2018-02-23 01:45:58 +0100 |
| commit | ea6292168a6acd4c263913f0ccd7dd64daf4f5cf (patch) | |
| tree | 312024abbd7c3c100274f3a8031d49096480b654 /src/aboutdialog.h | |
| parent | 5e5c9c07291f6b09623d31c92b1fb61c4ede576e (diff) | |
Revert "Applied clang-format on source"
This reverts commit 5e5c9c07291f6b09623d31c92b1fb61c4ede576e.
Diffstat (limited to 'src/aboutdialog.h')
| -rw-r--r-- | src/aboutdialog.h | 44 |
1 files changed, 25 insertions, 19 deletions
diff --git a/src/aboutdialog.h b/src/aboutdialog.h index a5c93834..103a0d2f 100644 --- a/src/aboutdialog.h +++ b/src/aboutdialog.h @@ -18,6 +18,7 @@ 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>
@@ -28,38 +29,43 @@ class QListWidgetItem; #include <map>
namespace Ui {
-class AboutDialog;
+ class AboutDialog;
}
-class AboutDialog : public QDialog {
- Q_OBJECT
+class AboutDialog : public QDialog
+{
+ Q_OBJECT
public:
- explicit AboutDialog(const QString& version, QWidget* parent = 0);
- ~AboutDialog();
+ explicit AboutDialog(const QString &version, QWidget *parent = 0);
+ ~AboutDialog();
private:
- enum Licenses {
- LICENSE_NONE,
- LICENSE_LGPL3,
- LICENSE_GPL3,
- LICENSE_BSD3,
- LICENSE_BOOST,
- LICENSE_CCBY3,
- LICENSE_ZLIB,
- LICENSE_APACHE2
- };
+
+ enum Licenses {
+ LICENSE_NONE,
+ LICENSE_LGPL3,
+ LICENSE_GPL3,
+ LICENSE_BSD3,
+ LICENSE_BOOST,
+ LICENSE_CCBY3,
+ LICENSE_ZLIB,
+ LICENSE_APACHE2
+ };
private:
- void addLicense(const QString& name, Licenses license);
+
+ void addLicense(const QString &name, Licenses license);
private slots:
- void on_creditsList_currentItemChanged(QListWidgetItem* current, QListWidgetItem* previous);
+ void on_creditsList_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
private:
- Ui::AboutDialog* ui;
- std::map<int, QString> m_LicenseFiles;
+ Ui::AboutDialog *ui;
+
+ std::map<int, QString> m_LicenseFiles;
+
};
#endif // ABOUTDIALOG_H
|
