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/ksircprocess.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/ksircprocess.cpp')
-rw-r--r-- | ksirc/ksircprocess.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ksirc/ksircprocess.cpp b/ksirc/ksircprocess.cpp index e0eb019c..3c07d8ad 100644 --- a/ksirc/ksircprocess.cpp +++ b/ksirc/ksircprocess.cpp @@ -203,7 +203,7 @@ KSircProcess::KSircProcess( TQString &server_id, KSircServer &kss, TQObject * tq default_follow_focus = TRUE; KSircChannel ci(kss.server(), "!no_channel"); new_toplevel(ci, true); // - TopList.tqreplace("!default", TopList[ci.channel()]); + TopList.replace("!default", TopList[ci.channel()]); running_window = FALSE; // set false so next changes the first name @@ -341,7 +341,7 @@ void KSircProcess::new_toplevel(const KSircChannel &channelInfo, bool safe) // TopList.remove("!no_channel"); // We're no longer !no_channel TopList["!no_channel"]->control_message(CHANGE_CHANNEL, channelInfo.server() + "!!!" + channelInfo.channel() + "!!!" + channelInfo.key()); } - else if(TopList.tqfind(channelInfo.channel()) == 0x0){ // If the window doesn't exist, continue + else if(TopList.find(channelInfo.channel()) == 0x0){ // If the window doesn't exist, continue // If AutoCreate windows is on, let's make sure we're not being flooded. if(ksopts->autoCreateWin == TRUE && safe == false){ time_t current_time = time(NULL); @@ -407,7 +407,7 @@ void KSircProcess::new_toplevel(const KSircChannel &channelInfo, bool safe) wm->lineEdit()->setFocus(); // Give focus back to the linee, someone takes it away on new create } else { - TQWidget *w = dynamic_cast<TQWidget *>(TopList.tqfind(channelInfo.channel())); + TQWidget *w = dynamic_cast<TQWidget *>(TopList.find(channelInfo.channel())); if(w) displayMgr->raise(w); } @@ -452,7 +452,7 @@ void KSircProcess::close_toplevel(KSircTopLevel *wm, TQString name) } if (isDefault) - TopList.tqreplace("!default", it.current()); + TopList.replace("!default", it.current()); // Let's let em know she's deleted! if(ksopts->autoCreateWin == TRUE){ @@ -526,7 +526,7 @@ void KSircProcess::default_window(KSircTopLevel *w) // if(w && (default_follow_focus == TRUE)) - TopList.tqreplace("!default", w); + TopList.replace("!default", w); } |