summaryrefslogtreecommitdiffstats
path: root/wifi/kwireless/propertytable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wifi/kwireless/propertytable.cpp')
-rw-r--r--wifi/kwireless/propertytable.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/wifi/kwireless/propertytable.cpp b/wifi/kwireless/propertytable.cpp
index 7011c691..7c73b1c2 100644
--- a/wifi/kwireless/propertytable.cpp
+++ b/wifi/kwireless/propertytable.cpp
@@ -7,11 +7,11 @@
http://www.hackerbuero.org $
*/
-#include <qtable.h>
-#include <qcombobox.h>
-#include <qtimer.h>
-#include <qptrlist.h>
-#include <qtextstream.h>
+#include <tqtable.h>
+#include <tqcombobox.h>
+#include <tqtimer.h>
+#include <tqptrlist.h>
+#include <tqtextstream.h>
#include <kdialogbase.h>
#include <klocale.h>
#include "propertytable.h"
@@ -21,7 +21,7 @@ extern "C" {
#include <math.h>
}
-PropertyTable::PropertyTable(QWidget *parent, const char* name)
+PropertyTable::PropertyTable(TQWidget *parent, const char* name)
: PropertyTableBase(parent, name)
{
}
@@ -30,7 +30,7 @@ PropertyTable::~PropertyTable()
{
}
-PropertiesDialog::PropertiesDialog(QWidget *parent, const char *name)
+PropertiesDialog::PropertiesDialog(TQWidget *parent, const char *name)
: KDialogBase(parent, name, true,
i18n("Wireless Network Device Properties"),
KDialogBase::Ok, KDialogBase::Ok, true),
@@ -42,14 +42,14 @@ PropertiesDialog::PropertiesDialog(QWidget *parent, const char *name)
table->table->setSorting(false);
table->table->setReadOnly(true);
adjustSize();
- timer = new QTimer(this);
- connect(timer, SIGNAL(timeout()), SLOT(timeout()));
+ timer = new TQTimer(this);
+ connect(timer, TQT_SIGNAL(timeout()), TQT_SLOT(timeout()));
timer->start(3000, false);
- connect(table->cbDeviceSelector, SIGNAL(activated(int)),
- SLOT(selected(int)));
+ connect(table->cbDeviceSelector, TQT_SIGNAL(activated(int)),
+ TQT_SLOT(selected(int)));
}
-void PropertiesDialog::update(QPtrList<DeviceInfo> *_info)
+void PropertiesDialog::update(TQPtrList<DeviceInfo> *_info)
{
int selection = table->cbDeviceSelector->currentItem();
@@ -57,7 +57,7 @@ void PropertiesDialog::update(QPtrList<DeviceInfo> *_info)
info = _info;
DeviceInfo *device;
- QPtrListIterator<DeviceInfo> it(*info);
+ TQPtrListIterator<DeviceInfo> it(*info);
table->cbDeviceSelector->clear();
@@ -102,7 +102,7 @@ void PropertiesDialog::selected(int index)
device = info->at(index);
}
- QString fields[] =
+ TQString fields[] =
{
i18n("Device:"),
i18n("ESSID (network name):"),
@@ -114,7 +114,7 @@ void PropertiesDialog::selected(int index)
};
const int NoOfFields = sizeof(fields)/sizeof(fields[0]);
- QString values[] =
+ TQString values[] =
{
device->device(),
device->essid(),