summaryrefslogtreecommitdiffabout
path: root/korganizer/kotodoview.h
Side-by-side diff
Diffstat (limited to 'korganizer/kotodoview.h') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/kotodoview.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/korganizer/kotodoview.h b/korganizer/kotodoview.h
index 0c08677..5ca0362 100644
--- a/korganizer/kotodoview.h
+++ b/korganizer/kotodoview.h
@@ -42,8 +42,9 @@
#include "kotodoviewitem.h"
#include "koprefs.h"
#include "koglobals.h"
+#include "datenavigator.h"
class QDragEnterEvent;
class QDragMoveEvent;
class QDragLeaveEvent;
@@ -117,9 +118,8 @@ class KOTodoView : public KOrg::BaseView
return q;}
/** Return number of shown dates. TodoView does not show dates, */
int currentDateCount() { return 0; }
- void setNarrow();
void printPreview(CalPrinter *calPrinter, const QDate &fd, const QDate &td);
void setDocumentId( const QString & );
@@ -127,8 +127,9 @@ class KOTodoView : public KOrg::BaseView
void saveLayout(KConfig *config, const QString &group) const;
void restoreLayout(KConfig *config, const QString &group);
/** Create a popup menu to set categories */
QPopupMenu *getCategoryPopupMenu (KOTodoViewItem *todoItem);
+ void setNavigator( DateNavigator* nav ) {mNavigator = nav;}
public slots:
void updateView();
void updateConfig();
@@ -161,8 +162,9 @@ class KOTodoView : public KOrg::BaseView
void changedCategories(int);
void purgeCompleted();
void toggleCompleted();
+ void toggleRunning();
void toggleQuickTodo();
void updateTodo( Todo *, int );
void itemClicked(QListViewItem *);
@@ -206,8 +208,10 @@ class KOTodoView : public KOrg::BaseView
void setTodoModified( Todo* );
QMap<Todo *,KOTodoViewItem *>::ConstIterator insertTodoItem(Todo *todo);
void restoreItemState( QListViewItem * );
+ bool checkTodo( Todo * );
+
KOTodoListView *mTodoListView;
QPopupMenu *mItemPopupMenu;
QPopupMenu *mPopupMenu;
QPopupMenu *mPriorityPopupMenu;
@@ -228,7 +232,8 @@ class KOTodoView : public KOrg::BaseView
bool mBlockUpdate;
void todoModified(Todo *, int );
void keyPressEvent ( QKeyEvent * ) ;
KOTodoViewItem * pendingSubtodo;
+ DateNavigator* mNavigator;
};
#endif