Index: sources/MainTimer.h =================================================================== diff -u -r64d87d540594252e8039ab2595016d98f1e3cc28 -r6c6f1f5d466badd9b4fd67be7c907234c342b2a2 --- sources/MainTimer.h (.../MainTimer.h) (revision 64d87d540594252e8039ab2595016d98f1e3cc28) +++ sources/MainTimer.h (.../MainTimer.h) (revision 6c6f1f5d466badd9b4fd67be7c907234c342b2a2) @@ -1,15 +1,15 @@ /*! * - * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. + * Copyright (c) 2020-2023 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 MainTimer.h - * \author (last) Behrouz NematiPour - * \date (last) 31-Aug-2020 - * \author (original) Behrouz NematiPour - * \date (original) 26-Aug-2020 + * \file MainTimer.h + * \author (last) Behrouz NematiPour + * \date (last) 10-Aug-2021 + * \author (original) Behrouz NematiPour + * \date (original) 26-Aug-2020 * */ #pragma once @@ -18,7 +18,7 @@ #include // Project -#include "main.h" // Doxygen : don't remove +#include "main.h" // Doxygen : do not remove // Define #define _MainTimer MainTimer::I() @@ -36,12 +36,18 @@ static const int _interval = 1000; //ms + void initConnections(); + public: bool init(); void quit(); private: bool isDateChanged(bool vIncludeTime = false); + +private slots: + void onKeepAliveBegin(); + signals: void didTimeout(); void didDateChange();