summaryrefslogtreecommitdiffstats
path: root/tdecore/tdenetworkconnections.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-07 00:33:23 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-07 00:33:23 -0500
commit6b96deb4ebac9e55ff35d7f77313c5aebb103880 (patch)
tree79c35ba8c591c53fb0b2a77bf5895862c472db8f /tdecore/tdenetworkconnections.h
parent96765c9dea208b345a7da67e7f8357e4be6a40bf (diff)
downloadtdelibs-6b96deb4ebac9e55ff35d7f77313c5aebb103880.tar.gz
tdelibs-6b96deb4ebac9e55ff35d7f77313c5aebb103880.zip
Add global network management event signal
Diffstat (limited to 'tdecore/tdenetworkconnections.h')
-rw-r--r--tdecore/tdenetworkconnections.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/tdecore/tdenetworkconnections.h b/tdecore/tdenetworkconnections.h
index ded2d58b4..7f8052e6b 100644
--- a/tdecore/tdenetworkconnections.h
+++ b/tdecore/tdenetworkconnections.h
@@ -176,6 +176,14 @@ namespace TDENetworkSlaveDeviceType {
};
};
+namespace TDENetworkGlobalEventType {
+ enum TDENetworkGlobalEventType {
+ ConnectionListChanged,
+ Other,
+ Last = Other
+ };
+};
+
namespace TDENetworkAPEventType {
enum TDENetworkAPEventType {
Discovered,
@@ -1089,6 +1097,12 @@ class TDECORE_EXPORT TDENetworkConnectionManager : public TQObject
*/
void accessPointStatusChanged(TDEMACAddress BSSID, TDENetworkAPEventType::TDENetworkAPEventType event);
+ /**
+ * Emitted whenever a global network management event occurs
+ * The event type that caused the signal is available in @param event
+ */
+ void networkManagementEvent(TDENetworkGlobalEventType::TDENetworkGlobalEventType event);
+
public:
/**
* @return a TDENetworkConnectionList object containing a list of all
@@ -1140,6 +1154,7 @@ class TDECORE_EXPORT TDENetworkConnectionManager : public TQObject
void internalNetworkConnectionStateChanged(TDENetworkGlobalManagerFlags::TDENetworkGlobalManagerFlags newState);
void internalNetworkDeviceStateChanged(TDENetworkConnectionStatus::TDENetworkConnectionStatus newState, TQString hwAddress=TQString::null);
void internalAccessPointStatusChanged(TDEMACAddress BSSID, TDENetworkAPEventType::TDENetworkAPEventType event);
+ void internalNetworkManagementEvent(TDENetworkGlobalEventType::TDENetworkGlobalEventType event);
protected:
TDENetworkConnectionList* m_connectionList;
@@ -1291,6 +1306,12 @@ class TDECORE_EXPORT TDEGlobalNetworkManager : public TQObject
*/
void accessPointStatusChanged(TDEMACAddress BSSID, TDENetworkAPEventType::TDENetworkAPEventType event);
+ /**
+ * Emitted whenever a global network management event occurs
+ * The event type that caused the signal is available in @param event
+ */
+ void networkManagementEvent(TDENetworkGlobalEventType::TDENetworkGlobalEventType event);
+
public:
/**
* @return a TDENetworkConnectionList object containing a list of all