notes/notesui/notesviews/inc/notesfavoriteview.h
changeset 45 b6db4fd4947b
parent 23 fd30d51f876b
--- a/notes/notesui/notesviews/inc/notesfavoriteview.h	Mon May 03 12:30:32 2010 +0300
+++ b/notes/notesui/notesviews/inc/notesfavoriteview.h	Mon Jun 28 15:22:02 2010 +0530
@@ -32,6 +32,7 @@
 class HbListView;
 class HbAction;
 class HbAbstractViewItem;
+class HbLabel;
 class NotesModel;
 class NotesDocLoader;
 class AgendaUtil;
@@ -49,6 +50,7 @@
 public:
 	NOTESVIEWS_EXPORT void setupView(
 			NotesAppControllerIf &controllerIf, NotesDocLoader *docLoader);
+	NOTESVIEWS_EXPORT void updateFavoriteView();
 
 signals:
 	void deleteEntry(ulong entryId);
@@ -67,7 +69,10 @@
 	void handleActionStateChanged();
 	void handleOrientationChanged(Qt::Orientation);
 	void openNote();
-
+	void selectedMenuAction(HbAction *action);
+	void handleMenuClosed();
+	void updateView(ulong id=0);
+	
 private:
 	HbListView *mListView;
 	HbAbstractViewItem *mSelectedItem;
@@ -79,7 +84,9 @@
 	HbAction *mRemoveFavoriteAction;
 	HbAction *mMarkTodoAction;
 	HbAction *mOpenAction;
-
+	
+	HbLabel *mEmptyListLabel;
+	
 	AgendaUtil *mAgendaUtil;
 
 	NotesAppControllerIf *mAppControllerIf;
@@ -87,6 +94,7 @@
 	NotesModel *mNotesModel;
 	NotesSortFilterProxyModel *mProxyModel;
 	NotesEditor *mNotesEditor;
+	bool mIsLongTop;
 };
 
 #endif // NOTESFAVORITEVIEW_H