summaryrefslogtreecommitdiffstats
path: root/tdecore/tdenetworkconnections.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-10 10:52:00 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-10 10:52:00 -0500
commit0a3b1be6318067d26fd20031f64caa380c55d5cc (patch)
tree3469cb624417cc2991e4c9a2ce607702aa6fa553 /tdecore/tdenetworkconnections.cpp
parentd62684deefe7ee5c654e4fc5b6359db5661dd6a9 (diff)
downloadtdelibs-0a3b1be6318067d26fd20031f64caa380c55d5cc.tar.gz
tdelibs-0a3b1be6318067d26fd20031f64caa380c55d5cc.zip
Add a couple of needed methods to the network-manager backend API
Diffstat (limited to 'tdecore/tdenetworkconnections.cpp')
-rw-r--r--tdecore/tdenetworkconnections.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tdecore/tdenetworkconnections.cpp b/tdecore/tdenetworkconnections.cpp
index 53bd1f4ec..dcccc64c0 100644
--- a/tdecore/tdenetworkconnections.cpp
+++ b/tdecore/tdenetworkconnections.cpp
@@ -861,6 +861,11 @@ TDEGlobalNetworkManager::~TDEGlobalNetworkManager() {
delete m_internalConnectionManager;
}
+TQString TDEGlobalNetworkManager::backendName() {
+ if (!m_internalConnectionManager) return TQString::null;
+ return m_internalConnectionManager->backendName();
+}
+
TDENetworkGlobalManagerFlags::TDENetworkGlobalManagerFlags TDEGlobalNetworkManager::backendStatus() {
if (!m_internalConnectionManager) return TDENetworkGlobalManagerFlags::BackendUnavailable;
return m_internalConnectionManager->backendStatus();
@@ -926,6 +931,11 @@ TQStringList TDEGlobalNetworkManager::connectionPhysicalDeviceUUIDs(TQString uui
return m_internalConnectionManager->connectionPhysicalDeviceUUIDs(uuid);
}
+TDENetworkVPNTypeList TDEGlobalNetworkManager::availableVPNTypes() {
+ if (!m_internalConnectionManager) return TDENetworkVPNTypeList();
+ return m_internalConnectionManager->availableVPNTypes();
+}
+
bool TDEGlobalNetworkManager::networkingEnabled() {
if (!m_internalConnectionManager) return false;
return m_internalConnectionManager->networkingEnabled();