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 | 937b2991d8e78166eea904c80ad04d34607017a4 (patch) | |
tree | 2accb8161eab09df5d7a5484ea9ea080ad123168 /ksirc/dockservercontroller.cpp | |
parent | dba26cb985af370c33d1767037851705cc561726 (diff) | |
download | tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.tar.gz tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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){ |