diff options
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); |