diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /wifi/kwireless/propertytable.cpp | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'wifi/kwireless/propertytable.cpp')
-rw-r--r-- | wifi/kwireless/propertytable.cpp | 30 |
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(), |