QLocalDevice Class

The QLocalDevice class provides utility functions for controlling an embedded device. More...

Header: #include <QLocalDevice>
qmake: QT += localdevice
Inherits: QObject

Public Functions

QLocalDevice(QObject *parent = Q_NULLPTR)
virtual ~QLocalDevice()

Public Slots

void powerOff()
void reboot()

Detailed Description

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().

[virtual] QLocalDevice::~QLocalDevice()

Deletes the local device.

© 2024 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.