summaryrefslogtreecommitdiff
path: root/core/pim/datebook2/show.h
Unidiff
Diffstat (limited to 'core/pim/datebook2/show.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook2/show.h15
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
@@ -2,6 +2,7 @@
2#define OPIE_DATEBOOK_SHOW_H 2#define OPIE_DATEBOOK_SHOW_H
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>
7 8
@@ -25,7 +26,7 @@ namespace Datebook {
25 /** 26 /**
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 /**
31 * the Widget 32 * the Widget
@@ -38,6 +39,18 @@ namespace Datebook {
38 */ 39 */
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}
43 56