diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
commit | 7346aee26bf190a7e70333c40fab4caca847cd27 (patch) | |
tree | 4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /noatun-plugins/oblique/base.h | |
parent | 23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff) | |
download | tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun-plugins/oblique/base.h')
-rw-r--r-- | noatun-plugins/oblique/base.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/noatun-plugins/oblique/base.h b/noatun-plugins/oblique/base.h index c9cb8d4..611c5fe 100644 --- a/noatun-plugins/oblique/base.h +++ b/noatun-plugins/oblique/base.h @@ -6,9 +6,9 @@ // ;) #define unless(e) if(!(e)) -#include <qstring.h> -#include <qobject.h> -#include <qptrlist.h> +#include <tqstring.h> +#include <tqobject.h> +#include <tqptrlist.h> class File; class Slice; @@ -26,10 +26,10 @@ Q_OBJECT unsigned int mFormatVersion; public: - Base(const QString &file); + Base(const TQString &file); ~Base(); - File add(const QString &file); + File add(const TQString &file); File find(FileId id); @@ -45,10 +45,10 @@ public: **/ File first(FileId id=1); - QString property(FileId id, const QString &property) const; - void setProperty(FileId id, const QString &key, const QString &value); - QStringList properties(FileId id) const; - void clearProperty(FileId, const QString &key); + TQString property(FileId id, const TQString &property) const; + void setProperty(FileId id, const TQString &key, const TQString &value); + TQStringList properties(FileId id) const; + void clearProperty(FileId, const TQString &key); /** * same as File::remove @@ -62,8 +62,8 @@ public: void dump(); - QPtrList<Slice> slices(); - Slice *addSlice(const QString &name); + TQPtrList<Slice> slices(); + Slice *addSlice(const TQString &name); Slice *defaultSlice(); Slice *sliceById(int id); @@ -98,8 +98,8 @@ private: * load the xml that lives at the head of the db and contains * potentially lots of structured data **/ - void loadMetaXML(const QString &xml); - QString saveMetaXML(); + void loadMetaXML(const TQString &xml); + TQString saveMetaXML(); }; #endif |