Index: sources/device/DeviceView.h =================================================================== diff -u -rdb52d097addadd2eef6102340778be143ee81df4 -r3c547f89553d3aabe59423b82ecb7f8c28f9d32a --- sources/device/DeviceView.h (.../DeviceView.h) (revision db52d097addadd2eef6102340778be143ee81df4) +++ sources/device/DeviceView.h (.../DeviceView.h) (revision 3c547f89553d3aabe59423b82ecb7f8c28f9d32a) @@ -80,33 +80,35 @@ TDataRoles roleNames ( ) const override { return dataRoles; } int rowCount (const QModelIndex & = QModelIndex() ) const override { return _dataList.count(); } QVariant data (const QModelIndex &vIndex , int vRole = Qt::DisplayRole ) const override ; - void dataAppend (const DataModel &vData , bool vFirst ); + void dataAppend (const DataModel &vData , bool vFirst , bool vSecond); void dataClear ( ); private: + TRIGGER ( bool , response , true) - PROPERTY ( bool , accepted , 0) - TRIGGER ( quint32 , reason , 0) PROPERTY ( QString , status , "") - PROPERTY ( QString , osVersion , "") + READONLY ( bool , accepted , 0) + TRIGGER ( quint32 , reason , 0) + READONLY ( QString , osVersion , "") + ATTRIBUTE ( quint8 , brightness , 0, Brightness ) ATTRIBUTE ( quint8 , bluetoothPairedReset, 0, BluetoothPairedReset ) ATTRIBUTE ( QStringList , bluetoothPairedQuery, {}, BluetoothPairedQuery ) ATTRIBUTE ( QString , cryptSetup , "", CryptSetup ) - PROPERTY ( bool , cryptSetupEnabled , true ) + READONLY ( bool , cryptSetupEnabled , true ) ATTRIBUTE ( Qt::CheckState, rootSSHAccess , Qt::Unchecked , RootSSHAccess ) ATTRIBUTE ( QString , factoryReset , "", FactoryReset ) - PROPERTY ( bool , factoryResetEnabled , true ) + READONLY ( bool , factoryResetEnabled , true ) ATTRIBUTE ( QString , decommission , "", Decommission ) - PROPERTY ( bool , decommissionEnabled , true ) + READONLY ( bool , decommissionEnabled , true ) ATTRIBUTE ( QStringList , wifiList , {}, WifiList ) READONLY ( bool , wifiListEnabled , true )