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
@@ -4,2 +4,3 @@
#include <qstring.h>
+#include <qtextview.h>
@@ -27,3 +28,3 @@ namespace Datebook {
*/
- void show(const OEvent& str);
+ virtual void show(const OEvent& str) = 0;
@@ -40,2 +41,14 @@ namespace Datebook {
+ private:
+ MainWindow* m_win;
+ };
+ class TextShow : public QTextView {
+ Q_OBJECT
+ public:
+ TextShow( QWidget* parent, MainWindow* win );
+ ~TextShow();
+
+ QWidget* widget();
+ void show(const OEvent&);
+
};