diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 10:34:19 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 10:34:19 +0900 |
commit | 89135300a977ebccbb5928797afabfdd8a4222fb (patch) | |
tree | 9a3cd1c364643b0608bd1db3290a9885e5e6f5b3 /src/knemod/backends/nettoolsbackend.cpp | |
parent | 8e3901701aa74deea424f0d4e096a58094362cb8 (diff) | |
download | knemo-89135300a977ebccbb5928797afabfdd8a4222fb.tar.gz knemo-89135300a977ebccbb5928797afabfdd8a4222fb.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/knemod/backends/nettoolsbackend.cpp')
-rw-r--r-- | src/knemod/backends/nettoolsbackend.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/knemod/backends/nettoolsbackend.cpp b/src/knemod/backends/nettoolsbackend.cpp index 1437e47..20bca58 100644 --- a/src/knemod/backends/nettoolsbackend.cpp +++ b/src/knemod/backends/nettoolsbackend.cpp @@ -71,10 +71,10 @@ void NetToolsBackend::update() mIfconfigProcess->setEnvironment( "LANG", "C" ); mIfconfigProcess->setEnvironment( "LC_ALL", "C" ); *mIfconfigProcess << PATH_IFCONFIG << "-a"; - connect( mIfconfigProcess, TQT_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ), - this, TQT_SLOT( ifconfigProcessStdout( TDEProcess*, char*, int ) ) ); - connect( mIfconfigProcess, TQT_SIGNAL( processExited( TDEProcess* ) ), - this, TQT_SLOT( ifconfigProcessExited( TDEProcess* ) ) ); + connect( mIfconfigProcess, TQ_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ), + this, TQ_SLOT( ifconfigProcessStdout( TDEProcess*, char*, int ) ) ); + connect( mIfconfigProcess, TQ_SIGNAL( processExited( TDEProcess* ) ), + this, TQ_SLOT( ifconfigProcessExited( TDEProcess* ) ) ); if ( !mIfconfigProcess->start( TDEProcess::NotifyOnExit, TDEProcess::Stdout ) ) { @@ -91,12 +91,12 @@ void NetToolsBackend::update() mIwconfigProcess->setEnvironment( "LANG", "C" ); mIwconfigProcess->setEnvironment( "LC_ALL", "C" ); *mIwconfigProcess << PATH_IWCONFIG; - connect( mIwconfigProcess, TQT_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ), - this, TQT_SLOT( iwconfigProcessStdout( TDEProcess*, char*, int ) ) ); - connect( mIwconfigProcess, TQT_SIGNAL( receivedStderr( TDEProcess*, char*, int ) ), - this, TQT_SLOT( iwconfigProcessStdout( TDEProcess*, char*, int ) ) ); - connect( mIwconfigProcess, TQT_SIGNAL( processExited( TDEProcess* ) ), - this, TQT_SLOT( iwconfigProcessExited( TDEProcess* ) ) ); + connect( mIwconfigProcess, TQ_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ), + this, TQ_SLOT( iwconfigProcessStdout( TDEProcess*, char*, int ) ) ); + connect( mIwconfigProcess, TQ_SIGNAL( receivedStderr( TDEProcess*, char*, int ) ), + this, TQ_SLOT( iwconfigProcessStdout( TDEProcess*, char*, int ) ) ); + connect( mIwconfigProcess, TQ_SIGNAL( processExited( TDEProcess* ) ), + this, TQ_SLOT( iwconfigProcessExited( TDEProcess* ) ) ); if ( !mIwconfigProcess->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput ) ) { @@ -114,12 +114,12 @@ void NetToolsBackend::update() mRouteProcess->setEnvironment( "LANG", "C" ); mRouteProcess->setEnvironment( "LC_ALL", "C" ); *mRouteProcess << PATH_ROUTE << "-n"; - connect( mRouteProcess, TQT_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ), - this, TQT_SLOT( routeProcessStdout( TDEProcess*, char*, int ) ) ); - connect( mRouteProcess, TQT_SIGNAL( receivedStderr( TDEProcess*, char*, int ) ), - this, TQT_SLOT( routeProcessStdout( TDEProcess*, char*, int ) ) ); - connect( mRouteProcess, TQT_SIGNAL( processExited( TDEProcess* ) ), - this, TQT_SLOT( routeProcessExited( TDEProcess* ) ) ); + connect( mRouteProcess, TQ_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ), + this, TQ_SLOT( routeProcessStdout( TDEProcess*, char*, int ) ) ); + connect( mRouteProcess, TQ_SIGNAL( receivedStderr( TDEProcess*, char*, int ) ), + this, TQ_SLOT( routeProcessStdout( TDEProcess*, char*, int ) ) ); + connect( mRouteProcess, TQ_SIGNAL( processExited( TDEProcess* ) ), + this, TQ_SLOT( routeProcessExited( TDEProcess* ) ) ); if ( !mRouteProcess->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput ) ) { |