1 // object to handle network manager events
5 #include <QCoreApplication>
7 #include <qdbusextratypes.h>
21 QString hardwareAddress
;
30 uint capabilitiesType
;
31 QString activeNetPath
;
34 Q_DECLARE_METATYPE(NMDevice
)
36 class NMObject
: public QCoreApplication
40 NMObject(int argc
, char ** argv
);
45 void updateNetwork(QDBusObjectPath
,QDBusObjectPath
);
46 void deviceStrengthChanged(QDBusObjectPath
,int);
47 void netStrengthChanged(QDBusObjectPath
,QDBusObjectPath
,int);
48 void wirelessNetworkAppeared(QDBusObjectPath
,QDBusObjectPath
);
49 void wirelessNetworkDisappeared(QDBusObjectPath
,QDBusObjectPath
);
51 QDBusInterface
* nmIface
;
52 QDBusInterface
* nmDeviceIface
;