calendarui/caleneditor/src/caleneditor.cpp
changeset 50 579cc610882e
parent 18 c198609911f9
child 51 0b38fc5b94c6
child 58 ef813d54df51
equal deleted inserted replaced
49:5de72ea7a065 50:579cc610882e
    79 	\param launchCalendar bool to tell whether calendar has to be launched after 
    79 	\param launchCalendar bool to tell whether calendar has to be launched after 
    80 	 coming back from editor
    80 	 coming back from editor
    81  */
    81  */
    82 void CalenEditor::edit(AgendaEntry entry, bool launchCalendar)
    82 void CalenEditor::edit(AgendaEntry entry, bool launchCalendar)
    83 {
    83 {
       
    84 	if(entry.isNull()) {
       
    85 		return;
       
    86 	}
    84 	d_ptr->edit(entry, launchCalendar);
    87 	d_ptr->edit(entry, launchCalendar);
    85 }
    88 }
    86 
    89 
    87 /*!
    90 /*!
    88 	Shows the caleneditor, by using the entry id provided.
    91 	Shows the caleneditor, by using the entry id provided.
   116 	\param type type of the editor to be shown for creating new entry.
   119 	\param type type of the editor to be shown for creating new entry.
   117  */
   120  */
   118 void CalenEditor::create(AgendaEntry entry, bool launchCalendar, 
   121 void CalenEditor::create(AgendaEntry entry, bool launchCalendar, 
   119                          CalenEditor::CreateType type)
   122                          CalenEditor::CreateType type)
   120 {
   123 {
       
   124 	if(entry.isNull()) {
       
   125 		return;
       
   126 	}
   121 	d_ptr->create(type, entry, launchCalendar);
   127 	d_ptr->create(type, entry, launchCalendar);
   122 }
   128 }
   123 
   129 
   124 // End of file	--Don't remove this.
   130 // End of file	--Don't remove this.