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/selector.cpp | |
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/selector.cpp')
-rw-r--r-- | noatun-plugins/oblique/selector.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/noatun-plugins/oblique/selector.cpp b/noatun-plugins/oblique/selector.cpp index 1c17650..f28c333 100644 --- a/noatun-plugins/oblique/selector.cpp +++ b/noatun-plugins/oblique/selector.cpp @@ -14,7 +14,7 @@ Item::Item(const File &file) } -QString Item::property(const QString &key, const QString &def) const +TQString Item::property(const TQString &key, const TQString &def) const { if (key == "url") { @@ -23,27 +23,27 @@ QString Item::property(const QString &key, const QString &def) const return url.url(); } - QString str = mFile.property(key); + TQString str = mFile.property(key); if (str.isNull()) return def; return str; } -void Item::setProperty(const QString &key, const QString &property) +void Item::setProperty(const TQString &key, const TQString &property) { mFile.setProperty(key, property); } -void Item::clearProperty(const QString &key) +void Item::clearProperty(const TQString &key) { mFile.clearProperty(key); } -QStringList Item::properties() const +TQStringList Item::properties() const { return mFile.properties(); } -bool Item::isProperty(const QString &key) const +bool Item::isProperty(const TQString &key) const { return !mFile.property(key).isNull(); } |