Initial Channel specific highlights feature implementation
[quassel.git] / src / qtui / settingspages / highlightsettingspage.h
index 04dfd11..60996f1 100644 (file)
@@ -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();