diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-18 09:59:16 +0900 |
commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
tree | 9330d82486c7b3125b8275914565b324f9af523e /wifi/kwireless/kwirelesswidget.cpp | |
parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
download | tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'wifi/kwireless/kwirelesswidget.cpp')
-rw-r--r-- | wifi/kwireless/kwirelesswidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<DeviceInfo> *)), - &dialog, TQT_SLOT(update(TQPtrList<DeviceInfo> *))); + connect(this, TQ_SIGNAL(updateDeviceInfo(TQPtrList<DeviceInfo> *)), + &dialog, TQ_SLOT(update(TQPtrList<DeviceInfo> *))); dialog.exec(); } } |