From 986afbabdd7c291f2fcbecd865e8c7075623bbf8 Mon Sep 17 00:00:00 2001 From: zecke Date: Tue, 11 Feb 2003 18:42:42 +0000 Subject: Add switching the views with the ActionKey.. --- (limited to 'core/pim/todo/todoshow.cpp') 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(); +} -- cgit v0.9.0.2