summaryrefslogtreecommitdiff
path: root/core/pim/datebook2/show.h
Side-by-side diff
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 @@
#define OPIE_DATEBOOK_SHOW_H
#include <qstring.h>
+#include <qtextview.h>
#include <opie/oevent.h>
@@ -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&);
+
};
}