author | hgs |
Fri, 17 Sep 2010 17:09:12 +0300 | |
changeset 74 | d1c62c765e48 |
parent 65 | 2a5d4ab426d3 |
child 76 | cfea66083b62 |
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 |
||
225 |
This method updates call state information in call header. |
|
226 |
*/ |
|
74 | 227 |
void updateCallHeaderState(int callId); |
37 | 228 |
|
229 |
/*! |
|
230 |
\fn int PhoneUIQtViewAdapter::updateCallHeaderRemoteInfo() |
|
231 |
||
232 |
This method updates remote information in call header. |
|
233 |
*/ |
|
74 | 234 |
void updateCallHeaderRemoteInfo(int callId); |
235 |
||
236 |
||
37 | 237 |
/*! |
238 |
\fn int PhoneUIQtViewAdapter::updateCallHeaderRemoteInfo() |
|
239 |
||
240 |
This method updates remote information in call header and label. |
|
241 |
*/ |
|
74 | 242 |
void updateCallHeaderRemoteInfoAndLabel(int callId); |
243 |
||
37 | 244 |
/*! |
245 |
\fn int PhoneUIQtViewAdapter::handleCipheringInfoChange() |
|
246 |
||
247 |
This method updates ciphering indicators. |
|
248 |
*/ |
|
74 | 249 |
void handleCipheringInfoChange(int callId); |
37 | 250 |
|
251 |
/*! |
|
252 |
\fn int PhoneUIQtViewAdapter::callIdByState() |
|
253 |
||
254 |
This method writes to commandParam the call id matching |
|
255 |
given call state. |
|
256 |
||
257 |
Returns EPhoneViewResponseSuccess operation is succesful |
|
258 |
otherwise EPhoneViewResponseFailed. |
|
259 |
*/ |
|
260 |
TPhoneViewResponseId callIdByState (TPhoneCommandParam *commandParam); |
|
261 |
||
262 |
/*! |
|
263 |
\fn void PhoneUIQtViewAdapter::setTouchButtons (TPhoneCmdParam *commandParam) |
|
264 |
||
265 |
This method sets buttons to call bubble. |
|
266 |
*/ |
|
267 |
void setTouchButtons (TPhoneCommandParam *commandParam); |
|
268 |
||
269 |
/*! |
|
270 |
\fn void PhoneUIQtViewAdapter::setToolbarButtons (TPhoneCmdParam *commandParam) |
|
271 |
||
272 |
This method sets buttons to toolbar. |
|
273 |
*/ |
|
274 |
void setToolbarButtons (TPhoneCommandParam *commandParam); |
|
275 |
||
276 |
/*! |
|
277 |
\fn void PhoneUIQtViewAdapter::writeAudioVolumeLevel (TPhoneCmdParam *commandParam) |
|
278 |
||
279 |
This method writes audio volume value into given command parameter. |
|
280 |
*/ |
|
281 |
void writeAudioVolumeLevel (TPhoneCommandParam *commandParam); |
|
282 |
||
283 |
/*! |
|
284 |
\fn void PhoneUIQtViewAdapter::setAudioVolumeSliderValue (TPhoneCmdParam *commandParam) |
|
285 |
||
286 |
This method sets volume value to view. |
|
287 |
*/ |
|
288 |
void setAudioVolumeSliderValue (TPhoneCommandParam *commandParam); |
|
289 |
||
290 |
/*! |
|
291 |
\fn void PhoneUIQtViewAdapter::setMuteIndication (TPhoneCmdParam *commandParam) |
|
292 |
||
293 |
This method sets muted indication to view. |
|
294 |
*/ |
|
295 |
void setMuteIndication (TPhoneCommandParam *commandParam); |
|
296 |
||
297 |
||
298 |
/*! |
|
299 |
\fn void PhoneUIQtViewAdapter::callHoldFlag (TPhoneCmdParam *commandParam) |
|
300 |
||
301 |
This method retrieves number of calls. Conference call counts one call, |
|
302 |
participant calls are not count. |
|
303 |
*/ |
|
304 |
void activeCallCount (TPhoneCommandParam *commandParam); |
|
305 |
||
306 |
/*! |
|
307 |
\fn void PhoneUIQtViewAdapter::setAudioPath (TPhoneCommandParam *commandParam) |
|
308 |
||
309 |
This method sets audio paths |
|
310 |
*/ |
|
311 |
void setAudioPath (TPhoneCommandParam *commandParam); |
|
312 |
||
313 |
/*! |
|
314 |
\fn void PhoneUIQtViewAdapter::expandedBubbleCallId(TPhoneCommandParam *commandParam) |
|
315 |
||
316 |
This method gets call id of the expanded call bubble. |
|
317 |
*/ |
|
318 |
void expandedBubbleCallId(TPhoneCommandParam *commandParam); |
|
319 |
||
320 |
/*! |
|
321 |
\fn void openDialpad() |
|
322 |
||
323 |
This method opens dialpad. |
|
324 |
*/ |
|
325 |
void openDialpad(); |
|
74 | 326 |
|
37 | 327 |
/*! |
328 |
\fn int PhoneUIQtViewAdapter::createConference() |
|
329 |
||
330 |
This method creates conference bubble. |
|
331 |
*/ |
|
74 | 332 |
void createConferenceBubble(int callId); |
333 |
||
37 | 334 |
/*! |
335 |
\fn int PhoneUIQtViewAdapter::conferenceCallId() |
|
336 |
||
337 |
This method checks if call id belongs to conference call. |
|
338 |
*/ |
|
339 |
void conferenceCallId(int callId, TPhoneCommandParam *commandParam); |
|
340 |
||
341 |
/*! |
|
342 |
\fn int PhoneUIQtViewAdapter::removeConferenceBubble() |
|
343 |
||
344 |
This method removes conference bubble. |
|
345 |
*/ |
|
346 |
void removeConferenceBubble(); |
|
347 |
||
348 |
/*! |
|
349 |
\fn int PhoneUIQtViewAdapter::isConference() |
|
350 |
||
351 |
This method checks is conference bubble active. |
|
352 |
*/ |
|
353 |
void isConference(TPhoneCommandParam *commandParam); |
|
354 |
||
355 |
/*! |
|
356 |
\fn int PhoneUIQtViewAdapter::removeCallFromConference() |
|
357 |
||
358 |
This method removes a call from conference. |
|
359 |
*/ |
|
360 |
void removeCallFromConference(int callId); |
|
361 |
||
362 |
/*! |
|
363 |
\fn TPhoneViewResponseId PhoneUIQtViewAdapter::getSelectedConferenceMember() |
|
364 |
||
365 |
This method gets call id of selected conference member. |
|
366 |
Used in drop and private commands. |
|
367 |
*/ |
|
368 |
TPhoneViewResponseId getSelectedConferenceMember( |
|
369 |
TPhoneCommandParam *commandParam); |
|
370 |
||
371 |
/*! |
|
372 |
\fn void PhoneUIQtViewAdapter::setPrivateFromConference() |
|
373 |
||
374 |
This method removes call from converence bubble. |
|
375 |
Used in private command. |
|
376 |
*/ |
|
377 |
void setPrivateFromConference(int callId); |
|
378 |
||
379 |
/*! |
|
380 |
\fn void PhoneUIQtViewAdapter::setExpandActions() |
|
381 |
||
382 |
This method sets expand action if needed. |
|
383 |
*/ |
|
384 |
void setExpandActions(); |
|
385 |
||
386 |
/*! |
|
387 |
\fn void PhoneUIQtViewAdapter::setParticipantListActions() |
|
388 |
||
389 |
This method sets participant list actions if needed. |
|
390 |
*/ |
|
391 |
void setParticipantListActions(); |
|
392 |
||
393 |
/*! |
|
394 |
\fn void PhoneUIQtViewAdapter::setExpandedConferenceCallHeader() |
|
395 |
||
396 |
This method sets conference call header expanded if needed. |
|
397 |
*/ |
|
398 |
void setExpandedConferenceCallHeader(); |
|
399 |
||
400 |
/*! |
|
401 |
\fn void PhoneUIQtViewAdapter::bringToForeground() |
|
402 |
||
403 |
This method brings application to foreground. |
|
404 |
*/ |
|
405 |
void bringToForeground(); |
|
406 |
||
407 |
/*! |
|
45
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
408 |
\fn void PhoneUIQtViewAdapter::hideDeviceDialogs() |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
409 |
|
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
410 |
This method brings application top of devicedialogs. |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
411 |
*/ |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
412 |
void hideDeviceDialogs(TPhoneCommandParam *commandParam); |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
413 |
|
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
414 |
/*! |
37 | 415 |
\fn void PhoneUIQtViewAdapter::showGlobalNote() |
416 |
||
417 |
This method shows global note. |
|
418 |
*/ |
|
419 |
void showGlobalNote(TPhoneCommandParam *commandParam); |
|
420 |
||
421 |
/*! |
|
422 |
\fn void PhoneUIQtViewAdapter::callsExists() |
|
423 |
||
424 |
This method checks if there are calls in given states. |
|
425 |
*/ |
|
426 |
bool callsExists(int call1State, int call2State); |
|
427 |
||
428 |
/*! |
|
429 |
\fn void PhoneUIQtViewAdapter::setDialpadVisibility() |
|
430 |
||
431 |
This method sets dialpad visibility. |
|
432 |
*/ |
|
433 |
void setDialpadVisibility(TPhoneCommandParam *commandParam); |
|
434 |
||
435 |
/*! |
|
436 |
\fn void PhoneUIQtViewAdapter::removeAllCallHeaders() |
|
437 |
||
438 |
This method removes all call headers. |
|
439 |
*/ |
|
440 |
void removeAllCallHeaders(); |
|
441 |
||
442 |
/*! |
|
443 |
\fn void PhoneUIQtViewAdapter::getNumberFromDialpad() |
|
444 |
||
445 |
This method gets number from dialpad. |
|
446 |
*/ |
|
447 |
void getNumberFromDialpad(TPhoneCommandParam *commandParam); |
|
448 |
||
449 |
/*! |
|
450 |
\fn void PhoneUIQtViewAdapter::getNumberEntryStringLength() |
|
451 |
||
452 |
This method gets text length from the dialpad. |
|
453 |
*/ |
|
454 |
void getDialpadStringLength(TPhoneCommandParam *commandParam); |
|
455 |
||
456 |
/*! |
|
457 |
\fn void PhoneUIQtViewAdapter::getNumberEntryStringLength() |
|
458 |
||
459 |
This method clears and removes dialpad from the view. |
|
460 |
*/ |
|
461 |
void removeDialpad(); |
|
462 |
||
65 | 463 |
void clearDialpad(); |
464 |
||
37 | 465 |
/*! |
466 |
\fn void PhoneUIQtViewAdapter::addToConference() |
|
467 |
||
468 |
This method adds call to conference. |
|
469 |
*/ |
|
470 |
void addToConference(); |
|
471 |
||
472 |
/*! |
|
473 |
\fn void PhoneUIQtViewAdapter::setMenu() |
|
474 |
||
475 |
This method sets actions for menu. |
|
476 |
*/ |
|
477 |
void setMenu(); |
|
478 |
||
479 |
/*! |
|
480 |
\fn void PhoneUIQtViewAdapter::setMenu() |
|
481 |
||
482 |
This method sets actions for menu in call handling view. |
|
483 |
*/ |
|
484 |
void setCallMenu(); |
|
485 |
||
486 |
/*! |
|
487 |
\fn void PhoneUIQtViewAdapter::setMenu() |
|
488 |
||
489 |
This method sets actions for menu in dialpad view. |
|
490 |
*/ |
|
491 |
void setDialpadMenu(); |
|
492 |
||
493 |
/*! |
|
494 |
\fn int PhoneUIQtViewAdapter::showNote() |
|
495 |
||
496 |
This method shows a note by command params. |
|
497 |
*/ |
|
498 |
void showNote(TPhoneCommandParam *commandParam); |
|
499 |
||
500 |
/*! |
|
501 |
/fn QString convertDuration(int) |
|
502 |
This method returns the localized call duration |
|
503 |
*/ |
|
504 |
QString convertDuration(int seconds); |
|
505 |
||
506 |
/*! |
|
507 |
/fn void setBubbleSelectionFlag() |
|
508 |
This method sets bubble selection flag. |
|
509 |
*/ |
|
510 |
void setBubbleSelectionFlag(); |
|
511 |
||
512 |
/*! |
|
513 |
/fn void setHidden() |
|
514 |
This method sets hidden status. |
|
515 |
*/ |
|
516 |
void setHidden(bool hidden); |
|
517 |
||
518 |
/*! |
|
519 |
/fn void SetHiddenL() |
|
520 |
This method sets hidden status. |
|
521 |
*/ |
|
522 |
void SetHiddenL(bool hidden); |
|
523 |
||
524 |
/*! |
|
525 |
/fn void openContacts() |
|
526 |
This method opens contacts application. |
|
527 |
*/ |
|
528 |
void openContacts(); |
|
45
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
529 |
|
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
530 |
/*! |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
531 |
/fn void openLogs() |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
532 |
This method opens logs/dialer application. |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
533 |
*/ |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
534 |
void openLogs(TPhoneCommandParam *commandParam); |
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
535 |
|
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
536 |
/*! |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
537 |
/fn void setCommonButtonFlags() |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
538 |
This method sets common button flags. |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
539 |
*/ |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
540 |
void setCommonButtonFlags(); |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
541 |
|
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
542 |
/*! |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
543 |
/fn void convertKey() |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
544 |
This method converts key. |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
545 |
*/ |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
546 |
bool convertKey(TKeyCode symbianKey, Qt::Key &qtKey); |
37 | 547 |
|
548 |
private: |
|
549 |
||
550 |
PhoneUIQtViewIF &m_view; |
|
551 |
int m_idleUid; |
|
552 |
PhoneBubbleWrapper *m_bubbleWrapper; |
|
553 |
CPhoneRingingToneController *m_ringingtonecontroller; |
|
554 |
PhoneResourceAdapter *m_resourceAdapter; |
|
555 |
PhoneNoteController *m_noteController; |
|
556 |
TelephonyService *m_telephonyService; |
|
557 |
PhoneUiCommandController *m_uiCommandController; |
|
558 |
PhoneMessageController *m_messageController; |
|
559 |
PhoneIndicatorController *m_indicatorController; |
|
74 | 560 |
PhoneCallHeaderManager *m_phoneCallHeaderManager; |
37 | 561 |
bool m_dialpadAboutToClose; |
562 |
bool m_homeScreenToForeground; |
|
45
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
563 |
PhoneVisibilityHandler *m_visibilityHandler; |
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
564 |
PhoneAppLauncher *m_appLauncher; |
45
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
565 |
bool m_clearDialpadOnClose; |
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
566 |
bool m_speakerAsDefaultButton; |
74 | 567 |
bool m_ringingTonePlaying; |
568 |
MPEEngineInfo* m_engineInfo; |
|
37 | 569 |
}; |
570 |
||
571 |
#endif // PHONEUIQTVIEWADAPTER_H |