summaryrefslogtreecommitdiffstats
path: root/src/toolinfo.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:26 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:26 -0600
commit392b293dfeaa3e4241e50b833126d0c2d598761d (patch)
tree2e113362b942a9339c055661efd21cdb626e5e1d /src/toolinfo.cpp
parent1d9c18c8a07f4833695c6a2ab978698ae1cc90e7 (diff)
downloadkvpnc-392b293dfeaa3e4241e50b833126d0c2d598761d.tar.gz
kvpnc-392b293dfeaa3e4241e50b833126d0c2d598761d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 1d9c18c8a07f4833695c6a2ab978698ae1cc90e7.
Diffstat (limited to 'src/toolinfo.cpp')
-rw-r--r--src/toolinfo.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/toolinfo.cpp b/src/toolinfo.cpp
index 06765d5..f59eed3 100644
--- a/src/toolinfo.cpp
+++ b/src/toolinfo.cpp
@@ -83,7 +83,7 @@ bool ToolInfo::collectToolInfo()
{
// if (GlobalConfig->KvpncDebugLevel > 2)
// {
-// std::cout << TQString(i18n("Trying first %1 at %2 has been failed, trying other paths").arg(Name).arg(TryPath_first)).ascii() << std::endl;
+// std::cout << TQString(i18n("Trying first %1 at %2 has been failed, trying other paths").tqarg(Name).tqarg(TryPath_first)).ascii() << std::endl;
// std::cout << "searchpath list: " << SearchPathList.join(" ").ascii() << std::endl;
// }
// std::cout << "searchpath list: " << SearchPathList.join(" ").ascii() << std::endl;
@@ -91,12 +91,12 @@ bool ToolInfo::collectToolInfo()
{
TQString TryPath=TQString(*it)+"/"+Name;
// if (GlobalConfig->KvpncDebugLevel > 2)
-// std::cout << TQString (i18n("Trying %1 at: %2").arg(Name).arg(TryPath)).ascii() << std::endl;
+// std::cout << TQString (i18n("Trying %1 at: %2").tqarg(Name).tqarg(TryPath)).ascii() << std::endl;
if (!TryPath.isEmpty() && TQFile (TryPath).exists() && TQFileInfo(TryPath).isFile() )
{
// if (GlobalConfig->KvpncDebugLevel > 2)
-// std::cout << TQString(i18n("%1 found at: %2").arg(Name).arg(TryPath)).ascii() << std::endl;
+// std::cout << TQString(i18n("%1 found at: %2").tqarg(Name).tqarg(TryPath)).ascii() << std::endl;
found=true;
PathToExec=TryPath;
break;
@@ -197,7 +197,7 @@ bool ToolInfo::collectToolInfo()
if ( !PathToExec.isEmpty() && !CollectToolInfoProcess->start(env) )
{
- std::cerr << (i18n("Unable to start collectToolInfo process (%1)!").arg(Name)).ascii() << std::endl;
+ std::cerr << (i18n("Unable to start collectToolInfo process (%1)!").tqarg(Name)).ascii() << std::endl;
//delete CollectToolInfoProcess;
collectRunning=false;
success=false;
@@ -237,7 +237,7 @@ bool ToolInfo::collectToolInfo()
else
{
// if (GlobalConfig->KvpncDebugLevel > 2)
-// std::cout << TQString(i18n("%1 not found.").arg(Name)).ascii() << std::endl;
+// std::cout << TQString(i18n("%1 not found.").tqarg(Name)).ascii() << std::endl;
}
return success;
}
@@ -263,7 +263,7 @@ void ToolInfo::getOpenvpnCapabilities()
if ( !PathToExec.isEmpty() && !CollectOpenvpnCapabilitiesProcess->start(env) )
{
- std::cerr << i18n("Unable to start collectToolInfo process (%1)!").arg(Name).ascii() << std::endl;
+ std::cerr << i18n("Unable to start collectToolInfo process (%1)!").tqarg(Name).ascii() << std::endl;
//delete CollectToolInfoProcess;
collectOpenvpnCapabilitiesRunning=false;