diff --git a/src/device.h b/src/device.h --- a/src/device.h +++ b/src/device.h @@ -243,6 +243,10 @@ * The firmware version. */ QString firmwareVersion() const; + /** + * Reapplies connection settings on the interface. + */ + QDBusPendingReply<> reapplyConnection(const NMVariantMapMap &connection, qulonglong version_id, uint flags); /** * Disconnects a device and prevents the device from automatically * activating further connections without user intervention. diff --git a/src/device.cpp b/src/device.cpp --- a/src/device.cpp +++ b/src/device.cpp @@ -544,6 +544,12 @@ return d->metered; } +QDBusPendingReply<> NetworkManager::Device::reapplyConnection(const NMVariantMapMap &connection, qulonglong version_id, uint flags) +{ + Q_D(Device); + return d->deviceIface.Reapply(connection, version_id, flags); +} + QDBusPendingReply<> NetworkManager::Device::disconnectInterface() { Q_D(Device);