summaryrefslogtreecommitdiff
path: root/core/pim/todo/todoshow.h
Side-by-side diff
Diffstat (limited to 'core/pim/todo/todoshow.h') (more/less context) (show 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
@@ -35,4 +35,5 @@
namespace Todo {
+ class MainWindow;
/**
* TodoShow is the baseclass of
@@ -43,9 +44,13 @@ 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;
};
};