From 87094d6f30dbba6152ec45a1a3c0c82d89a6ffde Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Tue, 9 Jul 2019 10:41:34 +0900 Subject: change new design --- homescreen/src/homescreenconnect.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'homescreen/src/homescreenconnect.h') diff --git a/homescreen/src/homescreenconnect.h b/homescreen/src/homescreenconnect.h index badc86a..8504992 100644 --- a/homescreen/src/homescreenconnect.h +++ b/homescreen/src/homescreenconnect.h @@ -51,9 +51,12 @@ signals: void statusChanged(bool status); void showInformation(QString info); void stopTimer(void); + void retryStart(void); private slots: void subscribe(void); void stopGetCode(void); + void resendCode(void); + void startTimer(void); private: int initialize_websocket(void); @@ -65,7 +68,10 @@ private: std::string muri; int mport = 2000; std::string mtoken = "hs"; + const char *amazonCode; QTimer *timer; + QTimer *retrytimer; + int retrycount; }; #endif // HOMESCREENCONNECT_H -- cgit 1.2.3-korg