equal
deleted
inserted
replaced
30 // Forward declarations |
30 // Forward declarations |
31 class QGraphicsWidget; |
31 class QGraphicsWidget; |
32 class HbListView; |
32 class HbListView; |
33 class HbAction; |
33 class HbAction; |
34 class HbAbstractViewItem; |
34 class HbAbstractViewItem; |
|
35 class HbLabel; |
35 class NotesModel; |
36 class NotesModel; |
36 class NotesDocLoader; |
37 class NotesDocLoader; |
37 class AgendaUtil; |
38 class AgendaUtil; |
38 class NotesSortFilterProxyModel; |
39 class NotesSortFilterProxyModel; |
39 class NotesEditor; |
40 class NotesEditor; |
47 NOTESVIEWS_EXPORT virtual ~NotesFavoriteView(); |
48 NOTESVIEWS_EXPORT virtual ~NotesFavoriteView(); |
48 |
49 |
49 public: |
50 public: |
50 NOTESVIEWS_EXPORT void setupView( |
51 NOTESVIEWS_EXPORT void setupView( |
51 NotesAppControllerIf &controllerIf, NotesDocLoader *docLoader); |
52 NotesAppControllerIf &controllerIf, NotesDocLoader *docLoader); |
|
53 NOTESVIEWS_EXPORT void updateFavoriteView(); |
52 |
54 |
53 signals: |
55 signals: |
54 void deleteEntry(ulong entryId); |
56 void deleteEntry(ulong entryId); |
55 |
57 |
56 private slots: |
58 private slots: |
65 void displayCollectionView(); |
67 void displayCollectionView(); |
66 void displayAllNotesView(); |
68 void displayAllNotesView(); |
67 void handleActionStateChanged(); |
69 void handleActionStateChanged(); |
68 void handleOrientationChanged(Qt::Orientation); |
70 void handleOrientationChanged(Qt::Orientation); |
69 void openNote(); |
71 void openNote(); |
70 |
72 void selectedMenuAction(HbAction *action); |
|
73 void handleMenuClosed(); |
|
74 void updateView(ulong id=0); |
|
75 |
71 private: |
76 private: |
72 HbListView *mListView; |
77 HbListView *mListView; |
73 HbAbstractViewItem *mSelectedItem; |
78 HbAbstractViewItem *mSelectedItem; |
74 |
79 |
75 HbAction *mAllNotesAction; |
80 HbAction *mAllNotesAction; |
77 HbAction *mAddNoteAction; |
82 HbAction *mAddNoteAction; |
78 HbAction *mDeleteAction; |
83 HbAction *mDeleteAction; |
79 HbAction *mRemoveFavoriteAction; |
84 HbAction *mRemoveFavoriteAction; |
80 HbAction *mMarkTodoAction; |
85 HbAction *mMarkTodoAction; |
81 HbAction *mOpenAction; |
86 HbAction *mOpenAction; |
82 |
87 |
|
88 HbLabel *mEmptyListLabel; |
|
89 |
83 AgendaUtil *mAgendaUtil; |
90 AgendaUtil *mAgendaUtil; |
84 |
91 |
85 NotesAppControllerIf *mAppControllerIf; |
92 NotesAppControllerIf *mAppControllerIf; |
86 NotesDocLoader *mDocLoader; |
93 NotesDocLoader *mDocLoader; |
87 NotesModel *mNotesModel; |
94 NotesModel *mNotesModel; |
88 NotesSortFilterProxyModel *mProxyModel; |
95 NotesSortFilterProxyModel *mProxyModel; |
89 NotesEditor *mNotesEditor; |
96 NotesEditor *mNotesEditor; |
|
97 bool mIsLongTop; |
90 }; |
98 }; |
91 |
99 |
92 #endif // NOTESFAVORITEVIEW_H |
100 #endif // NOTESFAVORITEVIEW_H |
93 |
101 |
94 // End of file --Don't remove this. |
102 // End of file --Don't remove this. |