diff options
-rw-r--r-- | tdecore/tdenetworkconnections.cpp | 5 | ||||
-rw-r--r-- | tdecore/tdenetworkconnections.h | 8 |
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. |