diff options
author | Michele Calgaro <[email protected]> | 2024-01-01 18:12:44 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-01 18:12:44 +0900 |
commit | 98f86ddadeb4f41b12e5735175951a7c5fec800b (patch) | |
tree | 134fece2d9cf2c2f161959afbaea97d9a82884a9 /src/generateopenvpnkeydialog.cpp | |
parent | fdfb4aa064360f849c6acaf2b81c69086f5d51f4 (diff) | |
download | kvpnc-98f86ddadeb4f41b12e5735175951a7c5fec800b.tar.gz kvpnc-98f86ddadeb4f41b12e5735175951a7c5fec800b.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/generateopenvpnkeydialog.cpp')
-rw-r--r-- | src/generateopenvpnkeydialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/generateopenvpnkeydialog.cpp b/src/generateopenvpnkeydialog.cpp index 31b5cfb..e305e2b 100644 --- a/src/generateopenvpnkeydialog.cpp +++ b/src/generateopenvpnkeydialog.cpp @@ -88,8 +88,8 @@ void GenerateOpenvpnKeyDialog::canAccept() generateOpenvpnKeyProcess->addArgument("--secret"); generateOpenvpnKeyProcess->addArgument(filename); - connect( generateOpenvpnKeyProcess, TQT_SIGNAL( readyReadStderr() ), this, TQT_SLOT( readStdErr() ) ); - connect( generateOpenvpnKeyProcess, TQT_SIGNAL( readyReadStdout() ), this, TQT_SLOT( readStdErr() ) ); + connect( generateOpenvpnKeyProcess, TQ_SIGNAL( readyReadStderr() ), this, TQ_SLOT( readStdErr() ) ); + connect( generateOpenvpnKeyProcess, TQ_SIGNAL( readyReadStdout() ), this, TQ_SLOT( readStdErr() ) ); if ( !generateOpenvpnKeyProcess->start(env) ) { KMessageBox::sorry( this, i18n( "Generating of %1 key failed!" ).arg( "openvpn" ) ); @@ -105,8 +105,8 @@ void GenerateOpenvpnKeyDialog::canAccept() { sleep(1); } - disconnect( generateOpenvpnKeyProcess, TQT_SIGNAL( readyReadStderr() ), this, TQT_SLOT( readStdErr() ) ); - disconnect( generateOpenvpnKeyProcess, TQT_SIGNAL( readyReadStdout() ), this, TQT_SLOT( readStdErr() ) ); + disconnect( generateOpenvpnKeyProcess, TQ_SIGNAL( readyReadStderr() ), this, TQ_SLOT( readStdErr() ) ); + disconnect( generateOpenvpnKeyProcess, TQ_SIGNAL( readyReadStdout() ), this, TQ_SLOT( readStdErr() ) ); delete generateOpenvpnKeyProcess; generateOpenvpnKeyProcess = 0L; if (genOk) |