summaryrefslogtreecommitdiff
path: root/core/pim/todo/todoshow.h
Unidiff
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 @@
22    --        :-=` this library; see the file COPYING.LIB. 22    --        :-=` this library; see the file COPYING.LIB.
23 If not, write to the Free Software Foundation, 23 If not, write to the Free Software Foundation,
24 Inc., 59 Temple Place - Suite 330, 24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA. 25 Boston, MA 02111-1307, USA.
26 26
27*/ 27*/
28#ifndef TODO_TODO_SHOW_H 28#ifndef TODO_TODO_SHOW_H
29#define TODO_TODO_SHOW_H 29#define TODO_TODO_SHOW_H
30 30
31#include <qstring.h> 31#include <qstring.h>
32#include <qwidget.h> 32#include <qwidget.h>
33 33
34#include <opie/otodo.h> 34#include <opie2/opimtodo.h>
35
36using Opie::OPimTodo;
35 37
36namespace Todo { 38namespace Todo {
37 class MainWindow; 39 class MainWindow;
38 /** 40 /**
39 * TodoShow is the baseclass of 41 * TodoShow is the baseclass of
40 * of all TodoShows. 42 * of all TodoShows.
41 * The first implementation is a QTextView 43 * The first implementation is a QTextView
42 * implementation showing the Todo as richtext 44 * implementation showing the Todo as richtext
43 */ 45 */
44 class TodoShow { 46 class TodoShow {
45 public: 47 public:
46 TodoShow( MainWindow* win); 48 TodoShow( MainWindow* win);
47 virtual ~TodoShow(); 49 virtual ~TodoShow();
48 virtual QString type()const = 0; 50 virtual QString type()const = 0;
49 virtual void slotShow( const OTodo& ev ) = 0; 51 virtual void slotShow( const OPimTodo& ev ) = 0;
50 virtual QWidget* widget() = 0; 52 virtual QWidget* widget() = 0;
51 protected: 53 protected:
52 void escapeView(); 54 void escapeView();
53 void showNext(); 55 void showNext();
54 void showPrev(); 56 void showPrev();
55 private: 57 private:
56 MainWindow *m_win; 58 MainWindow *m_win;
57 }; 59 };
58}; 60};
59 61
60#endif 62#endif