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: |
67 void handleActionStateChanged(); |
69 void handleActionStateChanged(); |
68 void handleOrientationChanged(Qt::Orientation); |
70 void handleOrientationChanged(Qt::Orientation); |
69 void openNote(); |
71 void openNote(); |
70 void selectedMenuAction(HbAction *action); |
72 void selectedMenuAction(HbAction *action); |
71 void handleMenuClosed(); |
73 void handleMenuClosed(); |
72 |
74 void updateView(ulong id=0); |
|
75 |
73 private: |
76 private: |
74 HbListView *mListView; |
77 HbListView *mListView; |
75 HbAbstractViewItem *mSelectedItem; |
78 HbAbstractViewItem *mSelectedItem; |
76 |
79 |
77 HbAction *mAllNotesAction; |
80 HbAction *mAllNotesAction; |
79 HbAction *mAddNoteAction; |
82 HbAction *mAddNoteAction; |
80 HbAction *mDeleteAction; |
83 HbAction *mDeleteAction; |
81 HbAction *mRemoveFavoriteAction; |
84 HbAction *mRemoveFavoriteAction; |
82 HbAction *mMarkTodoAction; |
85 HbAction *mMarkTodoAction; |
83 HbAction *mOpenAction; |
86 HbAction *mOpenAction; |
84 |
87 |
|
88 HbLabel *mEmptyListLabel; |
|
89 |
85 AgendaUtil *mAgendaUtil; |
90 AgendaUtil *mAgendaUtil; |
86 |
91 |
87 NotesAppControllerIf *mAppControllerIf; |
92 NotesAppControllerIf *mAppControllerIf; |
88 NotesDocLoader *mDocLoader; |
93 NotesDocLoader *mDocLoader; |
89 NotesModel *mNotesModel; |
94 NotesModel *mNotesModel; |