summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-07 22:51:42 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-07 22:51:42 -0500
commite064a2e485a72e5baf8b7a1c9991eb4df4bd1254 (patch)
tree32bf72c23d38f3862d3bf7c80fe2038938fea29a /tdecore
parent671940a29d4d57021a1bf63d310bbd854e07f1fa (diff)
downloadtdelibs-e064a2e485a72e5baf8b7a1c9991eb4df4bd1254.tar.gz
tdelibs-e064a2e485a72e5baf8b7a1c9991eb4df4bd1254.zip
Add loadConnectionAllowedValues method to global network manager
Diffstat (limited to 'tdecore')
-rw-r--r--tdecore/tdenetworkconnections.cpp5
-rw-r--r--tdecore/tdenetworkconnections.h8
2 files changed, 13 insertions, 0 deletions
diff --git a/tdecore/tdenetworkconnections.cpp b/tdecore/tdenetworkconnections.cpp
index 11874205f..ad4d73b78 100644
--- a/tdecore/tdenetworkconnections.cpp
+++ b/tdecore/tdenetworkconnections.cpp
@@ -828,6 +828,11 @@ void TDEGlobalNetworkManager::loadConnectionInformation() {
return m_internalConnectionManager->loadConnectionInformation();
}
+void TDEGlobalNetworkManager::loadConnectionAllowedValues(TDENetworkConnection* connection) {
+ if (!m_internalConnectionManager) return;
+ return m_internalConnectionManager->loadConnectionAllowedValues(connection);
+}
+
bool TDEGlobalNetworkManager::loadConnectionSecrets(TQString uuid) {
if (!m_internalConnectionManager) return false;
return m_internalConnectionManager->loadConnectionSecrets(uuid);
diff --git a/tdecore/tdenetworkconnections.h b/tdecore/tdenetworkconnections.h
index 7f8052e6b..93bab1d73 100644
--- a/tdecore/tdenetworkconnections.h
+++ b/tdecore/tdenetworkconnections.h
@@ -1193,6 +1193,14 @@ class TDECORE_EXPORT TDEGlobalNetworkManager : public TQObject
virtual void loadConnectionInformation();
/**
+ * @param connection a pointer to a TDENetworkConnection object containing a
+ * connection in which to load the values allowed by the backend.
+ * This is normally called as part of loadConnectionInformation(), but should
+ * manually be called immediately after creation of a new TDENetworkConnection object.
+ */
+ virtual void loadConnectionAllowedValues(TDENetworkConnection* connection);
+
+ /**
* @param uuid a TQString conntaining the UUID of a connection for which to
* load secrets from the configuration backend.
* @return true on success, false on failure.