summaryrefslogtreecommitdiffstats
path: root/src/kernel/qprocess_unix.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-27 19:25:43 +0900
committerMichele Calgaro <[email protected]>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /src/kernel/qprocess_unix.cpp
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz
tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/kernel/qprocess_unix.cpp')
-rw-r--r--src/kernel/qprocess_unix.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kernel/qprocess_unix.cpp b/src/kernel/qprocess_unix.cpp
index f41923fd2..6d0f27abf 100644
--- a/src/kernel/qprocess_unix.cpp
+++ b/src/kernel/qprocess_unix.cpp
@@ -277,8 +277,8 @@ TQProcessManager::TQProcessManager() : sn(0)
#endif
sn = new TQSocketNotifier( sigchldFd[1],
TQSocketNotifier::Read, this );
- connect( sn, SIGNAL(activated(int)),
- this, SLOT(sigchldHnd(int)) );
+ connect( sn, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(sigchldHnd(int)) );
sn->setEnabled( TRUE );
}
@@ -352,7 +352,7 @@ void TQProcessManager::remove( TQProc *p )
void TQProcessManager::cleanup()
{
if ( procList->count() == 0 ) {
- TQTimer::singleShot( 0, this, SLOT(removeMe()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(removeMe()) );
}
}
@@ -944,8 +944,8 @@ bool TQProcess::start( TQStringList *env )
fcntl(d->proc->socketStdin, F_SETFL, originalFlags | O_NONBLOCK);
d->notifierStdin = new TQSocketNotifier( sStdin[1], TQSocketNotifier::Write );
- connect( d->notifierStdin, SIGNAL(activated(int)),
- this, SLOT(socketWrite(int)) );
+ connect( d->notifierStdin, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(socketWrite(int)) );
// setup notifiers for the sockets
if ( !d->stdinBuf.isEmpty() ) {
d->notifierStdin->setEnabled( TRUE );
@@ -955,8 +955,8 @@ bool TQProcess::start( TQStringList *env )
::close( sStdout[1] );
d->proc->socketStdout = sStdout[0];
d->notifierStdout = new TQSocketNotifier( sStdout[0], TQSocketNotifier::Read );
- connect( d->notifierStdout, SIGNAL(activated(int)),
- this, SLOT(socketRead(int)) );
+ connect( d->notifierStdout, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(socketRead(int)) );
if ( ioRedirection )
d->notifierStdout->setEnabled( TRUE );
}
@@ -964,8 +964,8 @@ bool TQProcess::start( TQStringList *env )
::close( sStderr[1] );
d->proc->socketStderr = sStderr[0];
d->notifierStderr = new TQSocketNotifier( sStderr[0], TQSocketNotifier::Read );
- connect( d->notifierStderr, SIGNAL(activated(int)),
- this, SLOT(socketRead(int)) );
+ connect( d->notifierStderr, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(socketRead(int)) );
if ( ioRedirection )
d->notifierStderr->setEnabled( TRUE );
}
@@ -1028,7 +1028,7 @@ void TQProcess::tryTerminate() const
is to do something like this:
\code
process->tryTerminate();
- TQTimer::singleShot( 5000, process, SLOT( kill() ) );
+ TQTimer::singleShot( 5000, process, TQ_SLOT( kill() ) );
\endcode
This tries to terminate the process the nice way. If the process