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-07 14:53:04 +0900 |
| commit | aa5bb4434eb6b60314787106284ad99294de4468 (patch) | |
| tree | 3a766a6cc84578b8fa8f5a6db323de24c57959d8 /src/progressmanager.cpp | |
| parent | 727a2e58bc79c09f53766110fb7c31d3f3af1e46 (diff) | |
| download | tellico-aa5bb443.tar.gz tellico-aa5bb443.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c650254e1855d383dcafd15d18be20becc3b2253)
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; } |
