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/speed.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/speed.cpp')
-rw-r--r-- | wifi/speed.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/wifi/speed.cpp b/wifi/speed.cpp index fdb7256c..ae199d90 100644 --- a/wifi/speed.cpp +++ b/wifi/speed.cpp @@ -15,23 +15,23 @@ * * ***************************************************************************/ -#include <qpainter.h> +#include <tqpainter.h> #include <klocale.h> #include <kdebug.h> #include "speed.h" #include "interface_wireless.h" -Speed::Speed (QWidget * parent, Interface_wireless * device):QWidget (parent, +Speed::Speed (TQWidget * parent, Interface_wireless * device):TQWidget (parent, "KWiFiManager") { this->device = device; } void -Speed::paintEvent (QPaintEvent *) +Speed::paintEvent (TQPaintEvent *) { - QPainter speedpainter (this); - QColor farbe; + TQPainter speedpainter (this); + TQColor farbe; farbe.setRgb (0, 255, 0); if (device->get_bitrate () < 6000000) farbe.setRgb (0, 200, 0); |