Brining back the removed color options
[quassel.git] / src / qtui / settingspages / colorsettingspage.h
index 7e7aa42..a89190d 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  *
@@ -25,6 +25,7 @@
 
 #include "settingspage.h"
 #include "ui_colorsettingspage.h"
+#include "uistyle.h"
 
 class QSignalMapper;
 class ColorButton;
@@ -41,6 +42,12 @@ class ColorSettingsPage : public SettingsPage {
     void save();
     void load();
     void defaults();
+    void defaultBufferview();
+    void defaultServerActivity();
+    void defaultUserActivity();
+    void defaultMessage();
+    void defaultMircColorCodes();
+    void defaultNickview();
 
   private slots:
     void widgetHasChanged();
@@ -54,6 +61,8 @@ class ColorSettingsPage : public SettingsPage {
     bool testHasChanged();
     void chatviewPreview();
     void bufferviewPreview();
+    void saveColor(UiStyle::FormatType formatType, const QColor &foreground, const QColor &background, bool enableBG = true);
+    void saveMircColor(int num, const QColor &color);
 };
 
 #endif