summaryrefslogtreecommitdiff
path: root/core/pim/todo/todoshow.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/todo/todoshow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/todoshow.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/pim/todo/todoshow.cpp b/core/pim/todo/todoshow.cpp
index c84a08f..4dbc9aa 100644
--- a/core/pim/todo/todoshow.cpp
+++ b/core/pim/todo/todoshow.cpp
@@ -1,9 +1,16 @@
+
+#include "mainwindow.h"
#include "todoshow.h"
using namespace Todo;
-TodoShow::TodoShow() {
+TodoShow::TodoShow(MainWindow* win) {
+ m_win = win;
}
TodoShow::~TodoShow() {
}
+void TodoShow::escapeView() {
+ if (m_win )
+ m_win->slotReturnFromView();
+}