modernize: Reformat ALL the source... again!
[quassel.git] / src / qtui / settingspages / highlightsettingspage.h
index 06dffa0..96af4ee 100644 (file)
 #ifndef _HIGHLIGHTSETTINGSPAGE_H_
 #define _HIGHLIGHTSETTINGSPAGE_H_
 
-#include <QVariantList>
 #include <QTableWidgetItem>
+#include <QVariantList>
 
 #include "settingspage.h"
+
 #include "ui_highlightsettingspage.h"
 
 class HighlightSettingsPage : public SettingsPage
@@ -32,7 +33,7 @@ class HighlightSettingsPage : public SettingsPage
     Q_OBJECT
 
 public:
-    HighlightSettingsPage(QWidget *parent = nullptr);
+    HighlightSettingsPage(QWidgetparent = nullptr);
 
     bool hasDefaults() const override;
 
@@ -43,10 +44,15 @@ public slots:
 
 private slots:
     void widgetHasChanged();
-    void addNewRow(QString name = tr("highlight rule"), bool regex = false, bool cs = false, bool enable = true, QString chanName = "", bool self = false);
+    void addNewRow(QString name = tr("highlight rule"),
+                   bool regex = false,
+                   bool cs = false,
+                   bool enable = true,
+                   QString chanName = "",
+                   bool self = false);
     void removeSelectedRows();
-    void selectRow(QTableWidgetItem *item);
-    void tableChanged(QTableWidgetItem *item);
+    void selectRow(QTableWidgetItemitem);
+    void tableChanged(QTableWidgetItemitem);
 
     /**
      * Event handler for Local Highlights Details button
@@ -60,7 +66,8 @@ private:
     //    regex:  bool
     //    name:   QString
     //    enable: bool
-    enum column {
+    enum column
+    {
         EnableColumn = 0,
         NameColumn = 1,
         RegExColumn = 2,
@@ -74,5 +81,4 @@ private:
     bool testHasChanged();
 };
 
-
 #endif