notes/notesui/notesviews/inc/notestodoview.h
changeset 45 b6db4fd4947b
parent 23 fd30d51f876b
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
    30 class QGraphicsWidget;
    30 class QGraphicsWidget;
    31 class HbListView;
    31 class HbListView;
    32 class HbAction;
    32 class HbAction;
    33 class HbAbstractViewItem;
    33 class HbAbstractViewItem;
    34 class HbGroupBox;
    34 class HbGroupBox;
       
    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;
    48 	NOTESVIEWS_EXPORT virtual ~NotesTodoView();
    49 	NOTESVIEWS_EXPORT virtual ~NotesTodoView();
    49 
    50 
    50 public:
    51 public:
    51 	NOTESVIEWS_EXPORT void setupView(
    52 	NOTESVIEWS_EXPORT void setupView(
    52 			NotesAppControllerIf &controllerIf, NotesDocLoader *docLoader);
    53 			NotesAppControllerIf &controllerIf, NotesDocLoader *docLoader);
    53 	
    54 	NOTESVIEWS_EXPORT void updateTitle();
       
    55 
    54 signals:
    56 signals:
    55 	void deleteEntry(ulong entryId);
    57 	void deleteEntry(ulong entryId);
    56 
    58 
    57 private slots:
    59 private slots:
    58 	void createNewTodo();
    60 	void createNewTodo();
    69 	void handleViewingCompleted();
    71 	void handleViewingCompleted();
    70 	void handleActionStateChanged();
    72 	void handleActionStateChanged();
    71 	void handleOrientationChanged(Qt::Orientation);
    73 	void handleOrientationChanged(Qt::Orientation);
    72 	void updateSubTitle(ulong id=0);
    74 	void updateSubTitle(ulong id=0);
    73 	void openTodo();
    75 	void openTodo();
       
    76 	void selectedMenuAction(HbAction *action);
       
    77 	void handleMenuClosed();
    74 
    78 
    75 private:
    79 private:
    76 	HbListView *mListView;
    80 	HbListView *mListView;
    77 	HbAbstractViewItem *mSelectedItem;
    81 	HbAbstractViewItem *mSelectedItem;
    78 
    82 
    83 	HbAction *mDeleteAction;
    87 	HbAction *mDeleteAction;
    84 	HbAction *mTodoStatusAction;
    88 	HbAction *mTodoStatusAction;
    85 	HbAction *mOpenAction;
    89 	HbAction *mOpenAction;
    86 
    90 
    87 	HbGroupBox *mSubTitle;
    91 	HbGroupBox *mSubTitle;
    88 
    92 	HbLabel *mEmptyListLabel;
       
    93 	
    89 	AgendaUtil *mAgendaUtil;
    94 	AgendaUtil *mAgendaUtil;
    90 
    95 
    91 	NotesAppControllerIf *mAppControllerIf;
    96 	NotesAppControllerIf *mAppControllerIf;
    92 	NotesDocLoader *mDocLoader;
    97 	NotesDocLoader *mDocLoader;
    93 	NotesModel *mNotesModel;
    98 	NotesModel *mNotesModel;
    94 	NotesSortFilterProxyModel *mProxyModel;
    99 	NotesSortFilterProxyModel *mProxyModel;
    95 	NotesEditor *mNotesEditor;
   100 	NotesEditor *mNotesEditor;
    96 	AgendaEventViewer *mAgendaEventViewer;
   101 	AgendaEventViewer *mAgendaEventViewer;
       
   102 	bool mIsLongTop;
    97 };
   103 };
    98 
   104 
    99 #endif // NOTESTODOVIEW_H
   105 #endif // NOTESTODOVIEW_H
   100 
   106 
   101 // End of file	--Don't remove this.
   107 // End of file	--Don't remove this.