From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001
From: tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Date: Sat, 31 Jul 2010 19:48:06 +0000
Subject: Trinity Qt initial conversion

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
---
 wifi/kwireless/propertytable.cpp | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

(limited to 'wifi/kwireless/propertytable.cpp')

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(),
-- 
cgit v1.2.3