\hypertarget{class_event_handler}{}\section{Event\+Handler Class Reference}
\label{class_event_handler}\index{Event\+Handler@{Event\+Handler}}


{\ttfamily \#include $<$eventhandler.\+h$>$}

Inheritance diagram for Event\+Handler\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{d1/d27/class_event_handler}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_event_handler_af192ed84d2d223d7adfdd3ad0a4ef63a}{signal\+On\+Screen\+Message} (Q\+Variant display\+\_\+message)
\item 
void \hyperlink{class_event_handler_a7ae24cecc901ec38b1c0b471d29fc0a1}{signal\+Loader} (Q\+Variant url)
\item 
void \hyperlink{class_event_handler_ae6969a0f9c428b976857f4675d6ce53b}{signal\+Set\+Clear\+Backgroud} ()
\item 
void \hyperlink{class_event_handler_ac95eb95ecee232c14d7bcf28b82077e5}{signal\+Set\+Default\+Backgroud} (Q\+Variant message)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_event_handler_ad49678ccfd6861162dc12d5aec1d8d8d}{Event\+Handler} (Q\+Object $\ast$parent=0)
\item 
\hyperlink{class_event_handler_a3decb8cd88ba8af2b9b0b0f0f2fcd722}{$\sim$\+Event\+Handler} ()
\item 
void \hyperlink{class_event_handler_ae8bf972e7e84edcd55ca9ecdf7d3ec7b}{init} (int port, const char $\ast$token)
\item 
void \hyperlink{class_event_handler_a8860b4ef2ab997d4f192e4d3fc8bf648}{set\+Quick\+Window} (Q\+Quick\+Window $\ast$qw)
\item 
void \hyperlink{class_event_handler_a8d6687bd094bf69deb54551da939ce27}{on\+Rep} (struct json\+\_\+object $\ast$reply\+\_\+contents)
\item 
void \hyperlink{class_event_handler_ab0ead6a5680ef6f7d7b27cbd0a0d7793}{activate\+Surface} (Q\+String app)
\item 
void \hyperlink{class_event_handler_a7c22084c4d88ce4edb19f81bddc517bf}{deactivate\+Surface} (Q\+String app)
\item 
Q\+\_\+\+I\+N\+V\+O\+K\+A\+B\+LE void \hyperlink{class_event_handler_a110371bf721239a23684c0f73d9374d6}{on\+Screen\+Reply} (const Q\+String \&message)
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{class_event_handler_a8840c662c136fc27b1b22f3c8053b7ca}{on\+Rep\+\_\+static} (struct json\+\_\+object $\ast$reply\+\_\+contents)
\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static void $\ast$ \hyperlink{class_event_handler_a14bde48ca3c44767417b39d504edbbb4}{my\+This} = 0
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 41 of file eventhandler.\+h.



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_event_handler_ad49678ccfd6861162dc12d5aec1d8d8d}\label{class_event_handler_ad49678ccfd6861162dc12d5aec1d8d8d}} 
\index{Event\+Handler@{Event\+Handler}!Event\+Handler@{Event\+Handler}}
\index{Event\+Handler@{Event\+Handler}!Event\+Handler@{Event\+Handler}}
\subsubsection{\texorpdfstring{Event\+Handler()}{EventHandler()}}
{\footnotesize\ttfamily Event\+Handler\+::\+Event\+Handler (\begin{DoxyParamCaption}\item[{Q\+Object $\ast$}]{parent = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}



Definition at line 32 of file eventhandler.\+cpp.


\begin{DoxyCode}
32                                           :
33     QObject(parent),
34     mp\_hs(NULL),
35     mp\_wm(NULL),
36     mp\_qw(NULL)
37 \{
38     m\_isActive = \textcolor{keyword}{false};
39     m\_vecOSM.clear();
40 \}
\end{DoxyCode}
\mbox{\Hypertarget{class_event_handler_a3decb8cd88ba8af2b9b0b0f0f2fcd722}\label{class_event_handler_a3decb8cd88ba8af2b9b0b0f0f2fcd722}} 
\index{Event\+Handler@{Event\+Handler}!````~Event\+Handler@{$\sim$\+Event\+Handler}}
\index{````~Event\+Handler@{$\sim$\+Event\+Handler}!Event\+Handler@{Event\+Handler}}
\subsubsection{\texorpdfstring{$\sim$\+Event\+Handler()}{~EventHandler()}}
{\footnotesize\ttfamily Event\+Handler\+::$\sim$\+Event\+Handler (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Definition at line 42 of file eventhandler.\+cpp.


\begin{DoxyCode}
43 \{
44     \textcolor{keywordflow}{if} (mp\_hs != NULL) \{
45         \textcolor{keyword}{delete} mp\_hs;
46     \}
47     \textcolor{keywordflow}{if} (mp\_wm != NULL) \{
48         \textcolor{keyword}{delete} mp\_wm;
49     \}
50 \}
\end{DoxyCode}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_event_handler_ab0ead6a5680ef6f7d7b27cbd0a0d7793}\label{class_event_handler_ab0ead6a5680ef6f7d7b27cbd0a0d7793}} 
\index{Event\+Handler@{Event\+Handler}!activate\+Surface@{activate\+Surface}}
\index{activate\+Surface@{activate\+Surface}!Event\+Handler@{Event\+Handler}}
\subsubsection{\texorpdfstring{activate\+Surface()}{activateSurface()}}
{\footnotesize\ttfamily void Event\+Handler\+::activate\+Surface (\begin{DoxyParamCaption}\item[{Q\+String}]{app }\end{DoxyParamCaption})}



Definition at line 202 of file eventhandler.\+cpp.


\begin{DoxyCode}
203 \{
204     \hyperlink{hmi-debug_8h_a0d26d8b8201011dade787236519711c0}{HMI\_DEBUG}(\textcolor{stringliteral}{"onscreenapp"}, \textcolor{stringliteral}{"EventHandler::activateSurface()"});
205     \textcolor{keywordflow}{if} (m\_isActive == \textcolor{keyword}{false}) \{
206         m\_isActive = \textcolor{keyword}{true};
207         mp\_wm->activateSurface(\hyperlink{eventhandler_8cpp_a85c2ed976bb69da6ecff844592d54871}{SCREEN\_NAME});
208     \}
209 
210     QString label = \hyperlink{eventhandler_8cpp_af3c3ddff013ca23b335602c09a46324f}{SCREEN\_AREA} + app;
211     mp\_wm->activateSurface(label, \hyperlink{eventhandler_8cpp_af3c3ddff013ca23b335602c09a46324f}{SCREEN\_AREA});
212 \}
\end{DoxyCode}
\mbox{\Hypertarget{class_event_handler_a7c22084c4d88ce4edb19f81bddc517bf}\label{class_event_handler_a7c22084c4d88ce4edb19f81bddc517bf}} 
\index{Event\+Handler@{Event\+Handler}!deactivate\+Surface@{deactivate\+Surface}}
\index{deactivate\+Surface@{deactivate\+Surface}!Event\+Handler@{Event\+Handler}}
\subsubsection{\texorpdfstring{deactivate\+Surface()}{deactivateSurface()}}
{\footnotesize\ttfamily void Event\+Handler\+::deactivate\+Surface (\begin{DoxyParamCaption}\item[{Q\+String}]{app }\end{DoxyParamCaption})}



Definition at line 214 of file eventhandler.\+cpp.


\begin{DoxyCode}
215 \{
216     \hyperlink{hmi-debug_8h_a0d26d8b8201011dade787236519711c0}{HMI\_DEBUG}(\textcolor{stringliteral}{"onscreenapp"}, \textcolor{stringliteral}{"EventHandler::deactivateSurface()"});
217 
218     \textcolor{keywordflow}{for}(QVector<ON\_SCREEN\_MESSAGE>::iterator it = m\_vecOSM.begin(); it != m\_vecOSM.end(); ++it) \{
219         \textcolor{keywordflow}{if} (it->app == app) \{
220             m\_vecOSM.erase(it);
221             \textcolor{keywordflow}{break};
222         \}
223     \}
224 
225     \textcolor{keywordflow}{if} (m\_vecOSM.length() > 0) \{
226         \hyperlink{struct__on__screen__message}{ON\_SCREEN\_MESSAGE} osm = m\_vecOSM.last();
227 
228         \textcolor{keywordflow}{if} (!osm.\hyperlink{struct__on__screen__message_aec7c0ab7e3f74419536b785b888c312f}{file}.isEmpty()) \{
229             emit this->\hyperlink{class_event_handler_a7ae24cecc901ec38b1c0b471d29fc0a1}{signalLoader}(osm.\hyperlink{struct__on__screen__message_aec7c0ab7e3f74419536b785b888c312f}{file});
230             emit this->\hyperlink{class_event_handler_ae6969a0f9c428b976857f4675d6ce53b}{signalSetClearBackgroud}();
231         \}
232     \} \textcolor{keywordflow}{else} \{
233         \textcolor{comment}{// nothing on screen}
234         mp\_wm->deactivateSurface(\hyperlink{eventhandler_8cpp_a85c2ed976bb69da6ecff844592d54871}{SCREEN\_NAME});
235 \textcolor{comment}{// ???        mp\_wm->deactivateSurface(SCREEN\_AREA);}
236         m\_isActive = \textcolor{keyword}{false};
237     \}
238 \}
\end{DoxyCode}
\mbox{\Hypertarget{class_event_handler_ae8bf972e7e84edcd55ca9ecdf7d3ec7b}\label{class_event_handler_ae8bf972e7e84edcd55ca9ecdf7d3ec7b}} 
\index{Event\+Handler@{Event\+Handler}!init@{init}}
\index{init@{init}!Event\+Handler@{Event\+Handler}}
\subsubsection{\texorpdfstring{init()}{init()}}
{\footnotesize\ttfamily void Event\+Handler\+::init (\begin{DoxyParamCaption}\item[{int}]{port,  }\item[{const char $\ast$}]{token }\end{DoxyParamCaption})}



Definition at line 52 of file eventhandler.\+cpp.


\begin{DoxyCode}
53 \{
54     \hyperlink{class_event_handler_a14bde48ca3c44767417b39d504edbbb4}{myThis} = \textcolor{keyword}{this};
55     mp\_wm = \textcolor{keyword}{new} QLibWindowmanager();
56     mp\_wm->init(port, token);
57 
58     mp\_hs = \textcolor{keyword}{new} LibHomeScreen();
59     mp\_hs->init(port, token);
60     
61     mp\_hs->registerCallback(\textcolor{keyword}{nullptr}, \hyperlink{class_event_handler_a8840c662c136fc27b1b22f3c8053b7ca}{EventHandler::onRep\_static});
62     mp\_hs->set\_event\_handler(LibHomeScreen::Event\_OnScreenMessage, [\textcolor{keyword}{this}](json\_object *\textcolor{keywordtype}{object})\{
63         \textcolor{keyword}{struct }json\_object *value;
64         json\_object\_object\_get\_ex(\textcolor{keywordtype}{object}, \textcolor{stringliteral}{"display\_message"}, &value);
65         \textcolor{keyword}{const} \textcolor{keywordtype}{char} *display\_message = json\_object\_get\_string(value);
66 
67         \hyperlink{hmi-debug_8h_a0d26d8b8201011dade787236519711c0}{HMI\_DEBUG}(\textcolor{stringliteral}{"onscreenapp"}, \textcolor{stringliteral}{"display\_message = %s"}, display\_message);
68 
69         QString data(display\_message);
70         QJsonDocument doc = QJsonDocument::fromJson(data.toUtf8());
71         QJsonObject jsonObj(doc.object());
72 
73         \hyperlink{struct__on__screen__message}{ON\_SCREEN\_MESSAGE} osm;
74 
75         \textcolor{keywordflow}{if} (jsonObj.contains(\textcolor{stringliteral}{"app"})) \{
76             \hyperlink{hmi-debug_8h_a0d26d8b8201011dade787236519711c0}{HMI\_DEBUG}(\textcolor{stringliteral}{"onscreenapp"}, \textcolor{stringliteral}{"json parse. app is %s"}, jsonObj[\textcolor{stringliteral}{"app"}].toString());
77             osm.app = jsonObj[\textcolor{stringliteral}{"app"}].toString();
78         \}
79 
80         \textcolor{keywordflow}{if} (jsonObj.contains(\textcolor{stringliteral}{"message"})) \{
81             \hyperlink{hmi-debug_8h_a0d26d8b8201011dade787236519711c0}{HMI\_DEBUG}(\textcolor{stringliteral}{"onscreenapp"}, \textcolor{stringliteral}{"json parse. message is %s"}, jsonObj[\textcolor{stringliteral}{"message"}].toString());
82             osm.message = jsonObj[\textcolor{stringliteral}{"message"}].toString();
83         \}
84 
85         \textcolor{keywordflow}{if} (jsonObj.contains(\textcolor{stringliteral}{"file"})) \{
86             \hyperlink{hmi-debug_8h_a0d26d8b8201011dade787236519711c0}{HMI\_DEBUG}(\textcolor{stringliteral}{"onscreenapp"}, \textcolor{stringliteral}{"json parse. file is %s"}, jsonObj[\textcolor{stringliteral}{"file"}].toString());
87             osm.file = jsonObj[\textcolor{stringliteral}{"file"}].toString();
88 
89             \textcolor{keywordflow}{if} (osm.file.left(1) == \textcolor{stringliteral}{"/"}) \{
90                 osm.file = QUrl::fromLocalFile(osm.file).toString();
91             \}
92         \}
93 
94         \textcolor{keywordflow}{if} (jsonObj.contains(\textcolor{stringliteral}{"mask"})) \{
95             \hyperlink{hmi-debug_8h_a0d26d8b8201011dade787236519711c0}{HMI\_DEBUG}(\textcolor{stringliteral}{"onscreenapp"}, \textcolor{stringliteral}{"json parse. mask is %s"}, jsonObj[\textcolor{stringliteral}{"mask"}].toString());
96             osm.mask = jsonObj[\textcolor{stringliteral}{"mask"}].toString();
97         \}
98 
99         \textcolor{keywordtype}{bool} isNewApp = \textcolor{keyword}{true};
100         \textcolor{keywordflow}{for}(QVector<ON\_SCREEN\_MESSAGE>::iterator it = m\_vecOSM.begin(); it != m\_vecOSM.end(); ++it) \{
101             \textcolor{keywordflow}{if} (it->app == osm.app) \{
102                 it->message = osm.message;
103                 it->file = osm.file;
104                 it->mask = osm.mask;
105                 isNewApp = \textcolor{keyword}{false};
106                 \textcolor{keywordflow}{break};
107             \}
108         \}
109 
110         \textcolor{keywordflow}{if} (isNewApp) \{
111             m\_vecOSM.append(osm);
112         \}
113 
114         \textcolor{keywordflow}{if} (osm.app == \textcolor{stringliteral}{"Phone"}) \{
115             \textcolor{keywordflow}{if} (osm.message == \textcolor{stringliteral}{"incoming call"}) \{
116                 this->\hyperlink{class_event_handler_ab0ead6a5680ef6f7d7b27cbd0a0d7793}{activateSurface}(osm.app);
117                 emit this->\hyperlink{class_event_handler_a7ae24cecc901ec38b1c0b471d29fc0a1}{signalLoader}(osm.file);
118                 emit this->\hyperlink{class_event_handler_ae6969a0f9c428b976857f4675d6ce53b}{signalSetClearBackgroud}();
119             \}
120             \textcolor{keywordflow}{else} \textcolor{keywordflow}{if} (osm.message == \textcolor{stringliteral}{"call rejected"}) \{
121                 this->\hyperlink{class_event_handler_a7c22084c4d88ce4edb19f81bddc517bf}{deactivateSurface}(osm.app);
122             \}
123         \}
124         \textcolor{keywordflow}{else} \textcolor{keywordflow}{if} (osm.app == \textcolor{stringliteral}{"System"}) \{
125             \textcolor{keywordflow}{if} (osm.message == \textcolor{stringliteral}{"error"}) \{
126                 this->\hyperlink{class_event_handler_ab0ead6a5680ef6f7d7b27cbd0a0d7793}{activateSurface}(osm.app);
127                 emit this->\hyperlink{class_event_handler_a7ae24cecc901ec38b1c0b471d29fc0a1}{signalLoader}(osm.file);
128                 emit this->\hyperlink{class_event_handler_ae6969a0f9c428b976857f4675d6ce53b}{signalSetClearBackgroud}();
129             \}
130             \textcolor{keywordflow}{else} \textcolor{keywordflow}{if} (osm.message == \textcolor{stringliteral}{"rejected"}) \{
131                 this->\hyperlink{class_event_handler_a7c22084c4d88ce4edb19f81bddc517bf}{deactivateSurface}(osm.app);
132             \}
133         \}
134 
135 \textcolor{comment}{//        this->setWindowMask(jsonObj["mask"].toString());}
136 
137 \textcolor{comment}{//        if(strcmp(display\_message, "incoming call") == 0)\{}
138 \textcolor{comment}{//            this->activateSurface();}
139 \textcolor{comment}{//            emit this->signalOnScreenMessage(display\_message);}
140 \textcolor{comment}{//        \}}
141 \textcolor{comment}{//        else if(strcmp(display\_message, "call rejected") == 0)\{}
142 \textcolor{comment}{//            this->deactivateSurface();}
143 \textcolor{comment}{//        \}}
144 \textcolor{comment}{//        else if(strcmp(display\_message, "page1") == 0) \{}
145 \textcolor{comment}{//            emit this->signalLoader("qrc:/page1.qml");}
146 \textcolor{comment}{//        \}}
147 \textcolor{comment}{//        else if(strcmp(display\_message, "page2") == 0) \{}
148 \textcolor{comment}{//            emit this->signalLoader("qrc:/page2.qml");}
149 \textcolor{comment}{//        \}}
150 \textcolor{comment}{//        else if(strcmp(display\_message, "page3") == 0) \{}
151 \textcolor{comment}{//            emit this->signalLoader(QUrl::fromLocalFile("/home/root/page3.qml"));}
152 \textcolor{comment}{//        \}}
153 \textcolor{comment}{//        else\{}
154 \textcolor{comment}{//            emit this->signalOnScreenMessage(display\_message);}
155 \textcolor{comment}{//        \}}
156     \});
157 
158     \textcolor{keywordflow}{if} (mp\_wm->requestSurface(\hyperlink{eventhandler_8cpp_a85c2ed976bb69da6ecff844592d54871}{SCREEN\_NAME}) != 0) \{
159         \hyperlink{hmi-debug_8h_a0d26d8b8201011dade787236519711c0}{HMI\_DEBUG}(\textcolor{stringliteral}{"onscreenapp"}, \textcolor{stringliteral}{"!!!!LayoutHandler requestSurface Failed!!!!!"});
160         exit(EXIT\_FAILURE);
161     \}
162 
163     mp\_wm->set\_event\_handler(QLibWindowmanager::Event\_SyncDraw, [\textcolor{keyword}{this}](json\_object *\textcolor{keywordtype}{object}) \{
164         \hyperlink{hmi-debug_8h_a0d26d8b8201011dade787236519711c0}{HMI\_DEBUG}(\textcolor{stringliteral}{"onscreenapp"}, \textcolor{stringliteral}{"Surface %s got syncDraw!"}, 
      \hyperlink{eventhandler_8cpp_a85c2ed976bb69da6ecff844592d54871}{SCREEN\_NAME});
165         this->mp\_wm->endDraw(\hyperlink{eventhandler_8cpp_a85c2ed976bb69da6ecff844592d54871}{SCREEN\_NAME});
166     \});
167 
168     mp\_wm->set\_event\_handler(QLibWindowmanager::Event\_Active, [\textcolor{keyword}{this}](json\_object *\textcolor{keywordtype}{object}) \{
169         \textcolor{keyword}{struct }json\_object *value;
170         json\_object\_object\_get\_ex(\textcolor{keywordtype}{object}, \textcolor{stringliteral}{"drawing\_name"}, &value);
171         \textcolor{keyword}{const} \textcolor{keywordtype}{char} *name = json\_object\_get\_string(value);
172 
173         \hyperlink{hmi-debug_8h_a0d26d8b8201011dade787236519711c0}{HMI\_DEBUG}(\textcolor{stringliteral}{"onscreenapp"}, \textcolor{stringliteral}{"Event\_Active kKeyDrawingName = %s"}, name);
174     \});
175 
176     mp\_wm->set\_event\_handler(QLibWindowmanager::Event\_Inactive, [\textcolor{keyword}{this}](json\_object *\textcolor{keywordtype}{object}) \{
177         \textcolor{keyword}{struct }json\_object *value;
178         json\_object\_object\_get\_ex(\textcolor{keywordtype}{object}, \textcolor{stringliteral}{"drawing\_name"}, &value);
179         \textcolor{keyword}{const} \textcolor{keywordtype}{char} *name = json\_object\_get\_string(value);
180 
181         \hyperlink{hmi-debug_8h_a0d26d8b8201011dade787236519711c0}{HMI\_DEBUG}(\textcolor{stringliteral}{"onscreenapp"}, \textcolor{stringliteral}{"Event\_Inactive kKeyDrawingName = %s"}, name);
182     \});
183 
184     \hyperlink{hmi-debug_8h_a0d26d8b8201011dade787236519711c0}{HMI\_DEBUG}(\textcolor{stringliteral}{"onscreenapp"}, \textcolor{stringliteral}{"LayoutHander::init() finished."});
185 \}
\end{DoxyCode}
\mbox{\Hypertarget{class_event_handler_a8d6687bd094bf69deb54551da939ce27}\label{class_event_handler_a8d6687bd094bf69deb54551da939ce27}} 
\index{Event\+Handler@{Event\+Handler}!on\+Rep@{on\+Rep}}
\index{on\+Rep@{on\+Rep}!Event\+Handler@{Event\+Handler}}
\subsubsection{\texorpdfstring{on\+Rep()}{onRep()}}
{\footnotesize\ttfamily void Event\+Handler\+::on\+Rep (\begin{DoxyParamCaption}\item[{struct json\+\_\+object $\ast$}]{reply\+\_\+contents }\end{DoxyParamCaption})}



Definition at line 196 of file eventhandler.\+cpp.


\begin{DoxyCode}
197 \{
198     \textcolor{keyword}{const} \textcolor{keywordtype}{char}* str = json\_object\_to\_json\_string(reply\_contents);
199     \hyperlink{hmi-debug_8h_a0d26d8b8201011dade787236519711c0}{HMI\_DEBUG}(\textcolor{stringliteral}{"onscreenapp"}, \textcolor{stringliteral}{"EventHandler::onReply %s"}, str);
200 \}
\end{DoxyCode}
\mbox{\Hypertarget{class_event_handler_a8840c662c136fc27b1b22f3c8053b7ca}\label{class_event_handler_a8840c662c136fc27b1b22f3c8053b7ca}} 
\index{Event\+Handler@{Event\+Handler}!on\+Rep\+\_\+static@{on\+Rep\+\_\+static}}
\index{on\+Rep\+\_\+static@{on\+Rep\+\_\+static}!Event\+Handler@{Event\+Handler}}
\subsubsection{\texorpdfstring{on\+Rep\+\_\+static()}{onRep\_static()}}
{\footnotesize\ttfamily void Event\+Handler\+::on\+Rep\+\_\+static (\begin{DoxyParamCaption}\item[{struct json\+\_\+object $\ast$}]{reply\+\_\+contents }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line 192 of file eventhandler.\+cpp.


\begin{DoxyCode}
193 \{
194     \textcolor{keyword}{static\_cast<}\hyperlink{class_event_handler}{EventHandler}*\textcolor{keyword}{>}(\hyperlink{class_event_handler_a14bde48ca3c44767417b39d504edbbb4}{EventHandler::myThis})->
      \hyperlink{class_event_handler_a8d6687bd094bf69deb54551da939ce27}{onRep}(reply\_contents);
195 \}
\end{DoxyCode}
\mbox{\Hypertarget{class_event_handler_a110371bf721239a23684c0f73d9374d6}\label{class_event_handler_a110371bf721239a23684c0f73d9374d6}} 
\index{Event\+Handler@{Event\+Handler}!on\+Screen\+Reply@{on\+Screen\+Reply}}
\index{on\+Screen\+Reply@{on\+Screen\+Reply}!Event\+Handler@{Event\+Handler}}
\subsubsection{\texorpdfstring{on\+Screen\+Reply()}{onScreenReply()}}
{\footnotesize\ttfamily void Event\+Handler\+::on\+Screen\+Reply (\begin{DoxyParamCaption}\item[{const Q\+String \&}]{message }\end{DoxyParamCaption})}



Definition at line 240 of file eventhandler.\+cpp.


\begin{DoxyCode}
241 \{
242     \hyperlink{hmi-debug_8h_a0d26d8b8201011dade787236519711c0}{HMI\_DEBUG}(\textcolor{stringliteral}{"onscreenapp"}, \textcolor{stringliteral}{"EventHandler::onScreenReply()"});
243     mp\_hs->onScreenReply(message.toLatin1());
244 \}
\end{DoxyCode}
\mbox{\Hypertarget{class_event_handler_a8860b4ef2ab997d4f192e4d3fc8bf648}\label{class_event_handler_a8860b4ef2ab997d4f192e4d3fc8bf648}} 
\index{Event\+Handler@{Event\+Handler}!set\+Quick\+Window@{set\+Quick\+Window}}
\index{set\+Quick\+Window@{set\+Quick\+Window}!Event\+Handler@{Event\+Handler}}
\subsubsection{\texorpdfstring{set\+Quick\+Window()}{setQuickWindow()}}
{\footnotesize\ttfamily void Event\+Handler\+::set\+Quick\+Window (\begin{DoxyParamCaption}\item[{Q\+Quick\+Window $\ast$}]{qw }\end{DoxyParamCaption})}



Definition at line 187 of file eventhandler.\+cpp.


\begin{DoxyCode}
188 \{
189     mp\_qw = qw;
190 \}
\end{DoxyCode}
\mbox{\Hypertarget{class_event_handler_a7ae24cecc901ec38b1c0b471d29fc0a1}\label{class_event_handler_a7ae24cecc901ec38b1c0b471d29fc0a1}} 
\index{Event\+Handler@{Event\+Handler}!signal\+Loader@{signal\+Loader}}
\index{signal\+Loader@{signal\+Loader}!Event\+Handler@{Event\+Handler}}
\subsubsection{\texorpdfstring{signal\+Loader}{signalLoader}}
{\footnotesize\ttfamily void Event\+Handler\+::signal\+Loader (\begin{DoxyParamCaption}\item[{Q\+Variant}]{url }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

\mbox{\Hypertarget{class_event_handler_af192ed84d2d223d7adfdd3ad0a4ef63a}\label{class_event_handler_af192ed84d2d223d7adfdd3ad0a4ef63a}} 
\index{Event\+Handler@{Event\+Handler}!signal\+On\+Screen\+Message@{signal\+On\+Screen\+Message}}
\index{signal\+On\+Screen\+Message@{signal\+On\+Screen\+Message}!Event\+Handler@{Event\+Handler}}
\subsubsection{\texorpdfstring{signal\+On\+Screen\+Message}{signalOnScreenMessage}}
{\footnotesize\ttfamily void Event\+Handler\+::signal\+On\+Screen\+Message (\begin{DoxyParamCaption}\item[{Q\+Variant}]{display\+\_\+message }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

\mbox{\Hypertarget{class_event_handler_ae6969a0f9c428b976857f4675d6ce53b}\label{class_event_handler_ae6969a0f9c428b976857f4675d6ce53b}} 
\index{Event\+Handler@{Event\+Handler}!signal\+Set\+Clear\+Backgroud@{signal\+Set\+Clear\+Backgroud}}
\index{signal\+Set\+Clear\+Backgroud@{signal\+Set\+Clear\+Backgroud}!Event\+Handler@{Event\+Handler}}
\subsubsection{\texorpdfstring{signal\+Set\+Clear\+Backgroud}{signalSetClearBackgroud}}
{\footnotesize\ttfamily void Event\+Handler\+::signal\+Set\+Clear\+Backgroud (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

\mbox{\Hypertarget{class_event_handler_ac95eb95ecee232c14d7bcf28b82077e5}\label{class_event_handler_ac95eb95ecee232c14d7bcf28b82077e5}} 
\index{Event\+Handler@{Event\+Handler}!signal\+Set\+Default\+Backgroud@{signal\+Set\+Default\+Backgroud}}
\index{signal\+Set\+Default\+Backgroud@{signal\+Set\+Default\+Backgroud}!Event\+Handler@{Event\+Handler}}
\subsubsection{\texorpdfstring{signal\+Set\+Default\+Backgroud}{signalSetDefaultBackgroud}}
{\footnotesize\ttfamily void Event\+Handler\+::signal\+Set\+Default\+Backgroud (\begin{DoxyParamCaption}\item[{Q\+Variant}]{message }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}



\subsection{Member Data Documentation}
\mbox{\Hypertarget{class_event_handler_a14bde48ca3c44767417b39d504edbbb4}\label{class_event_handler_a14bde48ca3c44767417b39d504edbbb4}} 
\index{Event\+Handler@{Event\+Handler}!my\+This@{my\+This}}
\index{my\+This@{my\+This}!Event\+Handler@{Event\+Handler}}
\subsubsection{\texorpdfstring{my\+This}{myThis}}
{\footnotesize\ttfamily void $\ast$ Event\+Handler\+::my\+This = 0\hspace{0.3cm}{\ttfamily [static]}}



Definition at line 53 of file eventhandler.\+h.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
app/\hyperlink{eventhandler_8h}{eventhandler.\+h}\item 
app/\hyperlink{eventhandler_8cpp}{eventhandler.\+cpp}\end{DoxyCompactItemize}
