summaryrefslogtreecommitdiffstats
path: root/tdecore/tdenetworkconnections.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/tdenetworkconnections.cpp')
-rw-r--r--tdecore/tdenetworkconnections.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tdecore/tdenetworkconnections.cpp b/tdecore/tdenetworkconnections.cpp
index a02f72e64..96da418e7 100644
--- a/tdecore/tdenetworkconnections.cpp
+++ b/tdecore/tdenetworkconnections.cpp
@@ -729,6 +729,11 @@ bool TDEGlobalNetworkManager::networkingEnabled() {
return m_internalConnectionManager->networkingEnabled();
}
+bool TDEGlobalNetworkManager::enableNetworking(bool enable) {
+ if (!m_internalConnectionManager) return false;
+ return m_internalConnectionManager->enableNetworking(enable);
+}
+
bool TDEGlobalNetworkManager::wiFiHardwareEnabled() {
if (!m_internalConnectionManager) return false;
return m_internalConnectionManager->wiFiHardwareEnabled();