summaryrefslogtreecommitdiffstats
path: root/wifi/kwireless/kwirelesswidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /wifi/kwireless/kwirelesswidget.h
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-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/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);