diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 627b091fad9df13695f249588e8a58f524eda0fa (patch) | |
tree | 98ff502a8743af48d8b88996e9a494fec4110586 /noatun-plugins/oblique/base.cpp | |
parent | f6e9c8d694be3d1df338b385125e13db41af0b1f (diff) | |
download | tdeaddons-627b091fad9df13695f249588e8a58f524eda0fa.tar.gz tdeaddons-627b091fad9df13695f249588e8a58f524eda0fa.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun-plugins/oblique/base.cpp')
-rw-r--r-- | noatun-plugins/oblique/base.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noatun-plugins/oblique/base.cpp b/noatun-plugins/oblique/base.cpp index 6288f20..3cb5633 100644 --- a/noatun-plugins/oblique/base.cpp +++ b/noatun-plugins/oblique/base.cpp @@ -133,7 +133,7 @@ File Base::add(const TQString &file) return File(); } -File Base::tqfind(FileId id) +File Base::find(FileId id) { if (id == 0) return File(); @@ -155,7 +155,7 @@ void Base::clear() { for (FileId id = high(); id >= 1; id--) { - File f = tqfind(id); + File f = find(id); if (f) f.remove(); } @@ -171,7 +171,7 @@ File Base::first(FileId first) { if (first > high()) return File(); - while (!tqfind(first)) + while (!find(first)) { ++first; if (first > high()) @@ -183,8 +183,8 @@ File Base::first(FileId first) TQString Base::property(FileId id, const TQString &property) const { loadIntoCache(id); - if (!d->cachedProperties.tqcontains(property)) return TQString(); - TQMap<TQString,TQString>::Iterator i = d->cachedProperties.tqfind(property); + if (!d->cachedProperties.contains(property)) return TQString(); + TQMap<TQString,TQString>::Iterator i = d->cachedProperties.find(property); return i.data(); } |