equal
deleted
inserted
replaced
41 public: // Constructors and destructor |
41 public: // Constructors and destructor |
42 /** |
42 /** |
43 * Destructor. |
43 * Destructor. |
44 */ |
44 */ |
45 virtual ~CalenNativeView(); |
45 virtual ~CalenNativeView(); |
46 HbWidget* ControlOrNull(); |
|
47 bool isPlugin(); |
|
48 virtual void populationComplete(); |
46 virtual void populationComplete(); |
49 TBool pluginEnabled(); |
47 TBool pluginEnabled(); |
|
48 virtual void refreshViewOnGoToDate(); |
|
49 QString *pluginText(); |
50 |
50 |
51 protected: // New functions |
51 protected: // New functions |
52 CalenNativeView( MCalenServices& services ); |
52 CalenNativeView( MCalenServices& services ); |
53 |
53 |
54 void checkInfobarL(); |
|
55 void HandleNotification( const TCalenNotification notification ); |
54 void HandleNotification( const TCalenNotification notification ); |
56 virtual void onLocaleChanged(int reason)=0; |
55 virtual void onLocaleChanged(int reason)=0; |
|
56 virtual void onContextChanged() {}; |
57 |
57 |
58 protected slots: |
58 protected slots: |
59 |
59 |
60 void goToDate(); |
60 void goToDate(); |
61 void goToSelectedDate(); |
61 void goToSelectedDate(); |
64 void launchSettingsView(); |
64 void launchSettingsView(); |
65 virtual void changeOrientation(Qt::Orientation orientation); |
65 virtual void changeOrientation(Qt::Orientation orientation); |
66 |
66 |
67 protected: |
67 protected: |
68 |
68 |
69 MCalenServices& mServices; // not owned. |
69 MCalenServices &mServices; // not owned. |
70 TBool mPluginEnabled; |
|
71 |
70 |
72 private: |
71 private: |
73 HbWidget* mInfobar;//plugin label |
72 HbDateTimePicker *mDatePicker; |
74 HbDateTimePicker* mDatePicker; |
|
75 }; |
73 }; |
76 |
74 |
77 #endif // CALENNATIVEVIEW_H |
75 #endif // CALENNATIVEVIEW_H |
78 |
76 |
79 // End of file |
77 // End of file |