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 ~NotesNoteView(); |
48 NOTESVIEWS_EXPORT virtual ~NotesNoteView(); |
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 updateNoteView(); |
|
54 |
52 |
55 |
53 signals: |
56 signals: |
54 void deleteEntry(ulong entryId); |
57 void deleteEntry(ulong entryId); |
55 |
58 |
56 private slots: |
59 private slots: |
67 void handleActionStateChanged(); |
70 void handleActionStateChanged(); |
68 void handleOrientationChanged(Qt::Orientation); |
71 void handleOrientationChanged(Qt::Orientation); |
69 void openNote(); |
72 void openNote(); |
70 void selectedMenuAction(HbAction *action); |
73 void selectedMenuAction(HbAction *action); |
71 void handleMenuClosed(); |
74 void handleMenuClosed(); |
|
75 void updateView(ulong id=0); |
72 |
76 |
73 private: |
77 private: |
74 HbListView *mListView; |
78 HbListView *mListView; |
75 HbAbstractViewItem *mSelectedItem; |
79 HbAbstractViewItem *mSelectedItem; |
76 |
80 |
81 HbAction *mDeleteAction; |
85 HbAction *mDeleteAction; |
82 HbAction *mMakeFavouriteAction; |
86 HbAction *mMakeFavouriteAction; |
83 HbAction *mMarkTodoAction; |
87 HbAction *mMarkTodoAction; |
84 HbAction *mOpenAction; |
88 HbAction *mOpenAction; |
85 |
89 |
|
90 HbLabel *mEmptyListLabel; |
|
91 |
86 AgendaUtil *mAgendaUtil; |
92 AgendaUtil *mAgendaUtil; |
87 |
93 |
88 NotesAppControllerIf *mAppControllerIf; |
94 NotesAppControllerIf *mAppControllerIf; |
89 NotesDocLoader *mDocLoader; |
95 NotesDocLoader *mDocLoader; |
90 NotesModel *mNotesModel; |
96 NotesModel *mNotesModel; |