notes/notesui/notesviews/inc/notesmainview.h
branchGCC_SURGE
changeset 54 e6894b852bc6
parent 50 579cc610882e
equal deleted inserted replaced
40:4b686cfad39d 54:e6894b852bc6
    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 
    96 	HbAction *mEditTodoAction;
    98 	HbAction *mEditTodoAction;
    97 	HbAction *mMarkTodoAction;
    99 	HbAction *mMarkTodoAction;
    98 	HbAction *mOpenAction;
   100 	HbAction *mOpenAction;
    99 
   101 
   100 	HbGroupBox *mSubTitle;
   102 	HbGroupBox *mSubTitle;
       
   103 	HbLabel *mEmptyListLabel;
   101 
   104 
   102 	AgendaUtil *mAgendaUtil;
   105 	AgendaUtil *mAgendaUtil;
   103 
   106 
   104 	NotesAppControllerIf *mAppControllerIf;
   107 	NotesAppControllerIf *mAppControllerIf;
   105 	NotesDocLoader *mDocLoader;
   108 	NotesDocLoader *mDocLoader;
   106 	NotesModel *mNotesModel;
   109 	NotesModel *mNotesModel;
   107 	NotesSortFilterProxyModel *mProxyModel;
   110 	NotesSortFilterProxyModel *mProxyModel;
   108 	NotesEditor *mNotesEditor;
   111 	NotesEditor *mNotesEditor;
   109 	AgendaEventViewer *mAgendaEventViewer;
   112 	AgendaEventViewer *mAgendaEventViewer;
   110 	bool mIsLongTop;
   113 	bool 			mIsLongTop;
       
   114 	bool			mIsScreenShotCapruted; // check if the screenshot captured is valid
       
   115 	QVariantHash	mScreenShot; // screenshot
   111 };
   116 };
   112 
   117 
   113 #endif // NOTESMAINVIEW_H
   118 #endif // NOTESMAINVIEW_H
   114 
   119 
   115 // End of file	--Don't remove this.
   120 // End of file	--Don't remove this.