1 /* This file is part of the KDE project
2 Copyright (C) 2003 Andrew Stanley-Jones
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GPL.
7 #ifndef __nickcolourmaker_h__
8 #define __nickcolourmaker_h__
18 nickColourInfo(int _fg
) { fg
= _fg
; }
22 // Helper class to parse IRC colour nicks in the
23 // irc channel and the nick list
29 int findIdx(QString nick
) const;
30 QColor
findFg(QString nick
) const;
31 QColor
operator[]( QString nick
) const
36 static nickColourMaker
*colourMaker() { return s_ncm
; }
40 static nickColourMaker
*s_ncm
;
41 Q3Dict
<nickColourInfo
> m_nicks
;