summaryrefslogtreecommitdiffstats
path: root/src/modules/filetransferwindow/filetransferwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/filetransferwindow/filetransferwindow.cpp')
-rw-r--r--src/modules/filetransferwindow/filetransferwindow.cpp12
1 files changed, 6 insertions, 6 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);