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 | 33e6166f7e62c479bad5d46ad240ea9704f848fd (patch) | |
tree | bc5e8185ff98d6a605247158ca6a5b924dccd67a /k9devices | |
parent | 68db2ce8a8c330a47485477eb3cee9e7036f6071 (diff) | |
download | k9copy-33e6166f7e62c479bad5d46ad240ea9704f848fd.tar.gz k9copy-33e6166f7e62c479bad5d46ad240ea9704f848fd.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'k9devices')
-rw-r--r-- | k9devices/k9cddrive.cpp | 4 | ||||
-rw-r--r-- | k9devices/k9dbusdispatch.cpp | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/k9devices/k9cddrive.cpp b/k9devices/k9cddrive.cpp index 5fdf0bf..954bd36 100644 --- a/k9devices/k9cddrive.cpp +++ b/k9devices/k9cddrive.cpp @@ -157,10 +157,10 @@ void k9CdDrives::readConfig() { TQStringList::Iterator it3=lIO.at(i); drive->name=(*it2); TQString c=(*it3); - if (c.tqcontains("I")) { + if (c.contains("I")) { drive->canReadDVD=true; } - if (c.tqcontains("O")) { + if (c.contains("O")) { drive->canWriteCDR=true; drive->canWriteDVD=true; } diff --git a/k9devices/k9dbusdispatch.cpp b/k9devices/k9dbusdispatch.cpp index c8c6a09..32f8df8 100644 --- a/k9devices/k9dbusdispatch.cpp +++ b/k9devices/k9dbusdispatch.cpp @@ -42,7 +42,7 @@ static dbus_bool_t qDBusAddWatch(DBusWatch *watch, void *data) d->connect(watcher.write, TQT_SIGNAL(activated(int)), TQT_SLOT(socketWrite(int))); } // FIXME-QT4 d->watchers.insertMulti(fd, watcher); - K9DBusDispatch::WatcherHash::iterator it = d->watchers.tqfind(fd); + K9DBusDispatch::WatcherHash::iterator it = d->watchers.find(fd); if (it == d->watchers.end()) { it = d->watchers.insert(fd, K9DBusDispatch::WatcherList()); @@ -58,7 +58,7 @@ static void qDBusRemoveWatch(DBusWatch *watch, void *data) int fd = dbus_watch_get_fd(watch); - K9DBusDispatch::WatcherHash::iterator it = d->watchers.tqfind(fd); + K9DBusDispatch::WatcherHash::iterator it = d->watchers.find(fd); if (it != d->watchers.end()) { K9DBusDispatch::WatcherList& list = *it; @@ -96,7 +96,7 @@ static void qDBusToggleWatch(DBusWatch *watch, void *data) K9DBusDispatch *d=(K9DBusDispatch*)data; int fd = dbus_watch_get_fd(watch); - K9DBusDispatch::WatcherHash::iterator it = d->watchers.tqfind(fd); + K9DBusDispatch::WatcherHash::iterator it = d->watchers.find(fd); if (it != d->watchers.end()) { K9DBusDispatch::WatcherList& list = *it; for (K9DBusDispatch::WatcherList::iterator wit = list.begin(); wit != list.end(); @@ -163,7 +163,7 @@ void K9DBusDispatch::purgeRemovedWatches() void K9DBusDispatch::socketRead(int fd) { // FIXME-QT4 TQHashIterator<int, TQDBusConnectionPrivate::Watcher> it(watchers); - WatcherHash::const_iterator it = watchers.tqfind(fd); + WatcherHash::const_iterator it = watchers.find(fd); if (it != watchers.end()) { const WatcherList& list = *it; for (WatcherList::const_iterator wit = list.begin(); wit != list.end(); ++wit) { @@ -179,7 +179,7 @@ void K9DBusDispatch::socketRead(int fd) void K9DBusDispatch::socketWrite(int fd) { // FIXME-QT4 TQHashIterator<int, TQDBusConnectionPrivate::Watcher> it(watchers); - WatcherHash::const_iterator it = watchers.tqfind(fd); + WatcherHash::const_iterator it = watchers.find(fd); if (it != watchers.end()) { const WatcherList& list = *it; for (WatcherList::const_iterator wit = list.begin(); wit != list.end(); ++wit) { |