diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:40:12 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:40:12 -0600 |
commit | 1cc6550ea24abfd0acd8b2a5f627e4ff0b53dce7 (patch) | |
tree | 4ea4f480a5e503473600a48d44e163d64930a3c4 /src/toolinfo.cpp | |
parent | 699e356180fde57a72e0c37af2170b87a95f90b4 (diff) | |
download | kvpnc-1cc6550ea24abfd0acd8b2a5f627e4ff0b53dce7.tar.gz kvpnc-1cc6550ea24abfd0acd8b2a5f627e4ff0b53dce7.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/toolinfo.cpp')
-rw-r--r-- | src/toolinfo.cpp | 12 |
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; |