The QLocalDevice class provides utility functions for controlling an embedded device. More...
|qmake:||QT += localdevice|
|QLocalDevice(QObject *parent = Q_NULLPTR)|
The methods in this class enable shutting down and rebooting an embedded device.
Member Function Documentation
QLocalDevice::QLocalDevice(QObject *parent = Q_NULLPTR)
Creates a new local device with the parent parent.
[slot] void QLocalDevice::powerOff()
Shuts down the system. Does not return.
See also reboot().
[slot] void QLocalDevice::reboot()
Reboots the system. Does not return.
See also powerOff().
Deletes the local device.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.