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()
  • 31 public functions inherited from QObject

Public Slots

void powerOff()
void reboot()
  • 1 public slot inherited from QObject

Static Public Members

const QMetaObject staticMetaObject
  • 9 static public members inherited from QObject

Additional Inherited Members

  • 1 property inherited from QObject
  • 2 signals inherited from QObject
  • 9 protected functions inherited from QObject

Detailed Description

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

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.

[virtual] QLocalDevice::~QLocalDevice()

Deletes the local device.

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

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