/*! * * 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 * */ #pragma once // Qt #include // Project #include "mmodel.h" #include "vview.h" // namespace namespace View { class VPowerOff : public QObject { Q_OBJECT // 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) }; }