summaryrefslogtreecommitdiffstats
path: root/src/undomanager.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-05 10:33:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-05 10:33:17 +0900
commit1bc48a6ae2706e13093955e8181ac2f58a7ec3ac (patch)
tree1d67fedde5ab6603080c8c786d55a1fcb44c45c4 /src/undomanager.cpp
parent71d014f5e8c8816163fdfdf63fb20e73cd1870e4 (diff)
downloaddolphin-1bc48a6ae2706e13093955e8181ac2f58a7ec3ac.tar.gz
dolphin-1bc48a6ae2706e13093955e8181ac2f58a7ec3ac.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/undomanager.cpp')
-rw-r--r--src/undomanager.cpp10
1 files changed, 5 insertions, 5 deletions
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()