diff options
Diffstat (limited to 'wifi/locator.cpp')
-rw-r--r-- | wifi/locator.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/wifi/locator.cpp b/wifi/locator.cpp index dc4e4ce1..ad4e7945 100644 --- a/wifi/locator.cpp +++ b/wifi/locator.cpp @@ -15,13 +15,13 @@ * * ***************************************************************************/ -#include <qpainter.h> +#include <tqpainter.h> #include "locator.h" #include "interface_wireless.h" -extern QStringList APs; +extern TQStringList APs; -Locator::Locator (QWidget * parent, Interface_wireless * device):QWidget (parent, +Locator::Locator (TQWidget * parent, Interface_wireless * device):TQWidget (parent, "KwiFiManager") { this->device = device; @@ -30,10 +30,10 @@ Locator::Locator (QWidget * parent, Interface_wireless * device):QWidget (parent void Locator::generateLocWidget () { - QString mac, ip; + TQString mac, ip; device->get_AP_info (mac, ip); sentence = - new QLabel (i18n ("AccessPoint: ") + whois (mac.local8Bit (), APs), this); + new TQLabel (i18n ("AccessPoint: ") + whois (mac.local8Bit (), APs), this); setFixedSize (QSize (sentence->sizeHint ().width () + 2, sentence->sizeHint ().height ())); @@ -42,14 +42,14 @@ Locator::generateLocWidget () (sentence->sizeHint ().width () + 2, sentence->sizeHint ().height ())); sentence->show (); - widgetbild = QPixmap::grabWidget (sentence); + widgetbild = TQPixmap::grabWidget (sentence); delete sentence; } void -Locator::paintEvent (QPaintEvent *) +Locator::paintEvent (TQPaintEvent *) { - QPainter *locatorpainter = new QPainter (this); + TQPainter *locatorpainter = new TQPainter (this); generateLocWidget (); locatorpainter->drawPixmap (0, 0, widgetbild); delete locatorpainter; |