00001 #include "mainwindow.h" 00002 #include "show.h" 00003 00004 using namespace Datebook; 00005 00006 Show::Show( MainWindow* win ) 00007 : m_win(win ) { 00008 } 00009 Show::~Show() { 00010 } 00011 void Show::hideMe() { 00012 m_win->hideShow(); 00013 } 00014 00015 TextShow::TextShow( QWidget* parent, MainWindow* ) 00016 : QTextView( parent ){ 00017 } 00018 TextShow::~TextShow() { 00019 } 00020 QWidget* TextShow::widget() { 00021 return this; 00022 } 00023 void TextShow::show(const OEvent& ev) { 00024 setText( ev.toRichText() ); 00025 }
1.4.2