summaryrefslogtreecommitdiffstats
path: root/akregator/src/librss/feeddetector.h
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/librss/feeddetector.h')
-rw-r--r--akregator/src/librss/feeddetector.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/akregator/src/librss/feeddetector.h b/akregator/src/librss/feeddetector.h
index c27acf76e..2f502acd4 100644
--- a/akregator/src/librss/feeddetector.h
+++ b/akregator/src/librss/feeddetector.h
@@ -25,8 +25,8 @@
#ifndef LIBRSS_FEEDDETECTOR_H
#define LIBRSS_FEEDDETECTOR_H
-#include <qstring.h>
-#include <qvaluelist.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
class QStringList;
class KURL;
@@ -38,18 +38,18 @@ namespace RSS
{
public:
FeedDetectorEntry() {}
- FeedDetectorEntry(const QString& url, const QString& title)
+ FeedDetectorEntry(const TQString& url, const TQString& title)
: m_url(url), m_title(title) {}
- const QString& url() const { return m_url; }
- const QString& title() const { return m_title; }
+ const TQString& url() const { return m_url; }
+ const TQString& title() const { return m_title; }
private:
- const QString m_url;
- const QString m_title;
+ const TQString m_url;
+ const TQString m_title;
};
- typedef QValueList<FeedDetectorEntry> FeedDetectorEntryList;
+ typedef TQValueList<FeedDetectorEntry> FeedDetectorEntryList;
/** a class providing functions to detect linked feeds in HTML sources */
class FeedDetector
@@ -61,16 +61,16 @@ namespace RSS
@param s the html source to scan (the actual source, no URI)
@return a list containing the detected feeds
*/
- static FeedDetectorEntryList extractFromLinkTags(const QString& s);
+ static FeedDetectorEntryList extractFromLinkTags(const TQString& s);
/** \brief searches an HTML page for slightly feed-like looking links and catches everything not running away quickly enough.
Extracts links from @c <a @c href> tags which end with @c xml, @c rss or @c rdf
@param s the html source to scan (the actual source, no URI)
@return a list containing the detected feeds
*/
- static QStringList extractBruteForce(const QString& s);
+ static TQStringList extractBruteForce(const TQString& s);
- static QString fixRelativeURL(const QString &s, const KURL &baseurl);
+ static TQString fixRelativeURL(const TQString &s, const KURL &baseurl);
private:
FeedDetector() {}