summaryrefslogtreecommitdiff
path: root/core/pim/datebook2/show.cpp
authorzecke <zecke>2003-02-23 21:27:08 (UTC)
committer zecke <zecke>2003-02-23 21:27:08 (UTC)
commit041eda0d7482d60cd67731b81fd36104fcd3120f (patch) (side-by-side diff)
treec7bc7730b9e76e22f828291d404821f7bd922d6f /core/pim/datebook2/show.cpp
parenta195865dfdb03b4c7c972acfc8cfd87743ab3e6f (diff)
downloadopie-041eda0d7482d60cd67731b81fd36104fcd3120f.zip
opie-041eda0d7482d60cd67731b81fd36104fcd3120f.tar.gz
opie-041eda0d7482d60cd67731b81fd36104fcd3120f.tar.bz2
Implement some of the new framework
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() );
+}