X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fhighlightsettingspage.h;h=cc8bdbc7753e99697150b946cc7efb64a92adcdc;hp=04dfd117bbccdce81a8ffeb4474bf431daa85d1f;hb=9ced25191b84390d1867cf3ee19f5aec741795a8;hpb=278aef059d7652b2a4e1359d72bb4028524246d4 diff --git a/src/qtui/settingspages/highlightsettingspage.h b/src/qtui/settingspages/highlightsettingspage.h index 04dfd117..cc8bdbc7 100644 --- a/src/qtui/settingspages/highlightsettingspage.h +++ b/src/qtui/settingspages/highlightsettingspage.h @@ -42,7 +42,7 @@ class HighlightSettingsPage : public SettingsPage { private slots: void widgetHasChanged(); - void addNewRow(bool regex = false, QString name = tr("highlight rule"), bool enable = true); + void addNewRow(QString name = tr("highlight rule"), bool regex = false, bool cs = true, bool enable = true); void removeSelectedRows(); void selectRow(QTableWidgetItem *item); void tableChanged(QTableWidgetItem *item); @@ -54,6 +54,13 @@ class HighlightSettingsPage : public SettingsPage { // regex: bool // name: QString // enable: bool + enum column { + NameColumn = 0, + RegExColumn = 1, + CsColumn = 2, + EnableColumn = 3, + ColumnCount = 4 + }; void emptyTable();