summaryrefslogtreecommitdiffstats
path: root/src/parsers/parsers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parsers/parsers.h')
-rw-r--r--src/parsers/parsers.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/parsers/parsers.h b/src/parsers/parsers.h
index 26e0113..904ff00 100644
--- a/src/parsers/parsers.h
+++ b/src/parsers/parsers.h
@@ -11,13 +11,13 @@
#ifndef PARSERS_H
#define PARSERS_H
-#include <qstring.h>
+#include <tqstring.h>
namespace KIO
{
class SlaveBase;
}
-class QHtmlStream;
+class TQHtmlStream;
class AptProtocol;
/** Here are defined the functional objects that takes the tokens
@@ -29,20 +29,20 @@ namespace Parsers
protected:
int m_result_count;
- static void attribute_begin(QHtmlStream& stream, const QString& text);
- static void attribute_end(QHtmlStream& stream);
+ static void attribute_begin(TQHtmlStream& stream, const TQString& text);
+ static void attribute_end(TQHtmlStream& stream);
public:
Parser();
virtual ~Parser();
int result_count() const { return m_result_count; }
- virtual void operator () (AptProtocol* slave, const QString& tag, const QString& value) = 0;
+ virtual void operator () (AptProtocol* slave, const TQString& tag, const TQString& value) = 0;
};
class Search : public Parser
{
public:
- void operator () (AptProtocol* slave, const QString& tag, const QString& value);
+ void operator () (AptProtocol* slave, const TQString& tag, const TQString& value);
};
class List : public Parser
@@ -50,42 +50,42 @@ namespace Parsers
bool m_links;
public:
List(bool show_links);
- void operator () (AptProtocol* slave, const QString& tag, const QString& value);
+ void operator () (AptProtocol* slave, const TQString& tag, const TQString& value);
};
class FileSearch : public Parser
{
public:
- void operator () (AptProtocol* slave, const QString& tag, const QString& value);
+ void operator () (AptProtocol* slave, const TQString& tag, const TQString& value);
};
class Show : public Parser
{
- QString m_package, m_installed;
+ TQString m_package, m_installed;
bool m_act;
public:
- Show(const QString& package, const QString& installed, bool act);
- void operator () (AptProtocol* slave, const QString& tag, const QString& value);
+ Show(const TQString& package, const TQString& installed, bool act);
+ void operator () (AptProtocol* slave, const TQString& tag, const TQString& value);
};
class Policy : public Parser
{
- QString m_package, m_installed;
+ TQString m_package, m_installed;
bool m_has_adept_batch;
bool m_act;
public:
- Policy(const QString& package, bool act);
- QString getInstalled() const { return m_installed; }
- void operator () (AptProtocol* slave, const QString& tag, const QString& value);
+ Policy(const TQString& package, bool act);
+ TQString getInstalled() const { return m_installed; }
+ void operator () (AptProtocol* slave, const TQString& tag, const TQString& value);
};
- void operator << (KIO::SlaveBase& slave, const QCString& string);
- void operator << (KIO::SlaveBase& slave, const QString& string);
+ void operator << (KIO::SlaveBase& slave, const TQCString& string);
+ void operator << (KIO::SlaveBase& slave, const TQString& string);
void operator << (KIO::SlaveBase& slave, const char* string);
- QString mangle_version(QString version);
+ TQString mangle_version(TQString version);
}
#endif