summaryrefslogtreecommitdiffstats
path: root/src/modules/filetransferwindow
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/filetransferwindow')
-rw-r--r--src/modules/filetransferwindow/filetransferwindow.cpp12
-rw-r--r--src/modules/filetransferwindow/libkvifiletransferwindow.cpp8
2 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/filetransferwindow/filetransferwindow.cpp b/src/modules/filetransferwindow/filetransferwindow.cpp
index b34b843f..f6068378 100644
--- a/src/modules/filetransferwindow/filetransferwindow.cpp
+++ b/src/modules/filetransferwindow/filetransferwindow.cpp
@@ -460,7 +460,7 @@ void KviFileTransferWindow::openLocalFileTerminal()
if(!t)return;
TQString tmp = t->localFileName();
if(tmp.isEmpty())return;
- int idx = tmp.tqfindRev("/");
+ int idx = tmp.findRev("/");
if(idx == -1)return;
tmp = tmp.left(idx);
tmp.append("\"");
@@ -476,7 +476,7 @@ void KviFileTransferWindow::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);
@@ -518,7 +518,7 @@ void KviFileTransferWindow::openLocalFile()
if(!t)return;
TQString tmp = t->localFileName();
if(tmp.isEmpty())return;
- tmp.tqreplace("/","\\");
+ tmp.replace("/","\\");
ShellExecute(0,"open",tmp.local8Bit().data(),NULL,NULL,SW_SHOWNORMAL); //You have to link the shell32.lib
#else //!COMPILE_ON_WINDOWS
// G&N end
@@ -553,7 +553,7 @@ void KviFileTransferWindow::openLocalFileWith()
if(!t)return;
TQString tmp = t->localFileName();
if(tmp.isEmpty())return;
- tmp.tqreplace("/","\\");
+ tmp.replace("/","\\");
tmp.prepend("rundll32.exe shell32.dll,OpenAs_RunDLL "); // this if to show the 'open with...' window
WinExec(tmp.local8Bit().data(),SW_SHOWNORMAL);
#else //!COMPILE_ON_WINDOWS
@@ -598,7 +598,7 @@ void KviFileTransferWindow::openLocalFileFolder()
TQString tmp = t->localFileName();
if(tmp.isEmpty())return;
tmp=TQFileInfo(tmp).dirPath(TRUE);
- tmp.tqreplace('/','\\');
+ tmp.replace('/','\\');
tmp.prepend("explorer.exe ");
WinExec(tmp.local8Bit().data(), SW_MAXIMIZE);
#else //!COMPILE_ON_WINDOWS
@@ -609,7 +609,7 @@ void KviFileTransferWindow::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);
diff --git a/src/modules/filetransferwindow/libkvifiletransferwindow.cpp b/src/modules/filetransferwindow/libkvifiletransferwindow.cpp
index 1fe2217e..8a4c7e29 100644
--- a/src/modules/filetransferwindow/libkvifiletransferwindow.cpp
+++ b/src/modules/filetransferwindow/libkvifiletransferwindow.cpp
@@ -45,7 +45,7 @@ static KviModuleExtension * filetransferwindow_extension_alloc(KviModuleExtensio
{
if(s->pParams)
{
- if(TQVariant * v = s->pParams->tqfind("bCreateMinimized"))
+ if(TQVariant * v = s->pParams->find("bCreateMinimized"))
{
if(v->isValid())
{
@@ -65,7 +65,7 @@ static KviModuleExtension * filetransferwindow_extension_alloc(KviModuleExtensio
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 filetransferwindow_kvs_cmd_open(KviKvsModuleCommandCall * c)
KviPointerHashTable<TQString,TQVariant> dict(17,true);
dict.setAutoDelete(true);
TQString dummy;
- dict.tqreplace("bCreateMinimized",new TQVariant(c->hasSwitch('m',dummy)));
- dict.tqreplace("bNoRaise",new TQVariant(c->hasSwitch('n',dummy)));
+ dict.replace("bCreateMinimized",new TQVariant(c->hasSwitch('m',dummy)));
+ dict.replace("bNoRaise",new TQVariant(c->hasSwitch('n',dummy)));
d->allocate(c->window(),&dict,0);
} else {