diff -r 360d55486d7f -r 5de72ea7a065 calendarui/caleneditor/src/caleneditorcustomitem.cpp --- a/calendarui/caleneditor/src/caleneditorcustomitem.cpp Fri Jun 11 13:37:54 2010 +0300 +++ b/calendarui/caleneditor/src/caleneditorcustomitem.cpp Wed Jun 23 18:11:28 2010 +0300 @@ -397,6 +397,9 @@ // Set FromTime in Editor mPushButtonTime->setText(mLocale.format(fromDateTime.time(),r_qtn_time_usual_with_zero)); + + // Store the time + mTime = fromDateTime.time(); } /*! @@ -419,6 +422,9 @@ // Set ToTime in Editor mPushButtonTime->setText(mLocale.format( toDateTime.time(),r_qtn_time_usual_with_zero)); + + // Store the time + mTime = toDateTime.time(); } /*! @@ -463,6 +469,11 @@ } } +QDateTime CalenEditorCustomItem::getDateTime() +{ + return QDateTime(mDate, mTime); +} + Q_IMPLEMENT_USER_METATYPE(QLocationPickerItem) // End of file --Don't remove this.