diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 17:34:53 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-18 09:59:16 +0900 |
| commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
| tree | 9330d82486c7b3125b8275914565b324f9af523e /wifi/kwireless | |
| 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 <michele.calgaro@yahoo.it>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'wifi/kwireless')
| -rw-r--r-- | wifi/kwireless/kwirelesswidget.cpp | 6 | ||||
| -rw-r--r-- | wifi/kwireless/propertytable.cpp | 6 |
2 files changed, 6 insertions, 6 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(); } } diff --git a/wifi/kwireless/propertytable.cpp b/wifi/kwireless/propertytable.cpp index fb32d938..afbd8115 100644 --- a/wifi/kwireless/propertytable.cpp +++ b/wifi/kwireless/propertytable.cpp @@ -43,10 +43,10 @@ PropertiesDialog::PropertiesDialog(TQWidget *parent, const char *name) table->table->setReadOnly(true); adjustSize(); timer = new TQTimer(this); - connect(timer, TQT_SIGNAL(timeout()), TQT_SLOT(timeout())); + connect(timer, TQ_SIGNAL(timeout()), TQ_SLOT(timeout())); timer->start(3000, false); - connect(table->cbDeviceSelector, TQT_SIGNAL(activated(int)), - TQT_SLOT(selected(int))); + connect(table->cbDeviceSelector, TQ_SIGNAL(activated(int)), + TQ_SLOT(selected(int))); } void PropertiesDialog::update(TQPtrList<DeviceInfo> *_info) |
