diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /akregator/src/tagset.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'akregator/src/tagset.h')
-rw-r--r-- | akregator/src/tagset.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/akregator/src/tagset.h b/akregator/src/tagset.h index 0c0a2009e..be4bbdd93 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 */ |