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