9#ifndef BLUEZQT_RFKILL_H
10#define BLUEZQT_RFKILL_H
15#include "bluezqt_export.h"
23class BLUEZQT_EXPORT Rfkill :
public QObject
26 Q_PROPERTY(State state READ state NOTIFY stateChanged)
37 explicit Rfkill(QObject *parent =
nullptr);
45 void stateChanged(State state);
48 BLUEZQT_NO_EXPORT
void devReadyRead();
51 BLUEZQT_NO_EXPORT
void init();
52 BLUEZQT_NO_EXPORT
bool openForWriting();
53 BLUEZQT_NO_EXPORT
void updateRfkillDevices();
54 BLUEZQT_NO_EXPORT
bool setSoftBlock(quint8 soft);
56 std::unique_ptr<RfkillPrivate> d;