NetworkManager::SettingsNotifier Class
This class manages provides access to connections and notify about new ones. More...
- Header:
#include <NetworkManagerQt/Settings> - CMake:
find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt)
target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt) - Inherits: QObject
List of all members, including inherited members
Signals
- void canModifyChanged(bool canModify)
- void connectionAdded(const QString &path)
- void connectionRemoved(const QString &path)
- void hostnameChanged(const QString &hostname)
Detailed Description
Member Function Documentation
[signal] void SettingsNotifier::canModifyChanged(bool canModify)
Emitted when the settings are modifiable by user
canModify true if the user can modify the settings
[signal] void SettingsNotifier::connectionAdded(const QString &path)
Emitted when a new connection is added
Note: This signal is not emitted when the Network Manager daemon starts, if you are interested in keeping an updated listing of connections you must also watch for NetworkManager::Notifier::serviceAppeared() and NetworkManager::Notifier::serviceDisappeared() signals
[signal] void SettingsNotifier::connectionRemoved(const QString &path)
Emitted when a new connection is removed
Note: This signal is not emitted when the Network Manager daemon starts, if you are interested in keeping an updated listing of connections you must also watch for NetworkManager::Notifier::serviceAppeared() and NetworkManager::Notifier::serviceDisappeared() signals
[signal] void SettingsNotifier::hostnameChanged(const QString &hostname)
Emitted when the hostname has changed
hostname new hostname