diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /ksirc/ksparser.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/ksparser.h')
-rw-r--r-- | ksirc/ksparser.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ksirc/ksparser.h b/ksirc/ksparser.h index e7d2647f..b6e95a5c 100644 --- a/ksirc/ksparser.h +++ b/ksirc/ksparser.h @@ -7,10 +7,10 @@ #ifndef __ksparser_h__ #define __ksparser_h__ -#include <qstring.h> -#include <qmap.h> -#include <qcolor.h> -#include <qvaluestack.h> +#include <tqstring.h> +#include <tqmap.h> +#include <tqcolor.h> +#include <tqvaluestack.h> // Helper class to parse IRC colour/style codes and convert them to // richtext. The parser maintains an internal stack of the styles @@ -22,19 +22,19 @@ class KSParser { public: - QString parse(const QString &); + TQString parse(const TQString &); bool beeped() const { return m_beeped; } private: - QString pushTag(const QString &, const QString & = QString::null); - QString popTag(const QString &); - QString toggleTag(const QString &, const QString & = QString::null); - QString popAll(); - QColor ircColor(int); + TQString pushTag(const TQString &, const TQString & = TQString::null); + TQString popTag(const TQString &); + TQString toggleTag(const TQString &, const TQString & = TQString::null); + TQString popAll(); + TQColor ircColor(int); private: - QValueStack<QString> m_tags; - QMap<QString, QString> m_attributes; + TQValueStack<TQString> m_tags; + TQMap<TQString, TQString> m_attributes; bool m_beeped; }; |