From 1329ec6abbcb7b79cd960e0ca138f16598d5f11f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 13 Jan 2024 17:34:53 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- wifi/kwireless/kwirelesswidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wifi/kwireless/kwirelesswidget.cpp') diff --git a/wifi/kwireless/kwirelesswidget.cpp b/wifi/kwireless/kwirelesswidget.cpp index ada6cabb..182a3ca6 100644 --- a/wifi/kwireless/kwirelesswidget.cpp +++ b/wifi/kwireless/kwirelesswidget.cpp @@ -150,7 +150,7 @@ KWireLessWidget::KWireLessWidget(TQWidget *parent, const char* name) { // this way, only the poll() method of the first instance will // ever be called (intended behaviour): timer = new TQTimer(this); - connect(timer, TQT_SIGNAL(timeout()), TQT_SLOT(poll())); + connect(timer, TQ_SIGNAL(timeout()), TQ_SLOT(poll())); // single shot, will be restartet at the end of poll () timer->start(100, true); } @@ -186,8 +186,8 @@ void KWireLessWidget::mousePressEvent(TQMouseEvent *e) if( e->button() == TQt::LeftButton) { PropertiesDialog dialog(this); - connect(this, TQT_SIGNAL(updateDeviceInfo(TQPtrList *)), - &dialog, TQT_SLOT(update(TQPtrList *))); + connect(this, TQ_SIGNAL(updateDeviceInfo(TQPtrList *)), + &dialog, TQ_SLOT(update(TQPtrList *))); dialog.exec(); } } -- cgit v1.2.1