diff options
author | Michele Calgaro <[email protected]> | 2023-12-29 16:42:37 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-31 22:22:08 +0900 |
commit | f3f67ab73137aa1ce1bc14753cc0e09a1b44f9bd (patch) | |
tree | 49b5284de3c34fa5beb84bd52110e7e1cdba826d /src/common/global/process.cpp | |
parent | 26bcb362b66b78984c0c7567d00c12f3425d6468 (diff) | |
download | piklab-f3f67ab73137aa1ce1bc14753cc0e09a1b44f9bd.tar.gz piklab-f3f67ab73137aa1ce1bc14753cc0e09a1b44f9bd.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit c679361a50aee162491e7195f2bcfdbbf341dde5)
Diffstat (limited to 'src/common/global/process.cpp')
-rw-r--r-- | src/common/global/process.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common/global/process.cpp b/src/common/global/process.cpp index 9dc4761..bc6102d 100644 --- a/src/common/global/process.cpp +++ b/src/common/global/process.cpp @@ -22,8 +22,8 @@ Process::State Process::runSynchronously(Base &process, RunActions actions, uint timeout) { Synchronous sync(timeout); - TQObject::connect(&process, TQT_SIGNAL(done(int)), &sync, TQT_SLOT(done())); - TQObject::connect(&process, TQT_SIGNAL(requestSynchronousStop()), &sync, TQT_SLOT(done())); + TQObject::connect(&process, TQ_SIGNAL(done(int)), &sync, TQ_SLOT(done())); + TQObject::connect(&process, TQ_SIGNAL(requestSynchronousStop()), &sync, TQ_SLOT(done())); if ( (actions & Start) && !process.start(0) ) return process.state(); Q_ASSERT( process.isRunning() ); if ( !sync.enterLoop() ) process.timeoutSlot(); @@ -35,11 +35,11 @@ Process::Base::Base(TQObject *parent, const char *name) : TQObject(parent, name), _state(Stopped) { _process = new TDEProcess(this); - connect(_process, TQT_SIGNAL(processExited(TDEProcess *)), TQT_SLOT(exited())); - connect(_process, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)), TQT_SLOT(receivedStdout(TDEProcess*, char *, int))); - connect(_process, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)), TQT_SLOT(receivedStderr(TDEProcess*, char *, int))); + connect(_process, TQ_SIGNAL(processExited(TDEProcess *)), TQ_SLOT(exited())); + connect(_process, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)), TQ_SLOT(receivedStdout(TDEProcess*, char *, int))); + connect(_process, TQ_SIGNAL(receivedStderr(TDEProcess *, char *, int)), TQ_SLOT(receivedStderr(TDEProcess*, char *, int))); _timer = new TQTimer(this); - connect(_timer, TQT_SIGNAL(timeout()), TQT_SLOT(timeoutSlot())); + connect(_timer, TQ_SIGNAL(timeout()), TQ_SLOT(timeoutSlot())); } Process::Base::~Base() |