From e1b37ac1936f81994a2c1aa2778298fbc757531f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 Jan 2024 10:30:32 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf) --- chalk/ui/kis_label_progress.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'chalk/ui/kis_label_progress.cpp') diff --git a/chalk/ui/kis_label_progress.cpp b/chalk/ui/kis_label_progress.cpp index 0caadcbba..383b8254d 100644 --- a/chalk/ui/kis_label_progress.cpp +++ b/chalk/ui/kis_label_progress.cpp @@ -58,7 +58,7 @@ KisLabelProgress::KisLabelProgress(TQWidget *parent, const char *name, WFlags f) m_cancelButton = new EscapeButton(this, "cancel_button"); m_cancelButton->setIconSet(cancelIconSet); TQToolTip::add(m_cancelButton, i18n("Cancel")); - connect(m_cancelButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(cancelPressed())); + connect(m_cancelButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(cancelPressed())); m_bar = new KProgress(100, this); } @@ -75,11 +75,11 @@ void KisLabelProgress::setSubject(KisProgressSubject *subject, bool modal, bool m_subject = subject; m_modal = modal; - connect(subject, TQT_SIGNAL(notifyProgress(int)), this, TQT_SLOT(update(int))); - connect(subject, TQT_SIGNAL(notifyProgressStage(const TQString&, int)), this, TQT_SLOT(updateStage(const TQString&, int))); - connect(subject, TQT_SIGNAL(notifyProgressDone()), this, TQT_SLOT(done())); - connect(subject, TQT_SIGNAL(notifyProgressError()), this, TQT_SLOT(error())); - connect(subject, TQT_SIGNAL(destroyed()), this, TQT_SLOT(subjectDestroyed())); + connect(subject, TQ_SIGNAL(notifyProgress(int)), this, TQ_SLOT(update(int))); + connect(subject, TQ_SIGNAL(notifyProgressStage(const TQString&, int)), this, TQ_SLOT(updateStage(const TQString&, int))); + connect(subject, TQ_SIGNAL(notifyProgressDone()), this, TQ_SLOT(done())); + connect(subject, TQ_SIGNAL(notifyProgressError()), this, TQ_SLOT(error())); + connect(subject, TQ_SIGNAL(destroyed()), this, TQ_SLOT(subjectDestroyed())); show(); -- cgit v1.2.3