Make UiStyle a QObject
[quassel.git] / src / qtui / qtuistyle.h
index 805ce4f..8f38d46 100644 (file)
 #include "uistyle.h"
 
 class QtUiStyle : public UiStyle {
+  Q_OBJECT
 
 public:
-  QtUiStyle();
+  QtUiStyle(QObject *parent = 0);
   virtual ~QtUiStyle();
 
   virtual inline qreal firstColumnSeparator() const { return 6; }
   virtual inline qreal secondColumnSeparator() const { return 6; }
-  virtual inline QColor highlightColor() const { return _highlightColor; }
-  virtual void setHighlightColor(const QColor &);
 
-protected:
-  void inline addSenderAutoColor( FormatType type, const QString name );
-
-private:
-  QColor _highlightColor;
 };
 
 #endif