summaryrefslogtreecommitdiff
path: root/core/pim/datebook2/show.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/datebook2/show.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook2/show.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/core/pim/datebook2/show.cpp b/core/pim/datebook2/show.cpp
new file mode 100644
index 0000000..ca06394
--- a/dev/null
+++ b/core/pim/datebook2/show.cpp
@@ -0,0 +1,25 @@
+#include "mainwindow.h"
+#include "show.h"
+
+using namespace Datebook;
+
+Show::Show( MainWindow* win )
+ : m_win(win ) {
+}
+Show::~Show() {
+}
+void Show::hideMe() {
+ m_win->hideShow();
+}
+
+TextShow::TextShow( QWidget* parent, MainWindow* )
+ : QTextView( parent ){
+}
+TextShow::~TextShow() {
+}
+QWidget* TextShow::widget() {
+ return this;
+}
+void TextShow::show(const OEvent& ev) {
+ setText( ev.toRichText() );
+}