Index: sources/device/DeviceView.h =================================================================== diff -u -r80b5e8f1ebb90c03c37d90d90cd2da3bd95d6803 -r5a9b7ff46df9cecc258f7cb18019a51bca76bce3 --- sources/device/DeviceView.h (.../DeviceView.h) (revision 80b5e8f1ebb90c03c37d90d90cd2da3bd95d6803) +++ sources/device/DeviceView.h (.../DeviceView.h) (revision 5a9b7ff46df9cecc258f7cb18019a51bca76bce3) @@ -42,6 +42,8 @@ TRIGGER ( quint32 , reason , 0) PROPERTY ( QString , status , "") + PROPERTY ( QString , osVersion , "") + ATTRIBUTE ( quint8 , brightness , 0, Brightness ) ATTRIBUTE ( quint8 , bluetoothPairedReset, 0, BluetoothPairedReset ) @@ -50,7 +52,7 @@ ATTRIBUTE ( QString , cryptSetup , "", CryptSetup ) PROPERTY ( bool , cryptSetupEnabled , true ) - ATTRIBUTE ( bool , rootSSHAccess , false, RootSSHAccess ) + ATTRIBUTE ( Qt::CheckState, rootSSHAccess , Qt::Unchecked , RootSSHAccess ) ATTRIBUTE ( QString , factoryReset , "", FactoryReset ) PROPERTY ( bool , factoryResetEnabled , true ) @@ -60,6 +62,9 @@ VIEW_DEC_CLASS(VDevice) +private slots: + void onPOSTOSVersionData (const QString &vOSVersion); + private: bool isCompleteResponse(Model::MDeviceResponseBase::Data vData) { // Either the script exited successfully or the script failed and the reason is provided