-rw-r--r-- | core/pim/datebook2/show.h | 15 |
1 files changed, 14 insertions, 1 deletions
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 | |||
@@ -3,4 +3,5 @@ | |||
3 | 3 | ||
4 | #include <qstring.h> | 4 | #include <qstring.h> |
5 | #include <qtextview.h> | ||
5 | 6 | ||
6 | #include <opie/oevent.h> | 7 | #include <opie/oevent.h> |
@@ -26,5 +27,5 @@ namespace Datebook { | |||
26 | * show the OEvent | 27 | * show the OEvent |
27 | */ | 28 | */ |
28 | void show(const OEvent& str); | 29 | virtual void show(const OEvent& str) = 0; |
29 | 30 | ||
30 | /** | 31 | /** |
@@ -39,4 +40,16 @@ namespace Datebook { | |||
39 | void hideMe(); | 40 | void hideMe(); |
40 | 41 | ||
42 | private: | ||
43 | MainWindow* m_win; | ||
44 | }; | ||
45 | class TextShow : public QTextView { | ||
46 | Q_OBJECT | ||
47 | public: | ||
48 | TextShow( QWidget* parent, MainWindow* win ); | ||
49 | ~TextShow(); | ||
50 | |||
51 | QWidget* widget(); | ||
52 | void show(const OEvent&); | ||
53 | |||
41 | }; | 54 | }; |
42 | } | 55 | } |