diff options
Diffstat (limited to 'kopete/protocols/irc/ksparser.h')
-rw-r--r-- | kopete/protocols/irc/ksparser.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kopete/protocols/irc/ksparser.h b/kopete/protocols/irc/ksparser.h index dda7b7c1..cc9d9dc4 100644 --- a/kopete/protocols/irc/ksparser.h +++ b/kopete/protocols/irc/ksparser.h @@ -7,11 +7,11 @@ #ifndef __ksparser_h__ #define __ksparser_h__ -#include <qcolor.h> -#include <qmap.h> -#include <qregexp.h> -#include <qstring.h> -#include <qvaluestack.h> +#include <tqcolor.h> +#include <tqmap.h> +#include <tqregexp.h> +#include <tqstring.h> +#include <tqvaluestack.h> /* * Helper class to parse IRC color/style codes and convert them to @@ -25,30 +25,30 @@ class KSParser { public: - static QCString parse(const QCString &); - static int colorForHTML( const QString &html ); + static TQCString parse(const TQCString &); + static int colorForHTML( const TQString &html ); - static QColor ircColor(const QString &color); - static QColor ircColor(unsigned int color); + static TQColor ircColor(const TQString &color); + static TQColor ircColor(unsigned int color); ~KSParser(); private: KSParser(); - QCString _parse(const QCString &); - QString pushTag(const QString &, const QString & = QString::null); - QString pushColorTag(const QColor &fgColor, const QColor &bgColor); - QString popTag(const QString &); - QString toggleTag(const QString &); - QString popAll(); + TQCString _parse(const TQCString &); + TQString pushTag(const TQString &, const TQString & = TQString::null); + TQString pushColorTag(const TQColor &fgColor, const TQColor &bgColor); + TQString popTag(const TQString &); + TQString toggleTag(const TQString &); + TQString popAll(); private: static KSParser m_parser; - static const QColor IRC_Colors[17]; - static const QRegExp sm_colorsModeRegexp; + static const TQColor IRC_Colors[17]; + static const TQRegExp sm_colorsModeRegexp; - QValueStack<QString> m_tags; - QMap<QString, QString> m_attributes; + TQValueStack<TQString> m_tags; + TQMap<TQString, TQString> m_attributes; }; #endif |