From 2277bfa0d62d052c5a1fa42425ed6ed23d1cc96d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 28 Nov 2012 13:05:30 -0600 Subject: Fix a number of issues with the network-manager backend, including event loop recursion --- tdecore/tdenetworkconnections.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tdecore/tdenetworkconnections.h') diff --git a/tdecore/tdenetworkconnections.h b/tdecore/tdenetworkconnections.h index 532618ab0..b1e02ce9d 100644 --- a/tdecore/tdenetworkconnections.h +++ b/tdecore/tdenetworkconnections.h @@ -213,6 +213,7 @@ namespace TDENetworkVPNEventType { namespace TDENetworkDeviceEventType { enum TDENetworkDeviceEventType { BitRateChanged, + Failure, Other, Last = Other }; @@ -1186,8 +1187,9 @@ class TDECORE_EXPORT TDENetworkConnectionManager : public TQObject /** * Emitted whenever a network device event occurs * The event type that caused the signal is available in @param event + * @param message contains additional information if available */ - void networkDeviceEvent(TDENetworkDeviceEventType::TDENetworkDeviceEventType event); + void networkDeviceEvent(TDENetworkDeviceEventType::TDENetworkDeviceEventType event, TQString message); /** * Emitted whenever a VPN-related event occurs @@ -1295,7 +1297,7 @@ class TDECORE_EXPORT TDENetworkConnectionManager : public TQObject * @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); + void internalNetworkDeviceEvent(TDENetworkDeviceEventType::TDENetworkDeviceEventType event, TQString message); /** * @internal This method must be called by the network backend whenever a VPN event occurs -- cgit v1.2.1