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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/pim/todo/todoshow.h b/core/pim/todo/todoshow.h
index 2babe93..1eeadf8 100644
--- a/core/pim/todo/todoshow.h
+++ b/core/pim/todo/todoshow.h
@@ -22,39 +22,41 @@
    --        :-=` this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#ifndef TODO_TODO_SHOW_H
#define TODO_TODO_SHOW_H
#include <qstring.h>
#include <qwidget.h>
-#include <opie/otodo.h>
+#include <opie2/opimtodo.h>
+
+using Opie::OPimTodo;
namespace Todo {
class MainWindow;
/**
* TodoShow is the baseclass of
* of all TodoShows.
* The first implementation is a QTextView
* implementation showing the Todo as richtext
*/
class TodoShow {
public:
TodoShow( MainWindow* win);
virtual ~TodoShow();
virtual QString type()const = 0;
- virtual void slotShow( const OTodo& ev ) = 0;
+ virtual void slotShow( const OPimTodo& ev ) = 0;
virtual QWidget* widget() = 0;
protected:
void escapeView();
void showNext();
void showPrev();
private:
MainWindow *m_win;
};
};
#endif