calendarui/caleneditor/src/caleneditorreminderfield.cpp
changeset 55 2c54b51f39c4
parent 51 0b38fc5b94c6
child 57 bb2d3e476f29
--- a/calendarui/caleneditor/src/caleneditorreminderfield.cpp	Mon Jul 12 02:32:28 2010 +0530
+++ b/calendarui/caleneditor/src/caleneditorreminderfield.cpp	Mon Jul 26 13:54:38 2010 +0530
@@ -57,7 +57,7 @@
 	 mCalenEditor(calenEditor), 
 	 mEditorForm(form), 
 	 mCalenEditorModel(model),
-	 mCustomReminderTimeItem(NULL),
+	 mCustomReminderTimeItem(0),
 	 mReminderTimeAdded(false)
 {
 	OstTraceFunctionEntry0( CALENEDITORREMINDERFIELD_CALENEDITORREMINDERFIELD_ENTRY );
@@ -350,7 +350,7 @@
 		AgendaAlarm reminder;
 		QDate defaultDate
 				(mCalenEditor->editedEntry()->startTime().date().addDays(-1));
-		// Set default time.
+		// Set default time as 6pm of the previous day.
 		mReminderTimeForAllDay.setHMS(18, 0, 0, 0);
 		setDisplayTime();
 		QDateTime startDateTimeForAllDay(
@@ -474,7 +474,7 @@
 		mCalenEditorModel->removeItem(
 				mCalenEditorModel->index(
 						reminderIndex.row(), 0));
-		mCustomReminderTimeItem = NULL;
+		mCustomReminderTimeItem = 0;
 	}
 	OstTraceFunctionExit0( CALENEDITORREMINDERFIELD_REMOVEREMINDERTIMEFIELD_EXIT );
 }