summaryrefslogtreecommitdiffstats
path: root/ksirc/ksparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/ksparser.h')
-rw-r--r--ksirc/ksparser.h24
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;
};