summaryrefslogtreecommitdiff
path: root/core/pim/todo/todoshow.h
Side-by-side diff
Diffstat (limited to 'core/pim/todo/todoshow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/todoshow.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/pim/todo/todoshow.h b/core/pim/todo/todoshow.h
index 198e9ae..7267b13 100644
--- a/core/pim/todo/todoshow.h
+++ b/core/pim/todo/todoshow.h
@@ -34,6 +34,7 @@
#include <opie/otodo.h>
namespace Todo {
+ class MainWindow;
/**
* TodoShow is the baseclass of
* of all TodoShows.
@@ -42,11 +43,15 @@ namespace Todo {
*/
class TodoShow {
public:
- TodoShow();
+ TodoShow( MainWindow* win);
virtual ~TodoShow();
virtual QString type()const = 0;
virtual void slotShow( const OTodo& ev ) = 0;
virtual QWidget* widget() = 0;
+ protected:
+ void escapeView();
+ private:
+ MainWindow *m_win;
};
};