|
|
@ -184,11 +184,20 @@ namespace TDENetworkGlobalEventType {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace TDENetworkDeviceEventType {
|
|
|
|
|
|
|
|
enum TDENetworkDeviceEventType {
|
|
|
|
|
|
|
|
BitRateChanged,
|
|
|
|
|
|
|
|
Other,
|
|
|
|
|
|
|
|
Last = Other
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
namespace TDENetworkAPEventType {
|
|
|
|
namespace TDENetworkAPEventType {
|
|
|
|
enum TDENetworkAPEventType {
|
|
|
|
enum TDENetworkAPEventType {
|
|
|
|
Discovered,
|
|
|
|
Discovered,
|
|
|
|
Lost,
|
|
|
|
Lost,
|
|
|
|
SignalStrengthChanged,
|
|
|
|
SignalStrengthChanged,
|
|
|
|
|
|
|
|
AccessPointChanged,
|
|
|
|
Other,
|
|
|
|
Other,
|
|
|
|
Last = Other
|
|
|
|
Last = Other
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -1098,6 +1107,12 @@ class TDECORE_EXPORT TDENetworkConnectionManager : public TQObject
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void accessPointStatusChanged(TDEMACAddress BSSID, TDENetworkAPEventType::TDENetworkAPEventType event);
|
|
|
|
void accessPointStatusChanged(TDEMACAddress BSSID, TDENetworkAPEventType::TDENetworkAPEventType event);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Emitted whenever a network device event occurs
|
|
|
|
|
|
|
|
* The event type that caused the signal is available in @param event
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
void networkDeviceEvent(TDENetworkDeviceEventType::TDENetworkDeviceEventType event);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Emitted whenever a global network management event occurs
|
|
|
|
* Emitted whenever a global network management event occurs
|
|
|
|
* The event type that caused the signal is available in @param event
|
|
|
|
* The event type that caused the signal is available in @param event
|
|
|
@ -1150,11 +1165,44 @@ class TDECORE_EXPORT TDENetworkConnectionManager : public TQObject
|
|
|
|
static TQString friendlyConnectionTypeName(TDENetworkConnectionType::TDENetworkConnectionType type);
|
|
|
|
static TQString friendlyConnectionTypeName(TDENetworkConnectionType::TDENetworkConnectionType type);
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
protected:
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* @internal Safely clears out the master connection list and deletes all member objects
|
|
|
|
|
|
|
|
*/
|
|
|
|
void clearTDENetworkConnectionList();
|
|
|
|
void clearTDENetworkConnectionList();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* @internal Safely clears out the neighboring devices list and deletes all member objects
|
|
|
|
|
|
|
|
*/
|
|
|
|
void clearTDENetworkHWNeighborList();
|
|
|
|
void clearTDENetworkHWNeighborList();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* @internal This method must be called by the network backend whenever a connection changes state
|
|
|
|
|
|
|
|
* It emits the appropriate signals to notify client applications of the state change
|
|
|
|
|
|
|
|
*/
|
|
|
|
void internalNetworkConnectionStateChanged(TDENetworkGlobalManagerFlags::TDENetworkGlobalManagerFlags newState);
|
|
|
|
void internalNetworkConnectionStateChanged(TDENetworkGlobalManagerFlags::TDENetworkGlobalManagerFlags newState);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* @internal This method must be called by the network backend whenever a device changes state
|
|
|
|
|
|
|
|
* It emits the appropriate signals to notify client applications of the state change
|
|
|
|
|
|
|
|
*/
|
|
|
|
void internalNetworkDeviceStateChanged(TDENetworkConnectionStatus::TDENetworkConnectionStatus newState, TQString hwAddress=TQString::null);
|
|
|
|
void internalNetworkDeviceStateChanged(TDENetworkConnectionStatus::TDENetworkConnectionStatus newState, TQString hwAddress=TQString::null);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* @internal This method must be called by the network backend whenever a wireless access point changes state
|
|
|
|
|
|
|
|
* It emits the appropriate signals to notify client applications of the state change
|
|
|
|
|
|
|
|
*/
|
|
|
|
void internalAccessPointStatusChanged(TDEMACAddress BSSID, TDENetworkAPEventType::TDENetworkAPEventType event);
|
|
|
|
void internalAccessPointStatusChanged(TDEMACAddress BSSID, TDENetworkAPEventType::TDENetworkAPEventType event);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* @internal This method must be called by the network backend whenever a device event occurs
|
|
|
|
|
|
|
|
* It emits the appropriate signals to notify client applications of the network device event
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
void internalNetworkDeviceEvent(TDENetworkDeviceEventType::TDENetworkDeviceEventType event);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* @internal This method must be called by the network backend whenever it changes state
|
|
|
|
|
|
|
|
* It emits the appropriate signals to notify client applications of the state change
|
|
|
|
|
|
|
|
*/
|
|
|
|
void internalNetworkManagementEvent(TDENetworkGlobalEventType::TDENetworkGlobalEventType event);
|
|
|
|
void internalNetworkManagementEvent(TDENetworkGlobalEventType::TDENetworkGlobalEventType event);
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
protected:
|
|
|
|