diff options
Diffstat (limited to 'ksirc/dockservercontroller.cpp')
-rw-r--r-- | ksirc/dockservercontroller.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ksirc/dockservercontroller.cpp b/ksirc/dockservercontroller.cpp index cdb3d2ae..4c553df6 100644 --- a/ksirc/dockservercontroller.cpp +++ b/ksirc/dockservercontroller.cpp @@ -240,9 +240,9 @@ void dockServerController::subItemActivated(int sub_id) servercontroller::self()->new_toplevel(KSircChannel(server, nick)); } else { - KSircProcess *kp = servercontroller::self()->processes().tqfind(server); + KSircProcess *kp = servercontroller::self()->processes().find(server); if(kp){ - KSircTopLevel *wm = dynamic_cast<KSircTopLevel *>(kp->getWindowList().tqfind("!default")); + KSircTopLevel *wm = dynamic_cast<KSircTopLevel *>(kp->getWindowList().find("!default")); if(wm){ if(cmd == i18n("Ping")){ wm->sirc_line_return("/ping " + nick + "\n"); @@ -433,10 +433,10 @@ void dockServerController::configNotify() void dockServerController::raiseWindow(TQString server, TQString name) { TQCString txt = server.utf8() + "_" + name.utf8() + "_toplevel"; - TQWidget *obj = dynamic_cast<TQWidget *>( objFinder::tqfind(txt, "KSircTopLevel")); + TQWidget *obj = dynamic_cast<TQWidget *>( objFinder::find(txt, "KSircTopLevel")); if(obj == 0x0){ txt = server.utf8() + "_!" + name.utf8() + "_toplevel"; - obj = dynamic_cast<TQWidget *>( objFinder::tqfind(txt, "KSircTopLevel")); + obj = dynamic_cast<TQWidget *>( objFinder::find(txt, "KSircTopLevel")); } if(obj != 0x0){ |