summaryrefslogtreecommitdiffstats
path: root/ksquirrel/ksquirrelpart/sq_externaltool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksquirrel/ksquirrelpart/sq_externaltool.cpp')
-rw-r--r--ksquirrel/ksquirrelpart/sq_externaltool.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksquirrel/ksquirrelpart/sq_externaltool.cpp b/ksquirrel/ksquirrelpart/sq_externaltool.cpp
index aa93578..adc0fda 100644
--- a/ksquirrel/ksquirrelpart/sq_externaltool.cpp
+++ b/ksquirrel/ksquirrelpart/sq_externaltool.cpp
@@ -201,8 +201,8 @@ void SQ_ExternalTool::slotActivateTool(int id)
Tool *tool = &at(index);
TQString comm = tool->command;
- int per_f = comm.tqcontains("%f");
- int per_F = comm.tqcontains("%F");
+ int per_f = comm.contains("%f");
+ int per_F = comm.contains("%F");
// %f = single file
// %F = multiple files
@@ -219,7 +219,7 @@ void SQ_ExternalTool::slotActivateTool(int id)
else if(per_f)
{
KURL u = list.first();
- comm.tqreplace("%f", KShellProcess::quote(u.isLocalFile() ? u.path() : u.prettyURL()));
+ comm.replace("%f", KShellProcess::quote(u.isLocalFile() ? u.path() : u.prettyURL()));
proc << comm;
}
else
@@ -234,7 +234,7 @@ void SQ_ExternalTool::slotActivateTool(int id)
files.append(" ");
}
- comm.tqreplace("%F", files);
+ comm.replace("%F", files);
proc << comm;
}