LockdownPortal Class
(Sailfish::XDP::LockdownPortal)
Backend interface of the Lockdown Portal More...
Header: | #include <LockdownPortal>
|
Properties
Public Functions
Public Slots
Detailed Description
Backend interface of the Lockdown Portal
See XDG Desktop Portal Backend Specification for details.
Note: While the specification of all those properties is simple, the implementatio of the various methods uses widely different technologies to enable or disable a feature:
- Printing, Save To Disk, and Application Handlers: not supported at all, setting them has no effect.
- Location: reads and writes the
location.conf
init files, like Nemo QML Plugin Systemsettings
- Microphone: uses a DBus connection to PulseAudio to mute the default source
- Sound Output: uses Profile Daemon to set a silent or default profile
- Camera: uses Sailfish MDM Access Policies to enable or disable the use of the camera.
See also [sailfish-policy]{AccessPolicy}, [libprofile]{com.nokia.profiled}, and [nemo-qml-plugin-systemsettings]{Nemo QML Plugin Systemsettings}.
Property Documentation
disable_application_handlers : const bool
disable_camera : const bool
disable_location : const bool
disable_microphone : const bool
disable_printing : const bool
disable_save_to_disk : const bool
disable_sound_output : const bool
Member Function Documentation
LockdownPortal::LockdownPortal(QObject *parent)
Default constructs an instance of LockdownPortal.
[slot]
void LockdownPortal::cameraDisabledChanged()
[slot]
void LockdownPortal::locationSettingsDisabledChanged()
[slot]
void LockdownPortal::microphoneDisabledChanged()