summaryrefslogtreecommitdiffstats
path: root/src/generateopenvpnkeydialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-01 18:12:44 +0900
committerSlávek Banko <slavek.banko@axis.cz>2024-01-01 20:18:01 +0100
commit143ef5f55063d2879ed484a962d6e0c4373a5bc6 (patch)
tree134fece2d9cf2c2f161959afbaea97d9a82884a9 /src/generateopenvpnkeydialog.cpp
parentc76d015dcd48a879abc33c7955f229c26b496756 (diff)
downloadkvpnc-143ef5f55063d2879ed484a962d6e0c4373a5bc6.tar.gz
kvpnc-143ef5f55063d2879ed484a962d6e0c4373a5bc6.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 98f86ddadeb4f41b12e5735175951a7c5fec800b)
Diffstat (limited to 'src/generateopenvpnkeydialog.cpp')
-rw-r--r--src/generateopenvpnkeydialog.cpp8
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)