summaryrefslogtreecommitdiffstats
path: root/src/generateopenvpnkeydialog.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/generateopenvpnkeydialog.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/generateopenvpnkeydialog.cpp')
-rw-r--r--src/generateopenvpnkeydialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/generateopenvpnkeydialog.cpp b/src/generateopenvpnkeydialog.cpp
index 04e13e9..8fdc1ae 100644
--- a/src/generateopenvpnkeydialog.cpp
+++ b/src/generateopenvpnkeydialog.cpp
@@ -39,7 +39,7 @@ GenerateOpenvpnKeyDialog::GenerateOpenvpnKeyDialog(KVpncConfig *GlobalConfig,TQW
genOk = false;
main = new GenerateOpenvpnKeyDialogBase(this);
setMainWidget(main);
- //main->setMinimumSize(main->tqsizeHint());
+ //main->setMinimumSize(main->sizeHint());
main->FilenameUrlrequester->setFilter( "*.key" );
@@ -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();
}