X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fuisupport%2Fnickview.h;h=a40b6d747b9a3bc7d90e3983a9798abc96e83ccf;hb=b3ec58929bead822048a25f87f6a0d699c490b7a;hp=45d03f17676e508b24462524398f59c515bdeb16;hpb=f1823aad7ce73a2dd17807ed4dfde552be7ae769;p=quassel.git diff --git a/src/uisupport/nickview.h b/src/uisupport/nickview.h index 45d03f17..a40b6d74 100644 --- a/src/uisupport/nickview.h +++ b/src/uisupport/nickview.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 * @@ -48,4 +48,19 @@ private: void executeCommand(const BufferInfo & bufferInfo, const QString & command); }; +// ****************************** +// NickViewDelgate +// ****************************** +#include + +class NickViewDelegate : public QStyledItemDelegate { + Q_OBJECT + +public: + NickViewDelegate(QObject *parent = 0); + +protected: + virtual void initStyleOption(QStyleOptionViewItem *option, const QModelIndex &index) const; +}; + #endif