summaryrefslogtreecommitdiffstats
path: root/ksirc/ksircprocess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/ksircprocess.cpp')
-rw-r--r--ksirc/ksircprocess.cpp10
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);
}