diff -r 6bb1b21d2484 -r 2f8f8080a020 phoneapp/phoneuiqtviewadapter/inc/phoneuiqtviewadapter.h --- a/phoneapp/phoneuiqtviewadapter/inc/phoneuiqtviewadapter.h Fri Apr 16 14:58:25 2010 +0300 +++ b/phoneapp/phoneuiqtviewadapter/inc/phoneuiqtviewadapter.h Mon May 03 12:31:11 2010 +0300 @@ -26,7 +26,9 @@ #include #include +#include #include "mphoneviewcommandhandle.h" +#include "mphonepubsubobserver.h" #include "phoneaction.h" class PhoneUIQtViewIF; @@ -39,10 +41,12 @@ class PhoneUiCommandController; class TelephonyService; class QKeyEvent; +class PhoneIndicatorController; class PHONEUIQTVIEWADAPTER_EXPORT PhoneUIQtViewAdapter : public QObject, - public MPhoneViewCommandHandle + public MPhoneViewCommandHandle, + public MPhonePubSubObserver { Q_OBJECT @@ -145,6 +149,20 @@ */ PhoneNoteController* noteController() const; +public: // from MPhonePubSubObserver + + /** + * This function is called when there is property value change. + * @param aCategory Category of the property + * @param aKey Property key that is changed + * @param aValue New property value + */ + void HandlePropertyChangedL( + const TUid& aCategory, + const TUint aKey, + const TInt aValue); + + private slots: /*! @@ -488,6 +506,24 @@ */ void setBubbleSelectionFlag(); + /*! + /fn void setHidden() + This method sets hidden status. + */ + void setHidden(bool hidden); + + /*! + /fn void SetHiddenL() + This method sets hidden status. + */ + void SetHiddenL(bool hidden); + + /*! + /fn void openContacts() + This method opens contacts application. + */ + void openContacts(); + private: PhoneUIQtViewIF &m_view; @@ -499,8 +535,10 @@ TelephonyService *m_telephonyService; PhoneUiCommandController *m_uiCommandController; PhoneMessageController *m_messageController; + PhoneIndicatorController *m_indicatorController; bool m_dialpadAboutToClose; bool m_homeScreenToForeground; + bool m_carModeEnabled; }; #endif // PHONEUIQTVIEWADAPTER_H