X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fhighlightsettingspage.h;h=60996f1ed70be71072b9a1d589b8cd555aa89752;hp=04dfd117bbccdce81a8ffeb4474bf431daa85d1f;hb=7a413a4808e9357e7d2c69840efe913b4c4ab0a3;hpb=7a814314a9bb879f3af6148ce74f31d6427650db;ds=sidebyside diff --git a/src/qtui/settingspages/highlightsettingspage.h b/src/qtui/settingspages/highlightsettingspage.h index 04dfd117..60996f1e 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, QString chanName = ""); void removeSelectedRows(); void selectRow(QTableWidgetItem *item); void tableChanged(QTableWidgetItem *item); @@ -54,6 +54,14 @@ class HighlightSettingsPage : public SettingsPage { // regex: bool // name: QString // enable: bool + enum column { + NameColumn = 0, + RegExColumn = 1, + CsColumn = 2, + EnableColumn = 3, + ChanColumn = 4, + ColumnCount = 5 + }; void emptyTable();