author | zecke <zecke> | 2003-02-23 21:27:08 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-02-23 21:27:08 (UTC) |
commit | 041eda0d7482d60cd67731b81fd36104fcd3120f (patch) (unidiff) | |
tree | c7bc7730b9e76e22f828291d404821f7bd922d6f /core/pim/datebook2/show.cpp | |
parent | a195865dfdb03b4c7c972acfc8cfd87743ab3e6f (diff) | |
download | opie-041eda0d7482d60cd67731b81fd36104fcd3120f.zip opie-041eda0d7482d60cd67731b81fd36104fcd3120f.tar.gz opie-041eda0d7482d60cd67731b81fd36104fcd3120f.tar.bz2 |
Implement some of the new framework
-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 @@ | |||
1 | #include "mainwindow.h" | ||
2 | #include "show.h" | ||
3 | |||
4 | using namespace Datebook; | ||
5 | |||
6 | Show::Show( MainWindow* win ) | ||
7 | : m_win(win ) { | ||
8 | } | ||
9 | Show::~Show() { | ||
10 | } | ||
11 | void Show::hideMe() { | ||
12 | m_win->hideShow(); | ||
13 | } | ||
14 | |||
15 | TextShow::TextShow( QWidget* parent, MainWindow* ) | ||
16 | : QTextView( parent ){ | ||
17 | } | ||
18 | TextShow::~TextShow() { | ||
19 | } | ||
20 | QWidget* TextShow::widget() { | ||
21 | return this; | ||
22 | } | ||
23 | void TextShow::show(const OEvent& ev) { | ||
24 | setText( ev.toRichText() ); | ||
25 | } | ||