-rw-r--r-- | core/pim/datebook2/show.cpp | 25 |
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() ); +} |