summaryrefslogtreecommitdiff
path: root/src/aboutdialog.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2022-05-17 11:47:01 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2023-07-09 17:20:40 +0200
commitd13f6bb870cdda71257f665367be8ef9fca86255 (patch)
tree52e214718478f1e52856572f5aa1a2ac58537f9f /src/aboutdialog.h
parent86bb01ba9eac879d3685c439ac9da0028bc4bc80 (diff)
Apply clang-format.
Diffstat (limited to 'src/aboutdialog.h')
-rw-r--r--src/aboutdialog.h26
1 files changed, 12 insertions, 14 deletions
diff --git a/src/aboutdialog.h b/src/aboutdialog.h
index f029f931..8b95e2e7 100644
--- a/src/aboutdialog.h
+++ b/src/aboutdialog.h
@@ -18,7 +18,6 @@ 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,8 +27,9 @@ class QListWidgetItem;
#include <map>
-namespace Ui {
- class AboutDialog;
+namespace Ui
+{
+class AboutDialog;
}
class AboutDialog : public QDialog
@@ -37,12 +37,12 @@ class AboutDialog : public QDialog
Q_OBJECT
public:
- explicit AboutDialog(const QString &version, QWidget *parent = 0);
+ explicit AboutDialog(const QString& version, QWidget* parent = 0);
~AboutDialog();
private:
-
- enum Licenses {
+ enum Licenses
+ {
LICENSE_NONE,
LICENSE_LGPL3,
LICENSE_LGPL21,
@@ -65,19 +65,17 @@ private:
};
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_sourceText_linkActivated(const QString &link);
+ void on_creditsList_currentItemChanged(QListWidgetItem* current,
+ QListWidgetItem* previous);
+ void on_sourceText_linkActivated(const QString& link);
private:
-
- Ui::AboutDialog *ui;
+ Ui::AboutDialog* ui;
std::map<int, QString> m_LicenseFiles;
-
};
-#endif // ABOUTDIALOG_H
+#endif // ABOUTDIALOG_H