X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fqtuistyle.h;h=805ce4f4c538cb42da954ab6a6bd1c4b2601e65b;hp=d2b9fe2ec03492fe697749b91f60ac61f95bb8ae;hb=fcf721c85ec4f804d11ac1553592de860f5a3f1d;hpb=8699dd758516d0ded076811e8ea656adc95e69d0 diff --git a/src/qtui/qtuistyle.h b/src/qtui/qtuistyle.h index d2b9fe2e..805ce4f4 100644 --- a/src/qtui/qtuistyle.h +++ b/src/qtui/qtuistyle.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -18,19 +18,27 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#ifndef _QTUISTYLE_H_ -#define _QTUISTYLE_H_ +#ifndef QTUISTYLE_H_ +#define QTUISTYLE_H_ #include "uistyle.h" class QtUiStyle : public UiStyle { - public: - QtUiStyle(); - virtual ~QtUiStyle(); +public: + QtUiStyle(); + virtual ~QtUiStyle(); - virtual int sepTsSender() { return 10; } - virtual int sepSenderText() { return 10; } + 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