Classes | |
| class | AccessPoint |
| One org.freedesktop.NetworkManager.AccessPoint — a Wi-Fi network as seen by a wireless device's last scan. More... | |
| class | AccessPointModel |
| List model over the access points a single Wi-Fi NetworkDevice last scanned. More... | |
| class | NetworkConnection |
| One saved profile — an org.freedesktop.NetworkManager.Settings.Connection. More... | |
| class | NetworkConnectionModel |
| List model over the saved connection profiles NetworkManager knows about (org.freedesktop.NetworkManager.Settings). More... | |
| class | NetworkDevice |
| One org.freedesktop.NetworkManager.Device object. More... | |
| class | NetworkDeviceModel |
| List model over a NetworkHost's devices. More... | |
| class | NetworkHost |
| Root of the NetworkManager surface. More... | |
Functions | |
| PHOSPHORSERVICENETWORK_EXPORT void | registerQmlTypes () |
| Register every PhosphorServiceNetwork QML type under the Phosphor.Service.Network module at version 1.0. | |
| PHOSPHORSERVICENETWORK_EXPORT void PhosphorServiceNetwork::registerQmlTypes | ( | ) |
Register every PhosphorServiceNetwork QML type under the Phosphor.Service.Network module at version 1.0.
Idempotent on repeat calls: internally guarded by std::call_once so a hot- reloading shell that builds a fresh QQmlEngine per reload can safely call this from every engine setup without triggering Qt's duplicate-registration warning.
Called from the consuming binary (typically phosphor-shell/src/main.cpp for the reference shell, but any QGuiApplication that wants to expose NetworkManager to its QML can call this) before any QQmlEngine loads a .qml file. Keeping registration in the lib lets the consumer stay free of the type-registration boilerplate while still controlling when the types appear in their engine.