BluezQt::Rfkill Class

class BluezQt::Rfkill
Header: #include <BluezQt/Rfkill>
CMake: find_package(KF6 REQUIRED COMPONENTS BluezQt)
target_link_libraries(mytarget PRIVATE KF6::BluezQt)
Inherits: QObject

Public Types

enum State { Unblocked, SoftBlocked, HardBlocked, Unknown }

Properties

Public Functions

Rfkill(QObject *parent = nullptr)
void block()
BluezQt::Rfkill::State state() const
void unblock()

Signals

void stateChanged(BluezQt::Rfkill::State state)

Detailed Description

Member Type Documentation

enum Rfkill::State

ConstantValue
BluezQt::Rfkill::Unblocked0
BluezQt::Rfkill::SoftBlocked1
BluezQt::Rfkill::HardBlocked2
BluezQt::Rfkill::Unknown3

Property Documentation

[read-only] state : const State

Access functions:

BluezQt::Rfkill::State state() const

Notifier signal:

void stateChanged(BluezQt::Rfkill::State state)

Member Function Documentation

[explicit] Rfkill::Rfkill(QObject *parent = nullptr)

void Rfkill::block()

BluezQt::Rfkill::State Rfkill::state() const

Note: Getter function for property state.

[signal] void Rfkill::stateChanged(BluezQt::Rfkill::State state)

Note: Notifier signal for property state.

void Rfkill::unblock()