notes/notesui/noteseditor/inc/notestodoeditor.h
changeset 83 5aadd1120515
parent 45 b6db4fd4947b
equal deleted inserted replaced
82:dcd0ca396fa1 83:5aadd1120515
    37 class HbCheckBox;
    37 class HbCheckBox;
    38 class HbDateTimePicker;
    38 class HbDateTimePicker;
    39 class HbDialog;
    39 class HbDialog;
    40 class HbGroupBox;
    40 class HbGroupBox;
    41 class HbDataFormModelItem;
    41 class HbDataFormModelItem;
       
    42 class HbTranslator;
    42 class AgendaEntry;
    43 class AgendaEntry;
    43 class NotesEditorPrivate;
    44 class NotesEditorPrivate;
    44 class NotesEditorDocLoader;
    45 class NotesEditorDocLoader;
    45 class NotesTodoEditorCustomItem;
    46 class NotesTodoEditorCustomItem;
    46 
    47 
    69 	void insertPriorityItem();
    70 	void insertPriorityItem();
    70 	void insertDescriptionItem();
    71 	void insertDescriptionItem();
    71 	void addMenu();
    72 	void addMenu();
    72 	bool validAlarmSet();
    73 	bool validAlarmSet();
    73 	void addDiscardChangesAction();
    74 	void addDiscardChangesAction();
       
    75 	void saveActivity();
    74 
    76 
    75 private slots:
    77 private slots:
    76 	void saveTodo();
    78 	void saveTodo();
    77 	void close();
    79 	void close();
    78 	void handleAddDescriptionAction();
    80 	void handleAddDescriptionAction();
    79 	void handleRemoveDescriptionAction();
    81 	void handleRemoveDescriptionAction();
    80 	void handleDeleteAction();
    82 	void handleDeleteAction();
    81 	void handleDiscardChangesAction();
    83 	void handleDiscardChangesAction();
    82 	void selectedAction(HbAction *action);
    84 	void selectedAction(HbAction *action);
    83 
    85 	void forcedExit();
    84 private:
    86 private:
    85 	NotesEditorPrivate* mOwner;
    87 	NotesEditorPrivate* mOwner;
    86 
    88 
    87 	HbView *mEditor;
    89 	HbView *mEditor;
    88 	HbDataForm *mDataForm;
    90 	HbDataForm *mDataForm;
   100 	HbAction *mDiscardAction;
   102 	HbAction *mDiscardAction;
   101 	QPointer<HbAction> mDescriptionAction;
   103 	QPointer<HbAction> mDescriptionAction;
   102 	HbAction *mDeleteTodoAction;
   104 	HbAction *mDeleteTodoAction;
   103 	HbAction *mCancelDeleteAction;
   105 	HbAction *mCancelDeleteAction;
   104 	HbGroupBox *mSubHeading;
   106 	HbGroupBox *mSubHeading;
   105 
   107 	
       
   108 	HbTranslator *mTranslator;
       
   109 	
   106 	NotesEditorDocLoader *mDocLoader;
   110 	NotesEditorDocLoader *mDocLoader;
       
   111 	
   107 
   112 
   108 	int mDescriptionItemIndex;
   113 	int mDescriptionItemIndex;
   109 	bool mDiscardChangesActive;
   114 	bool mDiscardChangesActive;
       
   115 	bool mForcedExit;
   110 private:
   116 private:
   111 	friend class NotesEditorPrivate;
   117 	friend class NotesEditorPrivate;
   112 };
   118 };
   113 
   119 
   114 #endif // NOTESTODOEDITOR_H
   120 #endif // NOTESTODOEDITOR_H