diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:29:06 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-06 19:53:19 +0900 |
commit | 483545c2b890016403048fe55037c58bbdc339ab (patch) | |
tree | 2dac88699fb0c98389e7c87cacca6286984fdab6 /src/fileimporterexternal.cpp | |
parent | 584744b2c188ef5d2dea7384ee79c4c6e1ba6838 (diff) | |
download | kbibtex-483545c2.tar.gz kbibtex-483545c2.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0a7295d1f8d11fd67a215215fa6a3ef1ad0e1b06)
Diffstat (limited to 'src/fileimporterexternal.cpp')
-rw-r--r-- | src/fileimporterexternal.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/fileimporterexternal.cpp b/src/fileimporterexternal.cpp index d962d0a..e1d196b 100644 --- a/src/fileimporterexternal.cpp +++ b/src/fileimporterexternal.cpp @@ -84,10 +84,10 @@ namespace BibTeX TQApplication::setOverrideCursor( TQt::waitCursor ); process = new TQProcess( args ); - connect( process, SIGNAL( processExited() ), this, SLOT( slotProcessExited() ) ); - connect( process, SIGNAL( readyReadStdout() ), this, SLOT( slotReadProcessOutput() ) ); - connect( process, SIGNAL( readyReadStderr() ), this, SLOT( slotReadProcessOutput() ) ); - connect( process, SIGNAL( wroteToStdin() ), this, SLOT( slotWroteToStdin() ) ); + connect( process, TQ_SIGNAL( processExited() ), this, TQ_SLOT( slotProcessExited() ) ); + connect( process, TQ_SIGNAL( readyReadStdout() ), this, TQ_SLOT( slotReadProcessOutput() ) ); + connect( process, TQ_SIGNAL( readyReadStderr() ), this, TQ_SLOT( slotReadProcessOutput() ) ); + connect( process, TQ_SIGNAL( wroteToStdin() ), this, TQ_SLOT( slotWroteToStdin() ) ); if ( process->start() ) { @@ -109,10 +109,10 @@ namespace BibTeX result = process->normalExit(); } - disconnect( process, SIGNAL( wroteToStdin() ), this, SLOT( slotWroteToStdin() ) ); - disconnect( process, SIGNAL( readyReadStdout() ), this, SLOT( slotReadProcessOutput() ) ); - disconnect( process, SIGNAL( readyReadStderr() ), this, SLOT( slotReadProcessOutput() ) ); - disconnect( process, SIGNAL( processExited() ), this, SLOT( slotProcessExited() ) ); + disconnect( process, TQ_SIGNAL( wroteToStdin() ), this, TQ_SLOT( slotWroteToStdin() ) ); + disconnect( process, TQ_SIGNAL( readyReadStdout() ), this, TQ_SLOT( slotReadProcessOutput() ) ); + disconnect( process, TQ_SIGNAL( readyReadStderr() ), this, TQ_SLOT( slotReadProcessOutput() ) ); + disconnect( process, TQ_SIGNAL( processExited() ), this, TQ_SLOT( slotProcessExited() ) ); delete( process ); process = NULL; delete writeTo; |