diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 14:09:37 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-18 22:46:01 +0900 |
commit | 278d2f50538b5465caa86fc7608d9cdfddf36cb9 (patch) | |
tree | 4a7510f5edd4198094ddd9ae4d81ca2a90da7990 /ark/zip.cpp | |
parent | a8bb8db5a25e70bf9de62c56c15c442883a752dc (diff) | |
download | tdeutils-278d2f50538b5465caa86fc7608d9cdfddf36cb9.tar.gz tdeutils-278d2f50538b5465caa86fc7608d9cdfddf36cb9.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit af0b8f5d1e5e00b1f3b48658d89876c2df28e71c)
Diffstat (limited to 'ark/zip.cpp')
-rw-r--r-- | ark/zip.cpp | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/ark/zip.cpp b/ark/zip.cpp index 392cc5c..f8b5281 100644 --- a/ark/zip.cpp +++ b/ark/zip.cpp @@ -94,12 +94,12 @@ void ZipArch::open() *kp << m_unarchiver_program << "-v" << m_filename; - connect( kp, TQT_SIGNAL( receivedStdout(TDEProcess*, char*, int) ), - TQT_SLOT( slotReceivedTOC(TDEProcess*, char*, int) ) ); - connect( kp, TQT_SIGNAL( receivedStderr(TDEProcess*, char*, int) ), - TQT_SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); - connect( kp, TQT_SIGNAL( processExited(TDEProcess*) ), - TQT_SLOT( slotOpenExited(TDEProcess*) ) ); + connect( kp, TQ_SIGNAL( receivedStdout(TDEProcess*, char*, int) ), + TQ_SLOT( slotReceivedTOC(TDEProcess*, char*, int) ) ); + connect( kp, TQ_SIGNAL( receivedStderr(TDEProcess*, char*, int) ), + TQ_SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); + connect( kp, TQ_SIGNAL( processExited(TDEProcess*) ), + TQ_SLOT( slotOpenExited(TDEProcess*) ) ); if ( !kp->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput ) ) { @@ -172,12 +172,12 @@ void ZipArch::addFile( const TQStringList &urls ) *kp << fileURL.fileName(); } - connect( kp, TQT_SIGNAL( receivedStdout(TDEProcess*, char*, int) ), - TQT_SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); - connect( kp, TQT_SIGNAL( receivedStderr(TDEProcess*, char*, int) ), - TQT_SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); - connect( kp, TQT_SIGNAL( processExited(TDEProcess*) ), - TQT_SLOT( slotAddExited(TDEProcess*) ) ); + connect( kp, TQ_SIGNAL( receivedStdout(TDEProcess*, char*, int) ), + TQ_SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); + connect( kp, TQ_SIGNAL( receivedStderr(TDEProcess*, char*, int) ), + TQ_SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); + connect( kp, TQ_SIGNAL( processExited(TDEProcess*) ), + TQ_SLOT( slotAddExited(TDEProcess*) ) ); if ( !kp->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput ) ) { @@ -231,12 +231,12 @@ void ZipArch::unarchFileInternal() *kp << "-d" << m_destDir; - connect( kp, TQT_SIGNAL( receivedStdout(TDEProcess*, char*, int) ), - TQT_SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); - connect( kp, TQT_SIGNAL( receivedStderr(TDEProcess*, char*, int) ), - TQT_SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); - connect( kp, TQT_SIGNAL( processExited(TDEProcess*) ), - TQT_SLOT( slotExtractExited(TDEProcess*) ) ); + connect( kp, TQ_SIGNAL( receivedStdout(TDEProcess*, char*, int) ), + TQ_SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); + connect( kp, TQ_SIGNAL( receivedStderr(TDEProcess*, char*, int) ), + TQ_SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); + connect( kp, TQ_SIGNAL( processExited(TDEProcess*) ), + TQ_SLOT( slotExtractExited(TDEProcess*) ) ); if ( !kp->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput ) ) { @@ -268,12 +268,12 @@ void ZipArch::remove( TQStringList *list ) *kp << str; } - connect( kp, TQT_SIGNAL( receivedStdout(TDEProcess*, char*, int) ), - TQT_SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); - connect( kp, TQT_SIGNAL( receivedStderr(TDEProcess*, char*, int) ), - TQT_SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); - connect( kp, TQT_SIGNAL( processExited(TDEProcess*) ), - TQT_SLOT( slotDeleteExited(TDEProcess*) ) ); + connect( kp, TQ_SIGNAL( receivedStdout(TDEProcess*, char*, int) ), + TQ_SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); + connect( kp, TQ_SIGNAL( receivedStderr(TDEProcess*, char*, int) ), + TQ_SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); + connect( kp, TQ_SIGNAL( processExited(TDEProcess*) ), + TQ_SLOT( slotDeleteExited(TDEProcess*) ) ); if ( !kp->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput ) ) { @@ -296,12 +296,12 @@ void ZipArch::test() *kp << m_filename; - connect( kp, SIGNAL( receivedStdout(TDEProcess*, char*, int) ), - SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); - connect( kp, SIGNAL( receivedStderr(TDEProcess*, char*, int) ), - SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); - connect( kp, SIGNAL( processExited(TDEProcess*) ), - SLOT( slotTestExited(TDEProcess*) ) ); + connect( kp, TQ_SIGNAL( receivedStdout(TDEProcess*, char*, int) ), + TQ_SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); + connect( kp, TQ_SIGNAL( receivedStderr(TDEProcess*, char*, int) ), + TQ_SLOT( slotReceivedOutput(TDEProcess*, char*, int) ) ); + connect( kp, TQ_SIGNAL( processExited(TDEProcess*) ), + TQ_SLOT( slotTestExited(TDEProcess*) ) ); if ( !kp->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput ) ) { |