NetworkManager::Notifier Class

class NetworkManager::Notifier
Header: #include <Notifier>
CMake: find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt)
target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt)
Inherits: QObject

Signals

void activatingConnectionChanged(const QString &uni)
void activeConnectionAdded(const QString &path)
void activeConnectionRemoved(const QString &path)
void activeConnectionsChanged()
void connectivityChanged(NetworkManager::Connectivity connectivity)
void connectivityCheckUriChanged(QString)
void deviceAdded(const QString &uni)
void deviceRemoved(const QString &uni)
void globalDnsConfigurationChanged(const NetworkManager::DnsConfiguration &configuration)
void isConnectivityCheckAvailableChanged(bool)
void isConnectivityCheckEnabledChanged(bool)
void isStartingUpChanged()
void meteredChanged(NetworkManager::Device::MeteredStatus metered)
void networkingEnabledChanged(bool)
void primaryConnectionChanged(const QString &uni)
void primaryConnectionTypeChanged(NetworkManager::ConnectionSettings::ConnectionType type)
void serviceAppeared()
void serviceDisappeared()
void statusChanged(NetworkManager::Status status)
void wirelessEnabledChanged(bool)
void wirelessHardwareEnabledChanged(bool)
void wwanEnabledChanged(bool)
void wwanHardwareEnabledChanged(bool)

Detailed Description

Member Function Documentation

[signal] void Notifier::activatingConnectionChanged(const QString &uni)

Emitted when the activating connection changes. uni path of the new activating connection

[signal] void Notifier::activeConnectionAdded(const QString &path)

This signal is emitted when a new connection was made active

path the path of the new connection

[signal] void Notifier::activeConnectionRemoved(const QString &path)

This signal is emitted when an active connection is no longer active

path the path of the removed connection

[signal] void Notifier::activeConnectionsChanged()

This signal is emitted when the set of active connections changes

[signal] void Notifier::connectivityChanged(NetworkManager::Connectivity connectivity)

Emitted when the global connectivity changes.

[signal] void Notifier::connectivityCheckUriChanged(QString)

Emitted when the connectivity check URI has changed @since 6.10.0

[signal] void Notifier::deviceAdded(const QString &uni)

This signal is emitted when a new network interface is available.

uni the network interface identifier

[signal] void Notifier::deviceRemoved(const QString &uni)

This signal is emitted when a network interface is not available anymore.

uni the network interface identifier

[signal] void Notifier::globalDnsConfigurationChanged(const NetworkManager::DnsConfiguration &configuration)

Emitted when the global DNS configuration has changed

See also globalDnsConfiguration.

[signal] void Notifier::isConnectivityCheckAvailableChanged(bool)

Emitted when the connectivity check availability has changed @since 6.10.0

[signal] void Notifier::isConnectivityCheckEnabledChanged(bool)

Emitted when the connectivity check statu has changed @since 6.10.0

[signal] void Notifier::isStartingUpChanged()

Emitted when NM has started/finished its startup sequence

[signal] void Notifier::meteredChanged(NetworkManager::Device::MeteredStatus metered)

Emitted when metered property has changed

See also metered.

[signal] void Notifier::networkingEnabledChanged(bool)

This signal is emitted when the status of overall networking changed

[signal] void Notifier::primaryConnectionChanged(const QString &uni)

Emitted when the primary connection changes. uni path of the new primary connection

[signal] void Notifier::primaryConnectionTypeChanged(NetworkManager::ConnectionSettings::ConnectionType type)

Emitted when the primary connection type changes. connection type of the new primary connection

[signal] void Notifier::serviceAppeared()

This signal is emitted when the NetworkManager DBus service appears

[signal] void Notifier::serviceDisappeared()

This signal is emitted when the NetworkManager DBus service goes away

[signal] void Notifier::statusChanged(NetworkManager::Status status)

This signal is emitted when the system's connection state changes

[signal] void Notifier::wirelessEnabledChanged(bool)

This signal is emitted when the status of the wireless changed

[signal] void Notifier::wirelessHardwareEnabledChanged(bool)

This signal is emitted when the status of the wireless changed

[signal] void Notifier::wwanEnabledChanged(bool)

This signal is emitted when the status of the wireless changed

[signal] void Notifier::wwanHardwareEnabledChanged(bool)

This signal is emitted when the status of the wireless changed