summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/htmlparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbugbuster/backend/htmlparser.h')
-rw-r--r--kbugbuster/backend/htmlparser.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/kbugbuster/backend/htmlparser.h b/kbugbuster/backend/htmlparser.h
index ffb0a22a..b8ad2c6f 100644
--- a/kbugbuster/backend/htmlparser.h
+++ b/kbugbuster/backend/htmlparser.h
@@ -29,9 +29,9 @@
#include "error.h"
#include "rdfprocessor.h"
-#include <qstringlist.h>
-#include <qvaluelist.h>
-#include <qmap.h>
+#include <tqstringlist.h>
+#include <tqvaluelist.h>
+#include <tqmap.h>
class HtmlParser : public RdfProcessor
{
@@ -44,8 +44,8 @@ class HtmlParser : public RdfProcessor
HtmlParser( BugServer *s ) : RdfProcessor( s ), mState( Idle ) {}
virtual ~HtmlParser() {}
- KBB::Error parseBugList( const QByteArray &data, Bug::List &bugs );
- KBB::Error parsePackageList( const QByteArray &data,
+ KBB::Error parseBugList( const TQByteArray &data, Bug::List &bugs );
+ KBB::Error parsePackageList( const TQByteArray &data,
Package::List &packages );
void setPackageListQuery( KURL & );
@@ -53,14 +53,14 @@ class HtmlParser : public RdfProcessor
protected:
virtual void init();
- virtual KBB::Error parseLine( const QString &line, Bug::List &bugs );
- virtual KBB::Error parseLine( const QString &line,
+ virtual KBB::Error parseLine( const TQString &line, Bug::List &bugs );
+ virtual KBB::Error parseLine( const TQString &line,
Package::List &packages );
virtual void processResult( Package::List &packages );
- QString getAttribute( const QString &line, const QString &name );
- bool getCpts( const QString &line, QString &key, QStringList &values );
+ TQString getAttribute( const TQString &line, const TQString &name );
+ bool getCpts( const TQString &line, TQString &key, TQStringList &values );
};
@@ -70,8 +70,8 @@ class HtmlParser_2_10 : public HtmlParser
HtmlParser_2_10( BugServer *s ) : HtmlParser( s ) {}
protected:
- KBB::Error parseLine( const QString &line, Bug::List &bugs );
- KBB::Error parseLine( const QString &line, Package::List &packages );
+ KBB::Error parseLine( const TQString &line, Bug::List &bugs );
+ KBB::Error parseLine( const TQString &line, Package::List &packages );
};
@@ -83,12 +83,12 @@ class HtmlParser_2_14_2 : public HtmlParser_2_10
protected:
void init();
- KBB::Error parseLine( const QString &line, Package::List &packages );
+ KBB::Error parseLine( const TQString &line, Package::List &packages );
void processResult( Package::List &packages );
private:
- QMap<QString, QStringList> mComponentsMap;
+ TQMap<TQString, TQStringList> mComponentsMap;
};
@@ -98,19 +98,19 @@ class HtmlParser_2_17_1 : public HtmlParser
public:
HtmlParser_2_17_1( BugServer *s ) : HtmlParser( s ) {}
- KBB::Error parseBugList( const QByteArray &data, Bug::List &bugs );
+ KBB::Error parseBugList( const TQByteArray &data, Bug::List &bugs );
protected:
void init();
- KBB::Error parseLine( const QString &line, Bug::List &bugs );
- KBB::Error parseLine( const QString &line, Package::List &packages );
+ KBB::Error parseLine( const TQString &line, Bug::List &bugs );
+ KBB::Error parseLine( const TQString &line, Package::List &packages );
void processResult( Package::List &packages );
private:
- QStringList mProducts;
- QValueList<QStringList> mComponents;
+ TQStringList mProducts;
+ TQValueList<TQStringList> mComponents;
};
#endif