diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:16:03 +0900 |
commit | ecca365daf06c711cf30f93f4c773dabf5642790 (patch) | |
tree | 0b2f6780f60fd7eb35c84cc899e7d51db189d67d /src/kernel/qprocess.cpp | |
parent | 1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff) | |
download | tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'src/kernel/qprocess.cpp')
-rw-r--r-- | src/kernel/qprocess.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/kernel/qprocess.cpp b/src/kernel/qprocess.cpp index 13fb195e3..f052c9cb8 100644 --- a/src/kernel/qprocess.cpp +++ b/src/kernel/qprocess.cpp @@ -130,7 +130,7 @@ \skipto proc = new TQProcess( this ); \printline proc = new TQProcess( this ); \skipto proc->addArgument( "uic" ); - \printuntil this, SLOT(readFromStdout()) ); + \printuntil this, TQ_SLOT(readFromStdout()) ); \skipto if ( !proc->start() ) { \printuntil // error handling \skipto } @@ -621,8 +621,8 @@ bool TQProcess::launch( const TQByteArray& buf, TQStringList *env ) { if ( start( env ) ) { if ( !buf.isEmpty() ) { - connect( this, SIGNAL(wroteToStdin()), - this, SLOT(closeStdinLaunch()) ); + connect( this, TQ_SIGNAL(wroteToStdin()), + this, TQ_SLOT(closeStdinLaunch()) ); writeToStdin( buf ); } else { closeStdin(); @@ -645,8 +645,8 @@ bool TQProcess::launch( const TQString& buf, TQStringList *env ) { if ( start( env ) ) { if ( !buf.isEmpty() ) { - connect( this, SIGNAL(wroteToStdin()), - this, SLOT(closeStdinLaunch()) ); + connect( this, TQ_SIGNAL(wroteToStdin()), + this, TQ_SLOT(closeStdinLaunch()) ); writeToStdin( buf ); } else { closeStdin(); @@ -664,8 +664,8 @@ bool TQProcess::launch( const TQString& buf, TQStringList *env ) */ void TQProcess::closeStdinLaunch() { - disconnect( this, SIGNAL(wroteToStdin()), - this, SLOT(closeStdinLaunch()) ); + disconnect( this, TQ_SIGNAL(wroteToStdin()), + this, TQ_SLOT(closeStdinLaunch()) ); closeStdin(); emit launchFinished(); } @@ -751,8 +751,8 @@ void TQProcess::connectNotify( const char * signal ) tqDebug( "TQProcess::connectNotify(): signal %s has been connected", signal ); #endif if ( !ioRedirection ) - if ( qstrcmp( signal, SIGNAL(readyReadStdout()) )==0 || - qstrcmp( signal, SIGNAL(readyReadStderr()) )==0 + if ( qstrcmp( signal, TQ_SIGNAL(readyReadStdout()) )==0 || + qstrcmp( signal, TQ_SIGNAL(readyReadStderr()) )==0 ) { #if defined(QT_QPROCESS_DEBUG) tqDebug( "TQProcess::connectNotify(): set ioRedirection to TRUE" ); @@ -760,14 +760,14 @@ void TQProcess::connectNotify( const char * signal ) setIoRedirection( TRUE ); return; } - if ( !notifyOnExit && qstrcmp( signal, SIGNAL(processExited()) )==0 ) { + if ( !notifyOnExit && qstrcmp( signal, TQ_SIGNAL(processExited()) )==0 ) { #if defined(QT_QPROCESS_DEBUG) tqDebug( "TQProcess::connectNotify(): set notifyOnExit to TRUE" ); #endif setNotifyOnExit( TRUE ); return; } - if ( !wroteToStdinConnected && qstrcmp( signal, SIGNAL(wroteToStdin()) )==0 ) { + if ( !wroteToStdinConnected && qstrcmp( signal, TQ_SIGNAL(wroteToStdin()) )==0 ) { #if defined(QT_QPROCESS_DEBUG) tqDebug( "TQProcess::connectNotify(): set wroteToStdinConnected to TRUE" ); #endif @@ -781,21 +781,21 @@ void TQProcess::connectNotify( const char * signal ) void TQProcess::disconnectNotify( const char * ) { if ( ioRedirection && - receivers( SIGNAL(readyReadStdout()) ) ==0 && - receivers( SIGNAL(readyReadStderr()) ) ==0 + receivers( TQ_SIGNAL(readyReadStdout()) ) ==0 && + receivers( TQ_SIGNAL(readyReadStderr()) ) ==0 ) { #if defined(QT_QPROCESS_DEBUG) tqDebug( "TQProcess::disconnectNotify(): set ioRedirection to FALSE" ); #endif setIoRedirection( FALSE ); } - if ( notifyOnExit && receivers( SIGNAL(processExited()) ) == 0 ) { + if ( notifyOnExit && receivers( TQ_SIGNAL(processExited()) ) == 0 ) { #if defined(QT_QPROCESS_DEBUG) tqDebug( "TQProcess::disconnectNotify(): set notifyOnExit to FALSE" ); #endif setNotifyOnExit( FALSE ); } - if ( wroteToStdinConnected && receivers( SIGNAL(wroteToStdin()) ) == 0 ) { + if ( wroteToStdinConnected && receivers( TQ_SIGNAL(wroteToStdin()) ) == 0 ) { #if defined(QT_QPROCESS_DEBUG) tqDebug( "TQProcess::disconnectNotify(): set wroteToStdinConnected to FALSE" ); #endif |