author | hgs |
Mon, 04 Oct 2010 16:06:10 +0300 | |
changeset 76 | cfea66083b62 |
parent 74 | d1c62c765e48 |
child 78 | baacf668fe89 |
permissions | -rw-r--r-- |
37 | 1 |
/*! |
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 |
* All rights reserved. |
|
4 |
* This component and the accompanying materials are made available |
|
5 |
* under the terms of "Eclipse Public License v1.0" |
|
6 |
* which accompanies this distribution, and is available |
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 |
* |
|
9 |
* Initial Contributors: |
|
10 |
* Nokia Corporation - initial contribution. |
|
11 |
* |
|
12 |
* Contributors: |
|
13 |
* |
|
14 |
* Description: Phone UI's symbian adapter for Qt view. |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
#ifndef PHONEUIQTVIEWADAPTER_H |
|
19 |
#define PHONEUIQTVIEWADAPTER_H |
|
20 |
||
21 |
#ifdef BUILD_PHONEUIQTVIEWADAPTER |
|
22 |
#define PHONEUIQTVIEWADAPTER_EXPORT Q_DECL_EXPORT |
|
23 |
#else |
|
24 |
#define PHONEUIQTVIEWADAPTER_EXPORT Q_DECL_IMPORT |
|
25 |
#endif |
|
26 |
||
27 |
#include <QObject> |
|
28 |
#include <QMap> |
|
29 |
#include <apgwgnam.h> |
|
30 |
#include "mphoneviewcommandhandle.h" |
|
31 |
#include "phoneaction.h" |
|
32 |
||
33 |
class PhoneUIQtViewIF; |
|
34 |
class PhoneBubbleWrapper; |
|
35 |
class CPhoneRingingToneController; |
|
36 |
class PhoneResourceAdapter; |
|
37 |
class PhoneUIQtButtonsController; |
|
38 |
class PhoneNoteController; |
|
39 |
class PhoneMessageController; |
|
40 |
class PhoneUiCommandController; |
|
41 |
class TelephonyService; |
|
42 |
class QKeyEvent; |
|
43 |
class PhoneIndicatorController; |
|
45
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
44 |
class PhoneVisibilityHandler; |
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
45 |
class PhoneAppLauncher; |
74 | 46 |
class MPEEngineInfo; |
47 |
class PhoneCallHeaderManager; |
|
37 | 48 |
|
49 |
class PHONEUIQTVIEWADAPTER_EXPORT PhoneUIQtViewAdapter : |
|
50 |
public QObject, |
|
45
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
51 |
public MPhoneViewCommandHandle |
37 | 52 |
{ |
53 |
Q_OBJECT |
|
54 |
||
55 |
public: |
|
56 |
||
57 |
/** |
|
58 |
* Constructor |
|
59 |
*/ |
|
60 |
explicit PhoneUIQtViewAdapter (PhoneUIQtViewIF &view, QObject *parent = 0); |
|
61 |
||
62 |
/** |
|
63 |
* Destructor |
|
64 |
*/ |
|
65 |
virtual ~PhoneUIQtViewAdapter(); |
|
66 |
||
67 |
||
68 |
public: // From MPhoneViewCommandHandle |
|
69 |
||
70 |
/** |
|
71 |
* Execute Command with given Command Id |
|
72 |
* @param aCmdId Command Id |
|
73 |
* @return None |
|
74 |
*/ |
|
75 |
void ExecuteCommandL (TPhoneViewCommandId aCmdId); |
|
76 |
||
77 |
/** |
|
78 |
* Execute Command with given Command Id and Call Id |
|
79 |
* @param aCmdId Command Id |
|
80 |
* @param aCallId Call Id |
|
81 |
* @return None |
|
82 |
*/ |
|
83 |
void ExecuteCommandL (TPhoneViewCommandId aCmdId, TInt aCallId); |
|
84 |
||
85 |
/** |
|
86 |
* Execute Command with given command id, call id and command parameter. |
|
87 |
* @param aCmdId Command Id |
|
88 |
* @param aCommandParam Command parameter |
|
89 |
* @return None |
|
90 |
*/ |
|
91 |
void ExecuteCommandL (TPhoneViewCommandId aCmdId, TPhoneCommandParam* aCommandParam); |
|
92 |
||
93 |
/** |
|
94 |
* Execute Command with given command id, call id and command parameter. |
|
95 |
* @param aCmdId Command Id |
|
96 |
* @param aCallId Call Id |
|
97 |
* @param aCommandParam Command parameter |
|
98 |
* @return None |
|
99 |
*/ |
|
100 |
void ExecuteCommandL (TPhoneViewCommandId aCmdId, TInt aCallId, |
|
101 |
TPhoneCommandParam* aCommandParam); |
|
102 |
||
103 |
/** |
|
104 |
* Execute Command with given command id, call id and message. |
|
105 |
* @param aCmdId Command Id |
|
106 |
* @param aCallId Call Id |
|
107 |
* @param aMessage Command message |
|
108 |
*/ |
|
109 |
void ExecuteCommandL (TPhoneViewCommandId aCmdId, TInt aCallId, TDesC& aMessage); |
|
110 |
||
111 |
/** |
|
112 |
* Handle Command with given Command Id |
|
113 |
* @param aCmdId Command Id |
|
114 |
* @return TPhoneViewResponseId |
|
115 |
*/ |
|
116 |
TPhoneViewResponseId HandleCommandL (TPhoneViewCommandId aCmdId); |
|
117 |
||
118 |
/** |
|
119 |
* Handle Command with given command id and command parameter. |
|
120 |
* @param aCmdId Command Id |
|
121 |
* @param aCommandParam Command parameter |
|
122 |
* @return TPhoneViewResponseId |
|
123 |
*/ |
|
124 |
TPhoneViewResponseId HandleCommandL (TPhoneViewCommandId aCmdId, |
|
125 |
TPhoneCommandParam* aCommandParam); |
|
126 |
||
127 |
/** |
|
128 |
* Execute Command with given Command Id |
|
129 |
* @param aCmdId Command Id |
|
130 |
* @return None |
|
131 |
*/ |
|
132 |
void ExecuteCommand (TPhoneViewCommandId aCmdId); |
|
133 |
||
134 |
/** |
|
135 |
* Execute Command with given command id and command parameter. |
|
136 |
* @param aCmdId Command Id |
|
137 |
* @param aCommandParam Command parameter |
|
138 |
* @return None |
|
139 |
*/ |
|
140 |
void ExecuteCommand (TPhoneViewCommandId aCmdId, TPhoneCommandParam* aCommandParam); |
|
141 |
||
142 |
/** |
|
143 |
* Execute Command with given Command Id |
|
144 |
*/ |
|
145 |
const TDesC& FetchContent (); |
|
146 |
||
147 |
/*! |
|
148 |
\fn void PhoneUIQtViewAdapter::noteController () |
|
149 |
||
150 |
Returns pointer to PhoneNoteController |
|
151 |
*/ |
|
152 |
PhoneNoteController* noteController() const; |
|
153 |
||
74 | 154 |
/*! |
155 |
\fn void PhoneUIQtViewAdapter::setEngineInfo () |
|
156 |
||
157 |
Sets engine info. |
|
158 |
*/ |
|
159 |
void setEngineInfo(MPEEngineInfo* engineInfo); |
|
37 | 160 |
|
161 |
private slots: |
|
162 |
||
163 |
/*! |
|
164 |
\fn void PhoneUIQtViewAdapter::dialpadClosed () |
|
165 |
||
166 |
PhoneView calls this method when dialpad |
|
167 |
is going to be closed. |
|
168 |
*/ |
|
169 |
void dialpadClosed(); |
|
170 |
||
171 |
/*! |
|
172 |
\fn void PhoneUIQtViewAdapter::keyPressed () |
|
173 |
||
174 |
PhoneView calls this method when key press is released. |
|
175 |
*/ |
|
176 |
void keyReleased(QKeyEvent *event); |
|
177 |
||
178 |
/*! |
|
179 |
\fn void PhoneUIQtViewAdapter::handleWindowActivated () |
|
180 |
||
181 |
PhoneView calls this method when window is activated; |
|
182 |
*/ |
|
183 |
void handleWindowActivated(); |
|
184 |
||
185 |
/*! |
|
186 |
\fn void PhoneUIQtViewAdapter::handleWindowDeactivated () |
|
187 |
||
188 |
PhoneView calls this method when window is deactivated. |
|
189 |
*/ |
|
190 |
void handleWindowDeactivated(); |
|
191 |
||
192 |
/*! |
|
74 | 193 |
\ fn void PhoneUIQtViewAdapter::onFocusLost(); |
194 |
||
195 |
This method is called when the foreground application changes. |
|
196 |
*/ |
|
197 |
void onFocusLost(); |
|
37 | 198 |
|
199 |
/*! |
|
74 | 200 |
\ fn void PhoneUIQtViewAdapter::onFocusGained(); |
201 |
||
202 |
This method is called when the foreground application changes. |
|
203 |
*/ |
|
204 |
void onFocusGained(); |
|
205 |
||
206 |
private: |
|
37 | 207 |
|
208 |
/*! |
|
209 |
\fn int PhoneUIQtViewAdapter::createCallHeader() |
|
210 |
||
74 | 211 |
This method creates new call header by call id. |
37 | 212 |
*/ |
74 | 213 |
void createCallHeader(int callId); |
214 |
||
37 | 215 |
/*! |
216 |
\fn int PhoneUIQtViewAdapter::createCallHeader() |
|
217 |
||
74 | 218 |
This method creates new emergency call header. |
37 | 219 |
*/ |
74 | 220 |
void createEmergencyCallHeader(int callId); |
37 | 221 |
|
222 |
/*! |
|
223 |
\fn int PhoneUIQtViewAdapter::updateCallHeader() |
|
224 |
||
76 | 225 |
This method updates call header. |
37 | 226 |
*/ |
76 | 227 |
void updateCallHeader(int callId); |
74 | 228 |
|
37 | 229 |
/*! |
230 |
\fn int PhoneUIQtViewAdapter::handleCipheringInfoChange() |
|
231 |
||
232 |
This method updates ciphering indicators. |
|
233 |
*/ |
|
74 | 234 |
void handleCipheringInfoChange(int callId); |
37 | 235 |
|
236 |
/*! |
|
237 |
\fn int PhoneUIQtViewAdapter::callIdByState() |
|
238 |
||
239 |
This method writes to commandParam the call id matching |
|
240 |
given call state. |
|
241 |
||
242 |
Returns EPhoneViewResponseSuccess operation is succesful |
|
243 |
otherwise EPhoneViewResponseFailed. |
|
244 |
*/ |
|
245 |
TPhoneViewResponseId callIdByState (TPhoneCommandParam *commandParam); |
|
246 |
||
247 |
/*! |
|
248 |
\fn void PhoneUIQtViewAdapter::setTouchButtons (TPhoneCmdParam *commandParam) |
|
249 |
||
250 |
This method sets buttons to call bubble. |
|
251 |
*/ |
|
252 |
void setTouchButtons (TPhoneCommandParam *commandParam); |
|
253 |
||
254 |
/*! |
|
255 |
\fn void PhoneUIQtViewAdapter::setToolbarButtons (TPhoneCmdParam *commandParam) |
|
256 |
||
257 |
This method sets buttons to toolbar. |
|
258 |
*/ |
|
259 |
void setToolbarButtons (TPhoneCommandParam *commandParam); |
|
260 |
||
261 |
/*! |
|
262 |
\fn void PhoneUIQtViewAdapter::writeAudioVolumeLevel (TPhoneCmdParam *commandParam) |
|
263 |
||
264 |
This method writes audio volume value into given command parameter. |
|
265 |
*/ |
|
266 |
void writeAudioVolumeLevel (TPhoneCommandParam *commandParam); |
|
267 |
||
268 |
/*! |
|
269 |
\fn void PhoneUIQtViewAdapter::setAudioVolumeSliderValue (TPhoneCmdParam *commandParam) |
|
270 |
||
271 |
This method sets volume value to view. |
|
272 |
*/ |
|
273 |
void setAudioVolumeSliderValue (TPhoneCommandParam *commandParam); |
|
274 |
||
275 |
/*! |
|
276 |
\fn void PhoneUIQtViewAdapter::setMuteIndication (TPhoneCmdParam *commandParam) |
|
277 |
||
278 |
This method sets muted indication to view. |
|
279 |
*/ |
|
280 |
void setMuteIndication (TPhoneCommandParam *commandParam); |
|
281 |
||
282 |
||
283 |
/*! |
|
284 |
\fn void PhoneUIQtViewAdapter::callHoldFlag (TPhoneCmdParam *commandParam) |
|
285 |
||
286 |
This method retrieves number of calls. Conference call counts one call, |
|
287 |
participant calls are not count. |
|
288 |
*/ |
|
289 |
void activeCallCount (TPhoneCommandParam *commandParam); |
|
290 |
||
291 |
/*! |
|
292 |
\fn void PhoneUIQtViewAdapter::setAudioPath (TPhoneCommandParam *commandParam) |
|
293 |
||
294 |
This method sets audio paths |
|
295 |
*/ |
|
296 |
void setAudioPath (TPhoneCommandParam *commandParam); |
|
297 |
||
298 |
/*! |
|
299 |
\fn void PhoneUIQtViewAdapter::expandedBubbleCallId(TPhoneCommandParam *commandParam) |
|
300 |
||
301 |
This method gets call id of the expanded call bubble. |
|
302 |
*/ |
|
303 |
void expandedBubbleCallId(TPhoneCommandParam *commandParam); |
|
304 |
||
305 |
/*! |
|
306 |
\fn void openDialpad() |
|
307 |
||
308 |
This method opens dialpad. |
|
309 |
*/ |
|
310 |
void openDialpad(); |
|
74 | 311 |
|
37 | 312 |
/*! |
313 |
\fn int PhoneUIQtViewAdapter::createConference() |
|
314 |
||
315 |
This method creates conference bubble. |
|
316 |
*/ |
|
74 | 317 |
void createConferenceBubble(int callId); |
318 |
||
37 | 319 |
/*! |
320 |
\fn int PhoneUIQtViewAdapter::conferenceCallId() |
|
321 |
||
322 |
This method checks if call id belongs to conference call. |
|
323 |
*/ |
|
324 |
void conferenceCallId(int callId, TPhoneCommandParam *commandParam); |
|
325 |
||
326 |
/*! |
|
327 |
\fn int PhoneUIQtViewAdapter::removeConferenceBubble() |
|
328 |
||
329 |
This method removes conference bubble. |
|
330 |
*/ |
|
331 |
void removeConferenceBubble(); |
|
332 |
||
333 |
/*! |
|
334 |
\fn int PhoneUIQtViewAdapter::isConference() |
|
335 |
||
336 |
This method checks is conference bubble active. |
|
337 |
*/ |
|
338 |
void isConference(TPhoneCommandParam *commandParam); |
|
339 |
||
340 |
/*! |
|
341 |
\fn int PhoneUIQtViewAdapter::removeCallFromConference() |
|
342 |
||
343 |
This method removes a call from conference. |
|
344 |
*/ |
|
345 |
void removeCallFromConference(int callId); |
|
346 |
||
347 |
/*! |
|
348 |
\fn TPhoneViewResponseId PhoneUIQtViewAdapter::getSelectedConferenceMember() |
|
349 |
||
350 |
This method gets call id of selected conference member. |
|
351 |
Used in drop and private commands. |
|
352 |
*/ |
|
353 |
TPhoneViewResponseId getSelectedConferenceMember( |
|
354 |
TPhoneCommandParam *commandParam); |
|
355 |
||
356 |
/*! |
|
357 |
\fn void PhoneUIQtViewAdapter::setPrivateFromConference() |
|
358 |
||
359 |
This method removes call from converence bubble. |
|
360 |
Used in private command. |
|
361 |
*/ |
|
362 |
void setPrivateFromConference(int callId); |
|
363 |
||
364 |
/*! |
|
365 |
\fn void PhoneUIQtViewAdapter::setExpandActions() |
|
366 |
||
367 |
This method sets expand action if needed. |
|
368 |
*/ |
|
369 |
void setExpandActions(); |
|
370 |
||
371 |
/*! |
|
372 |
\fn void PhoneUIQtViewAdapter::setParticipantListActions() |
|
373 |
||
374 |
This method sets participant list actions if needed. |
|
375 |
*/ |
|
376 |
void setParticipantListActions(); |
|
377 |
||
378 |
/*! |
|
379 |
\fn void PhoneUIQtViewAdapter::setExpandedConferenceCallHeader() |
|
380 |
||
381 |
This method sets conference call header expanded if needed. |
|
382 |
*/ |
|
383 |
void setExpandedConferenceCallHeader(); |
|
384 |
||
385 |
/*! |
|
386 |
\fn void PhoneUIQtViewAdapter::bringToForeground() |
|
387 |
||
388 |
This method brings application to foreground. |
|
389 |
*/ |
|
390 |
void bringToForeground(); |
|
391 |
||
392 |
/*! |
|
45
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
393 |
\fn void PhoneUIQtViewAdapter::hideDeviceDialogs() |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
394 |
|
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
395 |
This method brings application top of devicedialogs. |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
396 |
*/ |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
397 |
void hideDeviceDialogs(TPhoneCommandParam *commandParam); |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
398 |
|
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
399 |
/*! |
37 | 400 |
\fn void PhoneUIQtViewAdapter::showGlobalNote() |
401 |
||
402 |
This method shows global note. |
|
403 |
*/ |
|
404 |
void showGlobalNote(TPhoneCommandParam *commandParam); |
|
405 |
||
406 |
/*! |
|
407 |
\fn void PhoneUIQtViewAdapter::callsExists() |
|
408 |
||
409 |
This method checks if there are calls in given states. |
|
410 |
*/ |
|
411 |
bool callsExists(int call1State, int call2State); |
|
412 |
||
413 |
/*! |
|
414 |
\fn void PhoneUIQtViewAdapter::setDialpadVisibility() |
|
415 |
||
416 |
This method sets dialpad visibility. |
|
417 |
*/ |
|
418 |
void setDialpadVisibility(TPhoneCommandParam *commandParam); |
|
419 |
||
420 |
/*! |
|
421 |
\fn void PhoneUIQtViewAdapter::removeAllCallHeaders() |
|
422 |
||
423 |
This method removes all call headers. |
|
424 |
*/ |
|
425 |
void removeAllCallHeaders(); |
|
426 |
||
427 |
/*! |
|
428 |
\fn void PhoneUIQtViewAdapter::getNumberFromDialpad() |
|
429 |
||
430 |
This method gets number from dialpad. |
|
431 |
*/ |
|
432 |
void getNumberFromDialpad(TPhoneCommandParam *commandParam); |
|
433 |
||
434 |
/*! |
|
435 |
\fn void PhoneUIQtViewAdapter::getNumberEntryStringLength() |
|
436 |
||
437 |
This method gets text length from the dialpad. |
|
438 |
*/ |
|
439 |
void getDialpadStringLength(TPhoneCommandParam *commandParam); |
|
440 |
||
441 |
/*! |
|
442 |
\fn void PhoneUIQtViewAdapter::getNumberEntryStringLength() |
|
443 |
||
444 |
This method clears and removes dialpad from the view. |
|
445 |
*/ |
|
446 |
void removeDialpad(); |
|
447 |
||
65 | 448 |
void clearDialpad(); |
449 |
||
37 | 450 |
/*! |
451 |
\fn void PhoneUIQtViewAdapter::addToConference() |
|
452 |
||
453 |
This method adds call to conference. |
|
454 |
*/ |
|
455 |
void addToConference(); |
|
456 |
||
457 |
/*! |
|
458 |
\fn void PhoneUIQtViewAdapter::setMenu() |
|
459 |
||
460 |
This method sets actions for menu. |
|
461 |
*/ |
|
462 |
void setMenu(); |
|
463 |
||
464 |
/*! |
|
465 |
\fn void PhoneUIQtViewAdapter::setMenu() |
|
466 |
||
467 |
This method sets actions for menu in call handling view. |
|
468 |
*/ |
|
469 |
void setCallMenu(); |
|
470 |
||
471 |
/*! |
|
472 |
\fn void PhoneUIQtViewAdapter::setMenu() |
|
473 |
||
474 |
This method sets actions for menu in dialpad view. |
|
475 |
*/ |
|
476 |
void setDialpadMenu(); |
|
477 |
||
478 |
/*! |
|
479 |
\fn int PhoneUIQtViewAdapter::showNote() |
|
480 |
||
481 |
This method shows a note by command params. |
|
482 |
*/ |
|
483 |
void showNote(TPhoneCommandParam *commandParam); |
|
484 |
||
485 |
/*! |
|
486 |
/fn QString convertDuration(int) |
|
487 |
This method returns the localized call duration |
|
488 |
*/ |
|
489 |
QString convertDuration(int seconds); |
|
490 |
||
491 |
/*! |
|
492 |
/fn void setBubbleSelectionFlag() |
|
493 |
This method sets bubble selection flag. |
|
494 |
*/ |
|
495 |
void setBubbleSelectionFlag(); |
|
496 |
||
497 |
/*! |
|
498 |
/fn void setHidden() |
|
499 |
This method sets hidden status. |
|
500 |
*/ |
|
501 |
void setHidden(bool hidden); |
|
502 |
||
503 |
/*! |
|
504 |
/fn void SetHiddenL() |
|
505 |
This method sets hidden status. |
|
506 |
*/ |
|
507 |
void SetHiddenL(bool hidden); |
|
508 |
||
509 |
/*! |
|
510 |
/fn void openContacts() |
|
511 |
This method opens contacts application. |
|
512 |
*/ |
|
513 |
void openContacts(); |
|
45
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
514 |
|
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
515 |
/*! |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
516 |
/fn void openLogs() |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
517 |
This method opens logs/dialer application. |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
518 |
*/ |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
519 |
void openLogs(TPhoneCommandParam *commandParam); |
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
520 |
|
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
521 |
/*! |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
522 |
/fn void setCommonButtonFlags() |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
523 |
This method sets common button flags. |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
524 |
*/ |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
525 |
void setCommonButtonFlags(); |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
526 |
|
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
527 |
/*! |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
528 |
/fn void convertKey() |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
529 |
This method converts key. |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
530 |
*/ |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
531 |
bool convertKey(TKeyCode symbianKey, Qt::Key &qtKey); |
37 | 532 |
|
533 |
private: |
|
534 |
||
535 |
PhoneUIQtViewIF &m_view; |
|
536 |
int m_idleUid; |
|
537 |
PhoneBubbleWrapper *m_bubbleWrapper; |
|
538 |
CPhoneRingingToneController *m_ringingtonecontroller; |
|
539 |
PhoneResourceAdapter *m_resourceAdapter; |
|
540 |
PhoneNoteController *m_noteController; |
|
541 |
TelephonyService *m_telephonyService; |
|
542 |
PhoneUiCommandController *m_uiCommandController; |
|
543 |
PhoneMessageController *m_messageController; |
|
544 |
PhoneIndicatorController *m_indicatorController; |
|
74 | 545 |
PhoneCallHeaderManager *m_phoneCallHeaderManager; |
37 | 546 |
bool m_dialpadAboutToClose; |
547 |
bool m_homeScreenToForeground; |
|
45
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
548 |
PhoneVisibilityHandler *m_visibilityHandler; |
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
549 |
PhoneAppLauncher *m_appLauncher; |
45
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
550 |
bool m_clearDialpadOnClose; |
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
551 |
bool m_speakerAsDefaultButton; |
74 | 552 |
bool m_ringingTonePlaying; |
553 |
MPEEngineInfo* m_engineInfo; |
|
37 | 554 |
}; |
555 |
||
556 |
#endif // PHONEUIQTVIEWADAPTER_H |