summaryrefslogtreecommitdiffstats
path: root/src/modules/sharedfileswindow
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit72aaee9802d447ee21340b011856b9b355a58f1a (patch)
treef97a68e4f75e6c25c8492e03fdfe6983fb0aa199 /src/modules/sharedfileswindow
parent5d03948cd3558c613fae1fad109635f860babcbb (diff)
downloadkvirc-72aaee9802d447ee21340b011856b9b355a58f1a.tar.gz
kvirc-72aaee9802d447ee21340b011856b9b355a58f1a.zip
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
Diffstat (limited to 'src/modules/sharedfileswindow')
-rw-r--r--src/modules/sharedfileswindow/libkvisharedfileswindow.cpp8
-rw-r--r--src/modules/sharedfileswindow/sharedfileswindow.cpp4
2 files changed, 6 insertions, 6 deletions
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<TQString,TQVariant> 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);