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 | f32d0d5fd00bb0fb863bf82a406f98ccf909cd8b (patch) | |
tree | 51cd396142993d8cc972f94d0b81abbbeb9ee6ee /tqdbusintegrator.cpp | |
parent | c8d1884b41b717f12665f760b74757e851fddb15 (diff) | |
download | dbus-1-tqt-f32d0d5fd00bb0fb863bf82a406f98ccf909cd8b.tar.gz dbus-1-tqt-f32d0d5fd00bb0fb863bf82a406f98ccf909cd8b.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/dbus-1-tqt@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'tqdbusintegrator.cpp')
-rw-r--r-- | tqdbusintegrator.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tqdbusintegrator.cpp b/tqdbusintegrator.cpp index c61801f..6083805 100644 --- a/tqdbusintegrator.cpp +++ b/tqdbusintegrator.cpp @@ -145,7 +145,7 @@ static dbus_bool_t qDBusAddWatch(DBusWatch *watch, void *data) } } // FIXME-QT4 d->watchers.insertMulti(fd, watcher); - TQT_DBusConnectionPrivate::WatcherHash::iterator it = d->watchers.tqfind(fd); + TQT_DBusConnectionPrivate::WatcherHash::iterator it = d->watchers.find(fd); if (it == d->watchers.end()) { it = d->watchers.insert(fd, TQT_DBusConnectionPrivate::WatcherList()); @@ -165,7 +165,7 @@ static void qDBusRemoveWatch(DBusWatch *watch, void *data) TQT_DBusConnectionPrivate *d = static_cast<TQT_DBusConnectionPrivate *>(data); int fd = dbus_watch_get_unix_fd(watch); - TQT_DBusConnectionPrivate::WatcherHash::iterator it = d->watchers.tqfind(fd); + TQT_DBusConnectionPrivate::WatcherHash::iterator it = d->watchers.find(fd); if (it != d->watchers.end()) { TQT_DBusConnectionPrivate::WatcherList& list = *it; @@ -207,7 +207,7 @@ static void qDBusToggleWatch(DBusWatch *watch, void *data) TQT_DBusConnectionPrivate *d = static_cast<TQT_DBusConnectionPrivate *>(data); int fd = dbus_watch_get_unix_fd(watch); - TQT_DBusConnectionPrivate::WatcherHash::iterator it = d->watchers.tqfind(fd); + TQT_DBusConnectionPrivate::WatcherHash::iterator it = d->watchers.find(fd); if (it != d->watchers.end()) { TQT_DBusConnectionPrivate::WatcherList& list = *it; for (TQT_DBusConnectionPrivate::WatcherList::iterator wit = list.begin(); wit != list.end(); @@ -357,7 +357,7 @@ void TQT_DBusConnectionPrivate::bindToApplication() void TQT_DBusConnectionPrivate::socketRead(int fd) { // FIXME-QT4 TQHashIterator<int, TQT_DBusConnectionPrivate::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) { @@ -374,7 +374,7 @@ void TQT_DBusConnectionPrivate::socketRead(int fd) void TQT_DBusConnectionPrivate::socketWrite(int fd) { // FIXME-QT4 TQHashIterator<int, TQT_DBusConnectionPrivate::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) { @@ -466,7 +466,7 @@ bool TQT_DBusConnectionPrivate::handleObjectCall(DBusMessage *message) { TQT_DBusMessage msg = TQT_DBusMessage::fromDBusMessage(message); - ObjectMap::iterator it = registeredObjects.tqfind(msg.path()); + ObjectMap::iterator it = registeredObjects.find(msg.path()); if (it == registeredObjects.end()) return false; @@ -559,7 +559,7 @@ static void qDBusResultReceived(DBusPendingCall *pending, void *user_data) { //qDebug("Pending Call Result received"); TQT_DBusConnectionPrivate* d = reinterpret_cast<TQT_DBusConnectionPrivate*>(user_data); - TQT_DBusConnectionPrivate::PendingCallMap::iterator it = d->pendingCalls.tqfind(pending); + TQT_DBusConnectionPrivate::PendingCallMap::iterator it = d->pendingCalls.find(pending); DBusMessage *dbusReply = dbus_pending_call_steal_reply(pending); |