From 72aaee9802d447ee21340b011856b9b355a58f1a Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/modules/sharedfileswindow/libkvisharedfileswindow.cpp | 8 ++++---- src/modules/sharedfileswindow/sharedfileswindow.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/modules/sharedfileswindow') diff --git a/src/modules/sharedfileswindow/libkvisharedfileswindow.cpp b/src/modules/sharedfileswindow/libkvisharedfileswindow.cpp index 48e81dc8..a7f6bc20 100644 --- a/src/modules/sharedfileswindow/libkvisharedfileswindow.cpp +++ b/src/modules/sharedfileswindow/libkvisharedfileswindow.cpp @@ -47,7 +47,7 @@ static KviModuleExtension * sharedfileswindow_extension_alloc(KviModuleExtension { if(s->pParams) { - if(TQVariant * v = s->pParams->tqfind("bCreateMinimized")) + if(TQVariant * v = s->pParams->find("bCreateMinimized")) { if(v->isValid()) { @@ -67,7 +67,7 @@ static KviModuleExtension * sharedfileswindow_extension_alloc(KviModuleExtension if(s->pParams) { - if(TQVariant * v = s->pParams->tqfind("bNoRaise")) + if(TQVariant * v = s->pParams->find("bNoRaise")) { if(v) { @@ -108,8 +108,8 @@ static bool sharedfileswindow_kvs_cmd_open(KviKvsModuleCommandCall * c) { KviPointerHashTable dict(17,true); dict.setAutoDelete(true); - dict.tqreplace("bCreateMinimized",new TQVariant(c->hasSwitch('m',"minimized"))); - dict.tqreplace("bNoRaise",new TQVariant(c->hasSwitch('n',"noraise"))); + dict.replace("bCreateMinimized",new TQVariant(c->hasSwitch('m',"minimized"))); + dict.replace("bNoRaise",new TQVariant(c->hasSwitch('n',"noraise"))); d->allocate(c->window(),&dict,0); } else { diff --git a/src/modules/sharedfileswindow/sharedfileswindow.cpp b/src/modules/sharedfileswindow/sharedfileswindow.cpp index 7e2364fe..7c40b6e3 100644 --- a/src/modules/sharedfileswindow/sharedfileswindow.cpp +++ b/src/modules/sharedfileswindow/sharedfileswindow.cpp @@ -535,7 +535,7 @@ void KviSharedFilesWindow::openLocalFileTerminal() TQString tmp = t->localFileName(); if(tmp.isEmpty())return; - int idx = tmp.tqfindRev("/"); + int idx = tmp.findRev("/"); if(idx == -1)return; tmp = tmp.left(idx); @@ -606,7 +606,7 @@ void KviSharedFilesWindow::openLocalFileFolder() TQString tmp = t->localFileName(); if(tmp.isEmpty())return; - int idx = tmp.tqfindRev("/"); + int idx = tmp.findRev("/"); if(idx == -1)return; tmp = tmp.left(idx); -- cgit v1.2.1