diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 10:33:17 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 19:57:28 +0900 |
| commit | f03ddc53e2767bb7f88374996bb192275de12e51 (patch) | |
| tree | 9612fb1e8b8af0874506f53c77b2a9b748f31bb9 /src/undomanager.cpp | |
| parent | a822e3e4661711452c3cb35d5efaae67c56a071a (diff) | |
| download | dolphin-f03ddc53.tar.gz dolphin-f03ddc53.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1bc48a6ae2706e13093955e8181ac2f58a7ec3ac)
Diffstat (limited to 'src/undomanager.cpp')
| -rw-r--r-- | src/undomanager.cpp | 10 |
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() |
