equal
deleted
inserted
replaced
26 |
26 |
27 #include <QObject> |
27 #include <QObject> |
28 #include <QMap> |
28 #include <QMap> |
29 #include <apgwgnam.h> |
29 #include <apgwgnam.h> |
30 #include "mphoneviewcommandhandle.h" |
30 #include "mphoneviewcommandhandle.h" |
31 #include "mphonepubsubobserver.h" |
|
32 #include "phoneaction.h" |
31 #include "phoneaction.h" |
33 |
32 |
34 class PhoneUIQtViewIF; |
33 class PhoneUIQtViewIF; |
35 class PhoneBubbleWrapper; |
34 class PhoneBubbleWrapper; |
36 class CPhoneRingingToneController; |
35 class CPhoneRingingToneController; |
40 class PhoneMessageController; |
39 class PhoneMessageController; |
41 class PhoneUiCommandController; |
40 class PhoneUiCommandController; |
42 class TelephonyService; |
41 class TelephonyService; |
43 class QKeyEvent; |
42 class QKeyEvent; |
44 class PhoneIndicatorController; |
43 class PhoneIndicatorController; |
|
44 class PhoneVisibilityHandler; |
45 |
45 |
46 class PHONEUIQTVIEWADAPTER_EXPORT PhoneUIQtViewAdapter : |
46 class PHONEUIQTVIEWADAPTER_EXPORT PhoneUIQtViewAdapter : |
47 public QObject, |
47 public QObject, |
48 public MPhoneViewCommandHandle, |
48 public MPhoneViewCommandHandle |
49 public MPhonePubSubObserver |
|
50 { |
49 { |
51 Q_OBJECT |
50 Q_OBJECT |
52 |
51 |
53 public: |
52 public: |
54 |
53 |
146 \fn void PhoneUIQtViewAdapter::noteController () |
145 \fn void PhoneUIQtViewAdapter::noteController () |
147 |
146 |
148 Returns pointer to PhoneNoteController |
147 Returns pointer to PhoneNoteController |
149 */ |
148 */ |
150 PhoneNoteController* noteController() const; |
149 PhoneNoteController* noteController() const; |
151 |
150 |
152 public: // from MPhonePubSubObserver |
|
153 |
|
154 /** |
|
155 * This function is called when there is property value change. |
|
156 * @param aCategory Category of the property |
|
157 * @param aKey Property key that is changed |
|
158 * @param aValue New property value |
|
159 */ |
|
160 void HandlePropertyChangedL( |
|
161 const TUid& aCategory, |
|
162 const TUint aKey, |
|
163 const TInt aValue); |
|
164 |
|
165 |
151 |
166 private slots: |
152 private slots: |
167 |
153 |
168 /*! |
154 /*! |
169 \fn void PhoneUIQtViewAdapter::dialpadClosed () |
155 \fn void PhoneUIQtViewAdapter::dialpadClosed () |
423 This method brings application to foreground. |
409 This method brings application to foreground. |
424 */ |
410 */ |
425 void bringToForeground(); |
411 void bringToForeground(); |
426 |
412 |
427 /*! |
413 /*! |
|
414 \fn void PhoneUIQtViewAdapter::hideDeviceDialogs() |
|
415 |
|
416 This method brings application top of devicedialogs. |
|
417 */ |
|
418 void hideDeviceDialogs(TPhoneCommandParam *commandParam); |
|
419 |
|
420 /*! |
428 \fn void PhoneUIQtViewAdapter::showGlobalNote() |
421 \fn void PhoneUIQtViewAdapter::showGlobalNote() |
429 |
422 |
430 This method shows global note. |
423 This method shows global note. |
431 */ |
424 */ |
432 void showGlobalNote(TPhoneCommandParam *commandParam); |
425 void showGlobalNote(TPhoneCommandParam *commandParam); |
535 /*! |
528 /*! |
536 /fn void openContacts() |
529 /fn void openContacts() |
537 This method opens contacts application. |
530 This method opens contacts application. |
538 */ |
531 */ |
539 void openContacts(); |
532 void openContacts(); |
|
533 |
|
534 /*! |
|
535 /fn void openLogs() |
|
536 This method opens logs/dialer application. |
|
537 */ |
|
538 void openLogs(TPhoneCommandParam *commandParam); |
540 |
539 |
541 private: |
540 private: |
542 |
541 |
543 PhoneUIQtViewIF &m_view; |
542 PhoneUIQtViewIF &m_view; |
544 int m_idleUid; |
543 int m_idleUid; |
550 PhoneUiCommandController *m_uiCommandController; |
549 PhoneUiCommandController *m_uiCommandController; |
551 PhoneMessageController *m_messageController; |
550 PhoneMessageController *m_messageController; |
552 PhoneIndicatorController *m_indicatorController; |
551 PhoneIndicatorController *m_indicatorController; |
553 bool m_dialpadAboutToClose; |
552 bool m_dialpadAboutToClose; |
554 bool m_homeScreenToForeground; |
553 bool m_homeScreenToForeground; |
555 bool m_carModeEnabled; |
554 PhoneVisibilityHandler *m_visibilityHandler; |
|
555 bool m_clearDialpadOnClose; |
556 }; |
556 }; |
557 |
557 |
558 #endif // PHONEUIQTVIEWADAPTER_H |
558 #endif // PHONEUIQTVIEWADAPTER_H |