X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fhighlightsettingspage.h;h=96af4eebbfd8cb9dafb5300c669e6a43d1b26909;hp=06dffa0ff06cdb411b90036aac3991405cfe000b;hb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;hpb=30b159cb876a9495de42e9a3e70ca050516f0805 diff --git a/src/qtui/settingspages/highlightsettingspage.h b/src/qtui/settingspages/highlightsettingspage.h index 06dffa0f..96af4eeb 100644 --- a/src/qtui/settingspages/highlightsettingspage.h +++ b/src/qtui/settingspages/highlightsettingspage.h @@ -21,10 +21,11 @@ #ifndef _HIGHLIGHTSETTINGSPAGE_H_ #define _HIGHLIGHTSETTINGSPAGE_H_ -#include #include +#include #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(QWidget* parent = 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(QTableWidgetItem* item); + void tableChanged(QTableWidgetItem* item); /** * 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