diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:31:17 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:31:17 +0900 |
commit | c650254e1855d383dcafd15d18be20becc3b2253 (patch) | |
tree | 9c221c2e920b1f8e9098c6047d948833277659de /src/progressmanager.cpp | |
parent | 3d581777cdf9c0ff8dc7e757a2cd576f69e96b51 (diff) | |
download | tellico-c650254e1855d383dcafd15d18be20becc3b2253.tar.gz tellico-c650254e1855d383dcafd15d18be20becc3b2253.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/progressmanager.cpp')
-rw-r--r-- | src/progressmanager.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/progressmanager.cpp b/src/progressmanager.cpp index 6bc0298..e146023 100644 --- a/src/progressmanager.cpp +++ b/src/progressmanager.cpp @@ -56,7 +56,7 @@ void ProgressItem::setDone() { } emit signalDone(this); // make sure the deleting doesn't interfere with anything - TQTimer::singleShot(3000, this, TQT_SLOT(deleteLater())); + TQTimer::singleShot(3000, this, TQ_SLOT(deleteLater())); } void ProgressItem::cancel() { @@ -131,12 +131,12 @@ ProgressItem& ProgressManager::newProgressItemImpl(const TQObject* owner_, ProgressItem* item = new ProgressItem(label_, canCancel_); m_items.insert(owner_, item); - connect(item, TQT_SIGNAL(signalTotalSteps(ProgressItem*)), TQT_SLOT(slotUpdateTotalProgress())); - connect(item, TQT_SIGNAL(signalProgress(ProgressItem*)), TQT_SLOT(slotUpdateTotalProgress())); - connect(item, TQT_SIGNAL(signalDone(ProgressItem*)), TQT_SLOT(slotUpdateTotalProgress())); - connect(item, TQT_SIGNAL(signalDone(ProgressItem*)), TQT_SLOT(slotItemDone(ProgressItem*))); + connect(item, TQ_SIGNAL(signalTotalSteps(ProgressItem*)), TQ_SLOT(slotUpdateTotalProgress())); + connect(item, TQ_SIGNAL(signalProgress(ProgressItem*)), TQ_SLOT(slotUpdateTotalProgress())); + connect(item, TQ_SIGNAL(signalDone(ProgressItem*)), TQ_SLOT(slotUpdateTotalProgress())); + connect(item, TQ_SIGNAL(signalDone(ProgressItem*)), TQ_SLOT(slotItemDone(ProgressItem*))); -// connect(item, TQT_SIGNAL(signalProgress(ProgressItem*)), TQT_SIGNAL(signalItemProgress(ProgressItem*))); +// connect(item, TQ_SIGNAL(signalProgress(ProgressItem*)), TQ_SIGNAL(signalItemProgress(ProgressItem*))); // emit signalItemAdded(item); return *item; } |