Index: sources/view/vpoweroff.h =================================================================== diff -u -rb166776048ef9001ff2cb4b69df81a5dff40849a -r44a85c96ab55e424866ec4cca0270aa218355f82 --- sources/view/vpoweroff.h (.../vpoweroff.h) (revision b166776048ef9001ff2cb4b69df81a5dff40849a) +++ sources/view/vpoweroff.h (.../vpoweroff.h) (revision 44a85c96ab55e424866ec4cca0270aa218355f82) @@ -1,15 +1,16 @@ /*! - * + * * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. - * copyright - * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, - * IN PART OR IN WHOLE, - * WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. - * - * file vpoweroff.h - * date 3/9/2020 - * author Behrouz NematiPour - * + * \copyright + * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN + * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. + * + * \file vpoweroff.h + * \author (last) Behrouz NematiPour + * \date (last) 07-May-2020 + * \author (original) Behrouz NematiPour + * \date (original) 10-Mar-2020 + * */ #pragma once @@ -21,13 +22,18 @@ #include "vview.h" // namespace -namespace Gui { +namespace View { class VPowerOff : public QObject { Q_OBJECT - PROPERTY( quint8, poweroff_status, 0, true) + // coco begin validated: This property is power off request data and is always true + // to be always trigger the GUI + // also since the signal passe parameter value is used the property getter in not currently used. + // manually tested and all of them are working. + TRIGGER( quint8, poweroff, 0) + // coco end VIEW_DEC(VPowerOff, PowerOffData)