summaryrefslogtreecommitdiffstats
path: root/akregator/src/librss/category.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/librss/category.cpp')
-rw-r--r--akregator/src/librss/category.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/akregator/src/librss/category.cpp b/akregator/src/librss/category.cpp
index 07508eca..3fd5bee2 100644
--- a/akregator/src/librss/category.cpp
+++ b/akregator/src/librss/category.cpp
@@ -25,8 +25,8 @@
#include "category.h"
#include "tools_p.h"
-#include <qdom.h>
-#include <qstring.h>
+#include <tqdom.h>
+#include <tqstring.h>
class QString;
@@ -37,8 +37,8 @@ class Category::CategoryPrivate : public Shared
{
public:
bool isNull;
- QString category;
- QString domain;
+ TQString category;
+ TQString domain;
bool operator==(const CategoryPrivate &other) const
{
@@ -61,11 +61,11 @@ bool Category::isNull() const
return d == 0;
}
-Category Category::fromXML(const QDomElement& e)
+Category Category::fromXML(const TQDomElement& e)
{
Category obj;
- if (e.hasAttribute(QString::fromLatin1("domain")))
- obj.d->domain = e.attribute(QString::fromLatin1("domain"));
+ if (e.hasAttribute(TQString::fromLatin1("domain")))
+ obj.d->domain = e.attribute(TQString::fromLatin1("domain"));
obj.d->category = e.text();
obj.d->isNull = false;
return obj;
@@ -81,7 +81,7 @@ Category::Category(const Category& other) : d(0)
*this = other;
}
-Category::Category(const QString& category, const QString& domain) : d(new CategoryPrivate)
+Category::Category(const TQString& category, const TQString& domain) : d(new CategoryPrivate)
{
d->isNull = false;
d->category = category;
@@ -114,14 +114,14 @@ bool Category::operator==(const Category &other) const
return *d == *other.d;
}
-QString Category::category() const
+TQString Category::category() const
{
- return !d->isNull ? d->category : QString::null;
+ return !d->isNull ? d->category : TQString::null;
}
-QString Category::domain() const
+TQString Category::domain() const
{
- return !d->isNull ? d->domain : QString::null;
+ return !d->isNull ? d->domain : TQString::null;
}
} // namespace RSS