From f03ddc53e2767bb7f88374996bb192275de12e51 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 5 Jan 2024 10:33:17 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 1bc48a6ae2706e13093955e8181ac2f58a7ec3ac) --- src/undomanager.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/undomanager.cpp') diff --git a/src/undomanager.cpp b/src/undomanager.cpp index 21c36b7..d34d428 100644 --- a/src/undomanager.cpp +++ b/src/undomanager.cpp @@ -205,8 +205,8 @@ void UndoManager::undo() if (job != 0) { // Execute the jobs in a synchronous manner and forward the progress // information to the Dolphin statusbar. - connect(job, TQT_SIGNAL(percent(TDEIO::Job*, unsigned long)), - this, TQT_SLOT(slotPercent(TDEIO::Job*, unsigned long))); + connect(job, TQ_SIGNAL(percent(TDEIO::Job*, unsigned long)), + this, TQ_SLOT(slotPercent(TDEIO::Job*, unsigned long))); TDEIO::NetAccess::synchronousRun(job, &Dolphin::mainWin()); } @@ -309,8 +309,8 @@ void UndoManager::redo() if (job != 0) { // Execute the jobs in a synchronous manner and forward the progress // information to the Dolphin statusbar. - connect(job, TQT_SIGNAL(percent(TDEIO::Job*, unsigned long)), - this, TQT_SLOT(slotPercent(TDEIO::Job*, unsigned long))); + connect(job, TQ_SIGNAL(percent(TDEIO::Job*, unsigned long)), + this, TQ_SLOT(slotPercent(TDEIO::Job*, unsigned long))); TDEIO::NetAccess::synchronousRun(job, &dolphin); } @@ -358,7 +358,7 @@ void UndoManager::slotPercent(TDEIO::Job* /* job */, unsigned long /* percent */ { // It is not allowed to update the progress indicator in the context // of this slot, hence do an asynchronous triggering. - TQTimer::singleShot(0, this, TQT_SLOT(updateProgress())); + TQTimer::singleShot(0, this, TQ_SLOT(updateProgress())); } void UndoManager::updateProgress() -- cgit v1.2.3