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