equal
deleted
inserted
replaced
22 #include <QObject> |
22 #include <QObject> |
23 #include <QDateTime> |
23 #include <QDateTime> |
24 #include <hbdataformviewitem.h> |
24 #include <hbdataformviewitem.h> |
25 #include <hbextendedlocale.h> |
25 #include <hbextendedlocale.h> |
26 #include <hblineedit.h> |
26 #include <hblineedit.h> |
|
27 |
|
28 class XQApplicationManager; |
|
29 class XQAiwRequest; |
27 |
30 |
28 class HbDateTimePicker; |
31 class HbDateTimePicker; |
29 class HbPushButton; |
32 class HbPushButton; |
30 class HbDataFomViewer; |
33 class HbDataFomViewer; |
31 class AgendaEntry; |
34 class AgendaEntry; |
51 QDateTime getDateTime(); |
54 QDateTime getDateTime(); |
52 |
55 |
53 protected: |
56 protected: |
54 virtual HbWidget* createCustomWidget(); |
57 virtual HbWidget* createCustomWidget(); |
55 |
58 |
56 private: |
|
57 void setSelectedLocation( QVariant &aValue ); |
|
58 |
|
59 protected slots: |
59 protected slots: |
60 void handleDate(); |
60 void handleDate(); |
61 void handleTime(); |
61 void handleTime(); |
62 void saveTime(); |
62 void saveTime(); |
63 void saveDate(); |
63 void saveDate(); |
64 void handleLocationTextChange(QString location); |
64 void handleLocationTextChange(QString location); |
65 void launchLocationPicker(); |
65 void launchLocationPicker(); |
66 void handleEditingFinished(); |
66 void handleEditingFinished(); |
|
67 void setSelectedLocation( const QVariant &aValue ); |
67 |
68 |
68 Q_SIGNALS: |
69 Q_SIGNALS: |
69 void dateTimeUpdated(QDateTime& fromDateTime); |
70 void dateTimeUpdated(QDateTime& fromDateTime); |
70 void locationTextChanged(QString location); |
71 void locationTextChanged(QString location); |
71 void locationTextChanged(QString location, double latitude, double longitude); |
72 void locationTextChanged(QString location, double latitude, double longitude); |
76 QDate mMaxDate; |
77 QDate mMaxDate; |
77 QDate mMinDate; |
78 QDate mMinDate; |
78 QTime mTime; |
79 QTime mTime; |
79 QTime mMaxTime; |
80 QTime mMaxTime; |
80 QTime mMinTime; |
81 QTime mMinTime; |
81 |
82 |
|
83 XQApplicationManager *mAppManager; |
|
84 XQAiwRequest* mRequest; |
|
85 |
82 HbPushButton* mPushButtonTime; |
86 HbPushButton* mPushButtonTime; |
83 HbPushButton* mPushButtonDate; |
87 HbPushButton* mPushButtonDate; |
84 HbPushButton *mRepeatUntilWidget; |
88 HbPushButton *mRepeatUntilWidget; |
85 HbPushButton *mReminderTimeWidget; |
89 HbPushButton *mReminderTimeWidget; |
86 |
90 |
90 HbExtendedLocale mLocale; |
94 HbExtendedLocale mLocale; |
91 |
95 |
92 HbLineEdit *mLocationLineEdit; |
96 HbLineEdit *mLocationLineEdit; |
93 HbPushButton* mLocationPushButton; |
97 HbPushButton* mLocationPushButton; |
94 bool mIsFromItem; |
98 bool mIsFromItem; |
|
99 bool mRequestPending; |
95 |
100 |
96 }; |
101 }; |
97 |
102 |
98 #endif // CALENEDITORCUSTOMITEM_H |
103 #endif // CALENEDITORCUSTOMITEM_H |
99 |
104 |