X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fhighlightsettingspage.h;h=8fdb70819c09c7d1489275d005e7ba2007336c0d;hb=f8275c3b697f1ee43d93bb4e5e688e87ca0405ce;hp=04dfd117bbccdce81a8ffeb4474bf431daa85d1f;hpb=7a814314a9bb879f3af6148ce74f31d6427650db;p=quassel.git diff --git a/src/qtui/settingspages/highlightsettingspage.h b/src/qtui/settingspages/highlightsettingspage.h index 04dfd117..8fdb7081 100644 --- a/src/qtui/settingspages/highlightsettingspage.h +++ b/src/qtui/settingspages/highlightsettingspage.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel IRC Team * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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();