notes/notesui/notesviews/inc/notesmainview.h
changeset 49 5de72ea7a065
parent 26 a949c2543c15
child 50 579cc610882e
equal deleted inserted replaced
37:360d55486d7f 49:5de72ea7a065
    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();
    56 	NOTESVIEWS_EXPORT void setupAfterViewReady();
    57 	NOTESVIEWS_EXPORT void updateTitle();
    57 	NOTESVIEWS_EXPORT void updateTitle();
       
    58 	NOTESVIEWS_EXPORT void captureScreenShot(bool captureScreenShot = false);
    58 
    59 
    59 signals:
    60 signals:
    60 	void deleteEntry(ulong entryId);
    61 	void deleteEntry(ulong entryId);
    61 
    62 
    62 private slots:
    63 private slots:
    77 	void updateSubTitle(ulong id=0);
    78 	void updateSubTitle(ulong id=0);
    78 	void markNoteAsTodo();
    79 	void markNoteAsTodo();
    79 	void openNote();
    80 	void openNote();
    80 	void selectedMenuAction(HbAction *action);
    81 	void selectedMenuAction(HbAction *action);
    81 	void handleMenuClosed();
    82 	void handleMenuClosed();
    82 
    83 	void saveActivity();
       
    84 	
    83 private:
    85 private:
    84 	HbListView *mListView;
    86 	HbListView *mListView;
    85 	HbAbstractViewItem *mSelectedItem;
    87 	HbAbstractViewItem *mSelectedItem;
    86 	HbLabel* mViewHeading;
    88 	HbLabel* mViewHeading;
    87 
    89 
   105 	NotesDocLoader *mDocLoader;
   107 	NotesDocLoader *mDocLoader;
   106 	NotesModel *mNotesModel;
   108 	NotesModel *mNotesModel;
   107 	NotesSortFilterProxyModel *mProxyModel;
   109 	NotesSortFilterProxyModel *mProxyModel;
   108 	NotesEditor *mNotesEditor;
   110 	NotesEditor *mNotesEditor;
   109 	AgendaEventViewer *mAgendaEventViewer;
   111 	AgendaEventViewer *mAgendaEventViewer;
   110 	bool mIsLongTop;
   112 	bool 			mIsLongTop;
       
   113 	bool			mIsScreenShotCapruted; // check if the screenshot captured is valid
       
   114 	QVariantHash	mScreenShot; // screenshot
   111 };
   115 };
   112 
   116 
   113 #endif // NOTESMAINVIEW_H
   117 #endif // NOTESMAINVIEW_H
   114 
   118 
   115 // End of file	--Don't remove this.
   119 // End of file	--Don't remove this.