X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fqtuistyle.h;h=805ce4f4c538cb42da954ab6a6bd1c4b2601e65b;hb=6f442c275cc5a2d5f1084ac2ceca5f1ffce1d024;hp=82943b42385150e62566659b893b292d88ea3cea;hpb=d6b056e936ec441258d291b7a8af7b83f9f53016;p=quassel.git diff --git a/src/qtui/qtuistyle.h b/src/qtui/qtuistyle.h index 82943b42..805ce4f4 100644 --- a/src/qtui/qtuistyle.h +++ b/src/qtui/qtuistyle.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-07 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 * @@ -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