summaryrefslogtreecommitdiffstats
path: root/wifi/kwireless/kwirelesswidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'wifi/kwireless/kwirelesswidget.h')
-rw-r--r--wifi/kwireless/kwirelesswidget.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/wifi/kwireless/kwirelesswidget.h b/wifi/kwireless/kwirelesswidget.h
index 3321b583..534c16c4 100644
--- a/wifi/kwireless/kwirelesswidget.h
+++ b/wifi/kwireless/kwirelesswidget.h
@@ -18,8 +18,8 @@
class DeviceInfo
{
public:
- DeviceInfo(TQString _device=TQString::null, TQString _essid=TQString::null,
- TQString _encr=TQString::null,
+ DeviceInfo(TQString _device=TQString(), TQString _essid=TQString(),
+ TQString _encr=TQString(),
float _quality=0, float _signal=0, float _noise=0,
int _bitrate=0);
TQString bitrateString();
@@ -50,18 +50,19 @@ protected:
It is supposed to "look good" at about any resolution (to enable
it to be used in the panel). */
-class KWireLessWidget : public QWidget
+class KWireLessWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
enum Mode {
Horizontal,
Vertical
};
- static KWireLessWidget* makeWireLessWidget(TQWidget *parent = 0,
+ static KWireLessWidget* makeWireLessWidget(TQWidget *tqparent = 0,
const char *name = 0);
protected:
- KWireLessWidget(TQWidget *parent=0, const char* name=0);
+ KWireLessWidget(TQWidget *tqparent=0, const char* name=0);
public:
~KWireLessWidget();
void setMode(Mode);