notes/notesui/notesviews/inc/notesmainview.h
changeset 81 ce92091cbd61
parent 45 b6db4fd4947b
child 83 5aadd1120515
equal deleted inserted replaced
75:7ac58b2aae6f 81:ce92091cbd61
    39 class NotesDocLoader;
    39 class NotesDocLoader;
    40 class AgendaUtil;
    40 class AgendaUtil;
    41 class NotesSortFilterProxyModel;
    41 class NotesSortFilterProxyModel;
    42 class NotesEditor;
    42 class NotesEditor;
    43 class AgendaEventViewer;
    43 class AgendaEventViewer;
       
    44 class AfActivityStorage;
    44 
    45 
    45 class NotesMainView : public HbView
    46 class NotesMainView : public HbView
    46 {
    47 {
    47 	Q_OBJECT
    48 	Q_OBJECT
    48 
    49 
    57 	NOTESVIEWS_EXPORT void updateTitle();
    58 	NOTESVIEWS_EXPORT void updateTitle();
    58 	NOTESVIEWS_EXPORT void captureScreenShot(bool captureScreenShot = false);
    59 	NOTESVIEWS_EXPORT void captureScreenShot(bool captureScreenShot = false);
    59 
    60 
    60 signals:
    61 signals:
    61 	void deleteEntry(ulong entryId);
    62 	void deleteEntry(ulong entryId);
    62 
    63 private :
       
    64 	/*
       
    65 	 * remove the activity
       
    66 	 */
       
    67 	bool removeActivity();
    63 private slots:
    68 private slots:
    64 	void createNewNote();
    69 	void createNewNote();
    65 	void handleItemReleased(const QModelIndex &index);
    70 	void handleItemReleased(const QModelIndex &index);
    66 	void handleItemLongPressed(
    71 	void handleItemLongPressed(
    67 			HbAbstractViewItem *item, const QPointF &coords);
    72 			HbAbstractViewItem *item, const QPointF &coords);
   111 	NotesEditor *mNotesEditor;
   116 	NotesEditor *mNotesEditor;
   112 	AgendaEventViewer *mAgendaEventViewer;
   117 	AgendaEventViewer *mAgendaEventViewer;
   113 	bool 			mIsLongTop;
   118 	bool 			mIsLongTop;
   114 	bool			mIsScreenShotCapruted; // check if the screenshot captured is valid
   119 	bool			mIsScreenShotCapruted; // check if the screenshot captured is valid
   115 	QVariantHash	mScreenShot; // screenshot
   120 	QVariantHash	mScreenShot; // screenshot
       
   121 	AfActivityStorage *mActivityStorage;;
   116 };
   122 };
   117 
   123 
   118 #endif // NOTESMAINVIEW_H
   124 #endif // NOTESMAINVIEW_H
   119 
   125 
   120 // End of file	--Don't remove this.
   126 // End of file	--Don't remove this.