notes/notesui/notesviewmanager/inc/notesviewmanager.h
changeset 45 b6db4fd4947b
parent 23 fd30d51f876b
child 55 2c54b51f39c4
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
    25 #include "notesviewmanagerdefines.h"
    25 #include "notesviewmanagerdefines.h"
    26 #include "notesappcontrollerif.h"
    26 #include "notesappcontrollerif.h"
    27 
    27 
    28 // Forward declarations
    28 // Forward declarations
    29 class HbMainWindow;
    29 class HbMainWindow;
       
    30 class HbAction;
    30 class NotesMainView;
    31 class NotesMainView;
    31 class NotesModel;
    32 class NotesModel;
    32 class AgendaUtil;
    33 class AgendaUtil;
    33 class NotesCollectionView;
    34 class NotesCollectionView;
    34 class NotesTodoView;
    35 class NotesTodoView;
    52 	void loadNotesMainView();
    53 	void loadNotesMainView();
    53 	void loadNotesCollectionView();
    54 	void loadNotesCollectionView();
    54 	void loadTodoView();
    55 	void loadTodoView();
    55 	void loadFavoritesView();
    56 	void loadFavoritesView();
    56 	void loadNoteView();
    57 	void loadNoteView();
    57 	bool showDeleteConfirmationQuery(ulong entryId);
       
    58 
    58 
    59 private slots:
    59 private slots:
    60 	void loadOtherViews();
    60 	void loadOtherViews();
    61 	void deleteEntryFromView(ulong entryId);
    61 	void deleteEntryFromView(ulong entryId);
       
    62 	void selectedAction(HbAction *action);
       
    63 	void handleInstanceViewCreationCompleted(int status);
    62 
    64 
    63 private:
    65 private:
    64 	NotesAppControllerIf &mAppControllerIf;
    66 	NotesAppControllerIf &mAppControllerIf;
    65 	AgendaUtil *mAgendaUtil;
    67 	AgendaUtil *mAgendaUtil;
    66 
    68 
    68 	NotesCollectionView *mCollectionView;
    70 	NotesCollectionView *mCollectionView;
    69 	NotesTodoView *mTodoView;
    71 	NotesTodoView *mTodoView;
    70 	NotesFavoriteView *mFavoriteView;
    72 	NotesFavoriteView *mFavoriteView;
    71 	NotesNoteView *mNoteView;
    73 	NotesNoteView *mNoteView;
    72 
    74 
       
    75 	HbAction *mDeleteAction;
       
    76 	HbAction *mCancelAction;
       
    77 	ulong mEntryId;
       
    78 
    73 private:
    79 private:
    74 	Q_DISABLE_COPY(NotesViewManager)
    80 	Q_DISABLE_COPY(NotesViewManager)
    75 };
    81 };
    76 
    82 
    77 #endif // NOTESVIEWMANAGER_H
    83 #endif // NOTESVIEWMANAGER_H