notes/notesui/notesviews/inc/notesmainview.h
changeset 26 a949c2543c15
parent 23 fd30d51f876b
child 49 5de72ea7a065
equal deleted inserted replaced
23:fd30d51f876b 26:a949c2543c15
    51 	NOTESVIEWS_EXPORT virtual ~NotesMainView();
    51 	NOTESVIEWS_EXPORT virtual ~NotesMainView();
    52 
    52 
    53 public:
    53 public:
    54 	NOTESVIEWS_EXPORT void setupView(
    54 	NOTESVIEWS_EXPORT void setupView(
    55 			NotesAppControllerIf &controllerIf, NotesDocLoader *docLoader);
    55 			NotesAppControllerIf &controllerIf, NotesDocLoader *docLoader);
       
    56 	NOTESVIEWS_EXPORT void setupAfterViewReady();
       
    57 	NOTESVIEWS_EXPORT void updateTitle();
       
    58 
    56 signals:
    59 signals:
    57 	void deleteEntry(ulong entryId);
    60 	void deleteEntry(ulong entryId);
    58 
    61 
    59 private slots:
    62 private slots:
    60 	void createNewNote();
    63 	void createNewNote();
    72 	void editTodo();
    75 	void editTodo();
    73 	void handleOrientationChanged(Qt::Orientation);
    76 	void handleOrientationChanged(Qt::Orientation);
    74 	void updateSubTitle(ulong id=0);
    77 	void updateSubTitle(ulong id=0);
    75 	void markNoteAsTodo();
    78 	void markNoteAsTodo();
    76 	void openNote();
    79 	void openNote();
       
    80 	void selectedMenuAction(HbAction *action);
       
    81 	void handleMenuClosed();
    77 
    82 
    78 private:
    83 private:
    79 	HbListView *mListView;
    84 	HbListView *mListView;
    80 	HbAbstractViewItem *mSelectedItem;
    85 	HbAbstractViewItem *mSelectedItem;
    81 	HbLabel* mViewHeading;
    86 	HbLabel* mViewHeading;
   100 	NotesDocLoader *mDocLoader;
   105 	NotesDocLoader *mDocLoader;
   101 	NotesModel *mNotesModel;
   106 	NotesModel *mNotesModel;
   102 	NotesSortFilterProxyModel *mProxyModel;
   107 	NotesSortFilterProxyModel *mProxyModel;
   103 	NotesEditor *mNotesEditor;
   108 	NotesEditor *mNotesEditor;
   104 	AgendaEventViewer *mAgendaEventViewer;
   109 	AgendaEventViewer *mAgendaEventViewer;
       
   110 	bool mIsLongTop;
   105 };
   111 };
   106 
   112 
   107 #endif // NOTESMAINVIEW_H
   113 #endif // NOTESMAINVIEW_H
   108 
   114 
   109 // End of file	--Don't remove this.
   115 // End of file	--Don't remove this.