summaryrefslogtreecommitdiffstats
path: root/akregator/src/tagset.h
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/tagset.h')
-rw-r--r--akregator/src/tagset.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/akregator/src/tagset.h b/akregator/src/tagset.h
index 0c0a2009..be4bbdd9 100644
--- a/akregator/src/tagset.h
+++ b/akregator/src/tagset.h
@@ -25,7 +25,7 @@
#ifndef AKREGATOR_TAGSET_H
#define AKREGATOR_TAGSET_H
-#include <qobject.h>
+#include <tqobject.h>
class QDomDocument;
template <class K,class T> class QMap;
@@ -50,7 +50,7 @@ class TagSet : public QObject
Q_OBJECT
public:
- TagSet(QObject* parent=0);
+ TagSet(TQObject* parent=0);
virtual ~TagSet();
/** adds a tag to the tag set. The tag set will emit signalTagAdded */
@@ -60,20 +60,20 @@ class TagSet : public QObject
void remove(const Tag& tag);
/** returns the tag set as map ((id, Tag) pairs) */
- QMap<QString,Tag> toMap() const;
+ TQMap<TQString,Tag> toMap() const;
/** returns @c true if this set contains @c tag */
bool contains(const Tag& tag) const;
/** returns @c true if this set contains a tag with a given ID */
- bool containsID(const QString& id) const;
+ bool containsID(const TQString& id) const;
/** returns the tag with the given ID if the tag is element of the set, or a null tag if not */
- Tag findByID(const QString& id) const;
+ Tag findByID(const TQString& id) const;
/** reads tag set from XML
see toXML() for an explanation of the format */
- void readFromXML(const QDomDocument& doc);
+ void readFromXML(const TQDomDocument& doc);
/** returns an XML representation of the tag set.
The root element is @c <tagSet>, a tag ("someID", "someName") is represented as
@@ -87,7 +87,7 @@ class TagSet : public QObject
</tagSet>
\endcode
*/
- QDomDocument toXML() const;
+ TQDomDocument toXML() const;
signals:
/** emitted when a tag was added to this tag set */