From 483545c2b890016403048fe55037c58bbdc339ab Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 Jan 2024 10:29:06 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 0a7295d1f8d11fd67a215215fa6a3ef1ad0e1b06) --- src/fileexporterexternal.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/fileexporterexternal.cpp') diff --git a/src/fileexporterexternal.cpp b/src/fileexporterexternal.cpp index fc02819..d8d7180 100644 --- a/src/fileexporterexternal.cpp +++ b/src/fileexporterexternal.cpp @@ -108,10 +108,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() ) { @@ -136,10 +136,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; -- cgit v1.2.1