summaryrefslogtreecommitdiffstats
path: root/ark/ar.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:09:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-18 22:46:01 +0900
commit278d2f50538b5465caa86fc7608d9cdfddf36cb9 (patch)
tree4a7510f5edd4198094ddd9ae4d81ca2a90da7990 /ark/ar.cpp
parenta8bb8db5a25e70bf9de62c56c15c442883a752dc (diff)
downloadtdeutils-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/ar.cpp')
-rw-r--r--ark/ar.cpp56
1 files changed, 28 insertions, 28 deletions
diff --git a/ark/ar.cpp b/ark/ar.cpp
index 181b9cc..1b82f2d 100644
--- a/ark/ar.cpp
+++ b/ark/ar.cpp
@@ -89,13 +89,13 @@ void ArArch::open()
TDEProcess *kp = m_currentProcess = new TDEProcess;
*kp << m_archiver_program << "vt" << m_filename;
- connect( kp, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedTOC(TDEProcess*, char*, int)));
- connect( kp, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
+ connect( kp, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedTOC(TDEProcess*, char*, int)));
+ connect( kp, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
- connect( kp, TQT_SIGNAL(processExited(TDEProcess*)), this,
- TQT_SLOT(slotOpenExited(TDEProcess*)));
+ connect( kp, TQ_SIGNAL(processExited(TDEProcess*)), this,
+ TQ_SLOT(slotOpenExited(TDEProcess*)));
if (kp->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput) == false)
{
@@ -111,10 +111,10 @@ void ArArch::create()
kp->clearArguments();
*kp << m_archiver_program << "c" << m_filename;
- connect( kp, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
- connect( kp, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
+ connect( kp, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
+ connect( kp, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
if (kp->start(TDEProcess::Block) == false)
{
@@ -152,13 +152,13 @@ void ArArch::addFile( const TQStringList &urls )
*kp << fileURL.fileName();
}
- connect( kp, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
- connect( kp, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
+ connect( kp, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
+ connect( kp, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
- connect( kp, TQT_SIGNAL(processExited(TDEProcess*)), this,
- TQT_SLOT(slotAddExited(TDEProcess*)));
+ connect( kp, TQ_SIGNAL(processExited(TDEProcess*)), this,
+ TQ_SLOT(slotAddExited(TDEProcess*)));
if (kp->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput) == false)
{
@@ -209,13 +209,13 @@ void ArArch::unarchFileInternal()
}
}
- connect( kp, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
- connect( kp, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
+ connect( kp, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
+ connect( kp, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
- connect( kp, TQT_SIGNAL(processExited(TDEProcess*)), this,
- TQT_SLOT(slotExtractExited(TDEProcess*)));
+ connect( kp, TQ_SIGNAL(processExited(TDEProcess*)), this,
+ TQ_SLOT(slotExtractExited(TDEProcess*)));
if (kp->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput) == false)
{
@@ -242,13 +242,13 @@ void ArArch::remove(TQStringList *list)
*kp << str;
}
- connect( kp, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
- connect( kp, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
+ connect( kp, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
+ connect( kp, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedOutput(TDEProcess*, char*, int)));
- connect( kp, TQT_SIGNAL(processExited(TDEProcess*)), this,
- TQT_SLOT(slotDeleteExited(TDEProcess*)));
+ connect( kp, TQ_SIGNAL(processExited(TDEProcess*)), this,
+ TQ_SLOT(slotDeleteExited(TDEProcess*)));
if (kp->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput) == false)
{