summaryrefslogtreecommitdiffstats
path: root/ksirc/KSOpenkSirc/open_ksirc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/KSOpenkSirc/open_ksirc.cpp')
-rw-r--r--ksirc/KSOpenkSirc/open_ksirc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksirc/KSOpenkSirc/open_ksirc.cpp b/ksirc/KSOpenkSirc/open_ksirc.cpp
index f005394b..9f9bebf8 100644
--- a/ksirc/KSOpenkSirc/open_ksirc.cpp
+++ b/ksirc/KSOpenkSirc/open_ksirc.cpp
@@ -137,7 +137,7 @@ void open_ksirc::insertGroupList()
Server *serv;
for ( serv=Groups.first(); serv != 0; serv=Groups.next() ) {
- if (tempgroups.tqfind(serv->group()) == -1)
+ if (tempgroups.find(serv->group()) == -1)
tempgroups.inSort( serv->group() );
}
@@ -307,8 +307,8 @@ void open_ksirc::clickConnect()
conf->setGroup("ServerList");
conf->writeEntry("StorePasswords", CheckB_StorePassword->isChecked());
TQStringList recent = conf->readListEntry("RecentServers");
- if(recent.tqcontains(server)){
- TQStringList::Iterator it = recent.tqfind(server);
+ if(recent.contains(server)){
+ TQStringList::Iterator it = recent.find(server);
recent.remove(it);
}