From 041eda0d7482d60cd67731b81fd36104fcd3120f Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 23 Feb 2003 21:27:08 +0000 Subject: Implement some of the new framework --- (limited to 'core/pim/datebook2/show.h') diff --git a/core/pim/datebook2/show.h b/core/pim/datebook2/show.h index 37d22fe..72775a9 100644 --- a/core/pim/datebook2/show.h +++ b/core/pim/datebook2/show.h @@ -2,6 +2,7 @@ #define OPIE_DATEBOOK_SHOW_H #include +#include #include @@ -25,7 +26,7 @@ namespace Datebook { /** * show the OEvent */ - void show(const OEvent& str); + virtual void show(const OEvent& str) = 0; /** * the Widget @@ -38,6 +39,18 @@ namespace Datebook { */ void hideMe(); + private: + MainWindow* m_win; + }; + class TextShow : public QTextView { + Q_OBJECT + public: + TextShow( QWidget* parent, MainWindow* win ); + ~TextShow(); + + QWidget* widget(); + void show(const OEvent&); + }; } -- cgit v0.9.0.2