notes/notesui/notesviews/inc/notesmainview.h
changeset 45 b6db4fd4947b
parent 23 fd30d51f876b
child 81 ce92091cbd61
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
    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 	NOTESVIEWS_EXPORT void captureScreenShot(bool captureScreenShot = false);
       
    59 
    56 signals:
    60 signals:
    57 	void deleteEntry(ulong entryId);
    61 	void deleteEntry(ulong entryId);
    58 
    62 
    59 private slots:
    63 private slots:
    60 	void createNewNote();
    64 	void createNewNote();
    72 	void editTodo();
    76 	void editTodo();
    73 	void handleOrientationChanged(Qt::Orientation);
    77 	void handleOrientationChanged(Qt::Orientation);
    74 	void updateSubTitle(ulong id=0);
    78 	void updateSubTitle(ulong id=0);
    75 	void markNoteAsTodo();
    79 	void markNoteAsTodo();
    76 	void openNote();
    80 	void openNote();
    77 
    81 	void selectedMenuAction(HbAction *action);
       
    82 	void handleMenuClosed();
       
    83 	void saveActivity();
       
    84 	
    78 private:
    85 private:
    79 	HbListView *mListView;
    86 	HbListView *mListView;
    80 	HbAbstractViewItem *mSelectedItem;
    87 	HbAbstractViewItem *mSelectedItem;
    81 	HbLabel* mViewHeading;
    88 	HbLabel* mViewHeading;
    82 
    89 
    91 	HbAction *mEditTodoAction;
    98 	HbAction *mEditTodoAction;
    92 	HbAction *mMarkTodoAction;
    99 	HbAction *mMarkTodoAction;
    93 	HbAction *mOpenAction;
   100 	HbAction *mOpenAction;
    94 
   101 
    95 	HbGroupBox *mSubTitle;
   102 	HbGroupBox *mSubTitle;
       
   103 	HbLabel *mEmptyListLabel;
    96 
   104 
    97 	AgendaUtil *mAgendaUtil;
   105 	AgendaUtil *mAgendaUtil;
    98 
   106 
    99 	NotesAppControllerIf *mAppControllerIf;
   107 	NotesAppControllerIf *mAppControllerIf;
   100 	NotesDocLoader *mDocLoader;
   108 	NotesDocLoader *mDocLoader;
   101 	NotesModel *mNotesModel;
   109 	NotesModel *mNotesModel;
   102 	NotesSortFilterProxyModel *mProxyModel;
   110 	NotesSortFilterProxyModel *mProxyModel;
   103 	NotesEditor *mNotesEditor;
   111 	NotesEditor *mNotesEditor;
   104 	AgendaEventViewer *mAgendaEventViewer;
   112 	AgendaEventViewer *mAgendaEventViewer;
       
   113 	bool 			mIsLongTop;
       
   114 	bool			mIsScreenShotCapruted; // check if the screenshot captured is valid
       
   115 	QVariantHash	mScreenShot; // screenshot
   105 };
   116 };
   106 
   117 
   107 #endif // NOTESMAINVIEW_H
   118 #endif // NOTESMAINVIEW_H
   108 
   119 
   109 // End of file	--Don't remove this.
   120 // End of file	--Don't remove this.