Index: sources/view/VBluetooth.h =================================================================== diff -u -r757a01c42a7a611704a67869a74c68f53edab20f -ra47e7059c91c50cee3e05972fe5d96c053cdfb31 --- sources/view/VBluetooth.h (.../VBluetooth.h) (revision 757a01c42a7a611704a67869a74c68f53edab20f) +++ sources/view/VBluetooth.h (.../VBluetooth.h) (revision a47e7059c91c50cee3e05972fe5d96c053cdfb31) @@ -7,6 +7,7 @@ #include // Project +#include "VView.h" #include "VBluetoothDeviceInfo.h" #include "GuiController.h" @@ -28,9 +29,9 @@ class VBluetooth : public QObject { Q_OBJECT -public: - explicit VBluetooth(QObject *parent = nullptr); +VIEW_DEC_CLASS(VBluetooth) + protected: Q_PROPERTY(QVariant devices READ doGetDevices NOTIFY didDevicesChanged) Q_PROPERTY(QVariant pairedDevices READ doGetPairedDevices NOTIFY didPairedDevicesChanged)