]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/general/generalsettingspage.h
Add clang-format and format code as in Frameworks
[dolphin.git] / src / settings / general / generalsettingspage.h
index a68fc933b100ef4b265877fe41f1aaddc779ebe2..bb9099af057af732b04be57f9b5335bc37e19a1a 100644 (file)
@@ -1,27 +1,14 @@
-/***************************************************************************
- *   Copyright (C) 2006 by Peter Penz                                      *
- *   peter.penz@gmx.at                                                     *
- *                                                                         *
- *   This program 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 2 of the License, or     *
- *   (at your option) any later version.                                   *
- *                                                                         *
- *   This program 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 this program; if not, write to the                         *
- *   Free Software Foundation, Inc.,                                       *
- *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA          *
- ***************************************************************************/
+/*
+ * SPDX-FileCopyrightText: 2006 Peter Penz <peter.penz@gmx.at>
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
 #ifndef GENERALSETTINGSPAGE_H
 #define GENERALSETTINGSPAGE_H
 
+#include "settings/settingspagebase.h"
+
 #include <QWidget>
-#include <settings/settingspagebase.h>
 
 class QUrl;
 class SettingsPageBase;
@@ -40,7 +27,7 @@ class GeneralSettingsPage : public SettingsPageBase
     Q_OBJECT
 
 public:
-    GeneralSettingsPage(const QUrl& url, QWidget* parent);
+    GeneralSettingsPage(const QUrl &url, QWidget *parent);
     ~GeneralSettingsPage() override;
 
     /** @see SettingsPageBase::applySettings() */
@@ -50,7 +37,7 @@ public:
     void restoreDefaults() override;
 
 private:
-    QList<SettingsPageBase*> m_pages;
+    QList<SettingsPageBase *> m_pages;
 };
 
 #endif