summaryrefslogtreecommitdiffstats
path: root/ark/zip.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-14 14:09:37 +0900
committerMichele Calgaro <[email protected]>2024-01-14 14:09:37 +0900
commitaf0b8f5d1e5e00b1f3b48658d89876c2df28e71c (patch)
tree11e4cc0bc31cd049daeb734b4d9e0ee00fac9eab /ark/zip.cpp
parent09fd0dead9b5dcb29dde24957ae8c07269c49aa1 (diff)
downloadtdeutils-af0b8f5d1e5e00b1f3b48658d89876c2df28e71c.tar.gz
tdeutils-af0b8f5d1e5e00b1f3b48658d89876c2df28e71c.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'ark/zip.cpp')
-rw-r--r--ark/zip.cpp60
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 ) )
{