notes/notesui/noteseditor/inc/notesnoteeditor.h
changeset 45 b6db4fd4947b
parent 23 fd30d51f876b
child 55 2c54b51f39c4
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
    46 	virtual ~NotesNoteEditor();
    46 	virtual ~NotesNoteEditor();
    47 
    47 
    48 private:
    48 private:
    49 	void execute(AgendaEntry entry);
    49 	void execute(AgendaEntry entry);
    50 	QString getDescription();
    50 	QString getDescription();
    51 	bool showDeleteConfirmationQuery();
       
    52 
    51 
    53 private slots:
    52 private slots:
    54 	void markNoteAsTodo();
    53 	void markNoteAsTodo();
    55 	void saveNote();
    54 	void saveNote();
    56 	void deleteNote();
    55 	void deleteNote();
    61 	void handleDiscardChangesAction();
    60 	void handleDiscardChangesAction();
    62 	void handleAddToCalendarAction();
    61 	void handleAddToCalendarAction();
    63 	void handleEntrySaveFromCalendar();
    62 	void handleEntrySaveFromCalendar();
    64 	void handleCalendarEditorClosed();
    63 	void handleCalendarEditorClosed();
    65 	void handleNewNoteAction();
    64 	void handleNewNoteAction();
       
    65 	void selectedAction(HbAction *action);
    66 
    66 
    67 private:
    67 private:
    68 	HbView *mEditor;
    68 	HbView *mEditor;
    69 
    69 
    70 	QPointer<HbTextEdit> mTextEditor;
    70 	QPointer<HbTextEdit> mTextEditor;
    75 	QPointer<HbAction> mAddToCalendarAction;
    75 	QPointer<HbAction> mAddToCalendarAction;
    76 	QPointer<HbAction> mDeleteAction;
    76 	QPointer<HbAction> mDeleteAction;
    77 	QPointer<HbAction> mMarkFavouriteAction;
    77 	QPointer<HbAction> mMarkFavouriteAction;
    78 	QPointer<HbAction> mDiscardChangesAction;
    78 	QPointer<HbAction> mDiscardChangesAction;
    79 	QPointer<HbAction> mNewNoteAction;
    79 	QPointer<HbAction> mNewNoteAction;
       
    80 	HbAction *mDeleteNoteAction;
       
    81 	HbAction *mCancelDeleteAction;
       
    82 	ulong mEntryId;
    80 
    83 
    81 	NotesEditorDocLoader *mDocLoader;
    84 	NotesEditorDocLoader *mDocLoader;
    82 	NotesEditorPrivate* mOwner;
    85 	NotesEditorPrivate* mOwner;
    83 
    86 
    84 	QPointer<CalenEditor> mCalenEditor;
    87 	QPointer<CalenEditor> mCalenEditor;