summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/ksparser.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/irc/ksparser.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-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 'kopete/protocols/irc/ksparser.h')
-rw-r--r--kopete/protocols/irc/ksparser.h38
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