summaryrefslogtreecommitdiffstats
path: root/wifi/speed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wifi/speed.cpp')
-rw-r--r--wifi/speed.cpp22
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"));
};
}