summaryrefslogtreecommitdiffstats
path: root/src/toolinfo.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:13 -0600
commit1d9c18c8a07f4833695c6a2ab978698ae1cc90e7 (patch)
treec61f8778c1c540d79ed77c3f69018fcba0bca646 /src/toolinfo.cpp
parent2622d5ad003c636cda4bc36246df8a7fe9ac5d9f (diff)
downloadkvpnc-1d9c18c8a07f4833695c6a2ab978698ae1cc90e7.tar.gz
kvpnc-1d9c18c8a07f4833695c6a2ab978698ae1cc90e7.zip
Rename a number of old tq methods that are no longer tq specific
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 f59eed3..06765d5 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").tqarg(Name).tqarg(TryPath_first)).ascii() << std::endl;
+// 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 << "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").tqarg(Name).tqarg(TryPath)).ascii() << std::endl;
+// std::cout << TQString (i18n("Trying %1 at: %2").arg(Name).arg(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").tqarg(Name).tqarg(TryPath)).ascii() << std::endl;
+// std::cout << TQString(i18n("%1 found at: %2").arg(Name).arg(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)!").tqarg(Name)).ascii() << std::endl;
+ std::cerr << (i18n("Unable to start collectToolInfo process (%1)!").arg(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.").tqarg(Name)).ascii() << std::endl;
+// std::cout << TQString(i18n("%1 not found.").arg(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)!").tqarg(Name).ascii() << std::endl;
+ std::cerr << i18n("Unable to start collectToolInfo process (%1)!").arg(Name).ascii() << std::endl;
//delete CollectToolInfoProcess;
collectOpenvpnCapabilitiesRunning=false;