fixing auto expand issues with new networks
[quassel.git] / src / uisupport / uistyle.h
index 14d60a1..69947fc 100644 (file)
@@ -152,6 +152,7 @@ public:
   QString mircToInternal(const QString &) const;
 
   void setFormat(FormatType, QTextCharFormat, Settings::Mode mode/* = Settings::Custom*/);
+    void setSenderAutoColor(bool state);
   QTextCharFormat format(FormatType, Settings::Mode mode = Settings::Custom) const;
   QTextCharFormat mergedFormat(quint32 formatType);
   QFontMetricsF *fontMetrics(quint32 formatType);
@@ -164,6 +165,7 @@ public:
   QList<QTextLayout::FormatRange> toTextLayoutList(const FormatList &, int textLength);
 
 protected:
+  bool _senderAutoColor;
 private:
   QFont _defaultFont;
   QTextCharFormat _defaultPlainFormat;