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/generateopenvpnkeydialog.cpp | |
parent | 699e356180fde57a72e0c37af2170b87a95f90b4 (diff) | |
download | kvpnc-1cc6550ea24abfd0acd8b2a5f627e4ff0b53dce7.tar.gz kvpnc-1cc6550ea24abfd0acd8b2a5f627e4ff0b53dce7.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/generateopenvpnkeydialog.cpp')
-rw-r--r-- | src/generateopenvpnkeydialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/generateopenvpnkeydialog.cpp b/src/generateopenvpnkeydialog.cpp index 0e631f6..8fdc1ae 100644 --- a/src/generateopenvpnkeydialog.cpp +++ b/src/generateopenvpnkeydialog.cpp @@ -91,12 +91,12 @@ void GenerateOpenvpnKeyDialog::canAccept() connect( generateOpenvpnKeyProcess, TQT_SIGNAL( readyReadStdout() ), this, TQT_SLOT( readStdErr() ) ); if ( !generateOpenvpnKeyProcess->start(env) ) { - KMessageBox::sorry( this, i18n( "Generating of %1 key failed!" ).tqarg( "openvpn" ) ); - GlobalConfig->appendLogEntry(i18n( "\"%1\" start failed!" ).tqarg( "openvpn" ),GlobalConfig->error); + KMessageBox::sorry( this, i18n( "Generating of %1 key failed!" ).arg( "openvpn" ) ); + GlobalConfig->appendLogEntry(i18n( "\"%1\" start failed!" ).arg( "openvpn" ),GlobalConfig->error); } else { - GlobalConfig->appendLogEntry( i18n("Generating of %1 key was successful.").tqarg("openvpn"), GlobalConfig->info); + GlobalConfig->appendLogEntry( i18n("Generating of %1 key was successful.").arg("openvpn"), GlobalConfig->info); genOk = true; } @@ -109,9 +109,9 @@ void GenerateOpenvpnKeyDialog::canAccept() delete generateOpenvpnKeyProcess; generateOpenvpnKeyProcess = 0L; if (genOk) - KMessageBox::information( this, i18n( "Generating the key in \"%1\" was successful." ).tqarg( filename ) ); + KMessageBox::information( this, i18n( "Generating the key in \"%1\" was successful." ).arg( filename ) ); else - KMessageBox::sorry( this, i18n( "Generating the key in \"%1\" failed!" ).tqarg( filename ) ); + KMessageBox::sorry( this, i18n( "Generating the key in \"%1\" failed!" ).arg( filename ) ); //std::cout << "accept" << std::endl; TQDialog::accept(); } |