From 3c9cb4f33bd528dba5d48e06af721137f9a26630 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 6 Jan 2024 12:58:15 +0900 Subject: [PATCH] Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/effectwidget.cpp | 2 +- src/magiclabel.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/effectwidget.cpp b/src/effectwidget.cpp index d6c6dfd..c89ea2d 100644 --- a/src/effectwidget.cpp +++ b/src/effectwidget.cpp @@ -72,7 +72,7 @@ void EffectWidget::start() if (!timer) { timer = new TQTimer(this); - connect(timer,TQT_SIGNAL(timeout()),this,TQT_SLOT(timerTick())); + connect(timer,TQ_SIGNAL(timeout()),this,TQ_SLOT(timerTick())); } playing = true; diff --git a/src/magiclabel.cpp b/src/magiclabel.cpp index b22461d..a77a562 100644 --- a/src/magiclabel.cpp +++ b/src/magiclabel.cpp @@ -67,8 +67,8 @@ void MagicLabel::getCommandOutput() for (int i = 0; i < parts.count(); i++) *proc << parts[i]; - connect(proc, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(processExited(TDEProcess*))); - connect(proc, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQT_SLOT(receivedStdout(TDEProcess*, char*, int))); + connect(proc, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(processExited(TDEProcess*))); + connect(proc, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQ_SLOT(receivedStdout(TDEProcess*, char*, int))); mValue = "";