From 041eda0d7482d60cd67731b81fd36104fcd3120f Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 23 Feb 2003 21:27:08 +0000 Subject: Implement some of the new framework --- (limited to 'core/pim/datebook2/show.cpp') 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() ); +} -- cgit v0.9.0.2