From c650254e1855d383dcafd15d18be20becc3b2253 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 Jan 2024 10:31:17 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/entrymerger.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/entrymerger.cpp') diff --git a/src/entrymerger.cpp b/src/entrymerger.cpp index 62de6c1..2f7da22 100644 --- a/src/entrymerger.cpp +++ b/src/entrymerger.cpp @@ -35,11 +35,11 @@ EntryMerger::EntryMerger(Data::EntryVec entries_, TQObject* parent_) TQString label = i18n("Merging entries..."); ProgressItem& item = ProgressManager::self()->newProgressItem(this, label, true /*canCancel*/); item.setTotalSteps(m_origCount); - connect(&item, TQT_SIGNAL(signalCancelled(ProgressItem*)), TQT_SLOT(slotCancel())); + connect(&item, TQ_SIGNAL(signalCancelled(ProgressItem*)), TQ_SLOT(slotCancel())); // done if no entries to merge if(m_origCount < 2) { - TQTimer::singleShot(500, this, TQT_SLOT(slotCleanup())); + TQTimer::singleShot(500, this, TQ_SLOT(slotCleanup())); } else { slotStartNext(); // starts fetching } @@ -72,9 +72,9 @@ void EntryMerger::slotStartNext() { m_entriesToCheck.remove(baseEntry); if(m_cancelled || m_entriesToCheck.count() < 2) { - TQTimer::singleShot(0, this, TQT_SLOT(slotCleanup())); + TQTimer::singleShot(0, this, TQ_SLOT(slotCleanup())); } else { - TQTimer::singleShot(0, this, TQT_SLOT(slotStartNext())); + TQTimer::singleShot(0, this, TQ_SLOT(slotStartNext())); } } -- cgit v1.2.1