diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /wifi/speed.cpp | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'wifi/speed.cpp')
-rw-r--r-- | wifi/speed.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/wifi/speed.cpp b/wifi/speed.cpp index ae199d90..c09dbb54 100644 --- a/wifi/speed.cpp +++ b/wifi/speed.cpp @@ -21,7 +21,7 @@ #include "speed.h" #include "interface_wireless.h" -Speed::Speed (TQWidget * parent, Interface_wireless * device):TQWidget (parent, +Speed::Speed (TQWidget * tqparent, Interface_wireless * device):TQWidget (tqparent, "KWiFiManager") { this->device = device; @@ -45,20 +45,20 @@ Speed::paintEvent (TQPaintEvent *) { speedpainter.fillRect (20, 30, (int) device->get_bitrate () / 50000, 10, farbe); - speedpainter.drawText (16, 52, "0"); - speedpainter.drawText (35, 52, "1"); - speedpainter.drawText (55, 52, "2"); - speedpainter.drawText (120, 52, "5.5"); - speedpainter.drawText (230, 52, "11"); + speedpainter.drawText (16, 52, TQString("0")); + speedpainter.drawText (35, 52, TQString("1")); + speedpainter.drawText (55, 52, TQString("2")); + speedpainter.drawText (120, 52, TQString("5.5")); + speedpainter.drawText (230, 52, TQString("11")); } else { speedpainter.fillRect (20, 30, (int) device->get_bitrate () / 500000, 10, farbe); - speedpainter.drawText (16, 52, "0"); - speedpainter.drawText (33, 52, "11"); - speedpainter.drawText (56, 52, "22"); - speedpainter.drawText (120, 52, "54"); - speedpainter.drawText (220, 52, "108"); + speedpainter.drawText (16, 52, TQString("0")); + speedpainter.drawText (33, 52, TQString("11")); + speedpainter.drawText (56, 52, TQString("22")); + speedpainter.drawText (120, 52, TQString("54")); + speedpainter.drawText (220, 52, TQString("108")); }; } |