BluezQt::Rfkill Class
class BluezQt::RfkillHeader: | #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
- state : const State
Public Functions
Signals
void | stateChanged(BluezQt::Rfkill::State state) |
Detailed Description
Member Type Documentation
enum Rfkill::State
Constant | Value |
---|---|
BluezQt::Rfkill::Unblocked | 0 |
BluezQt::Rfkill::SoftBlocked | 1 |
BluezQt::Rfkill::HardBlocked | 2 |
BluezQt::Rfkill::Unknown | 3 |
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.