author | zecke <zecke> | 2002-10-07 11:39:30 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-07 11:39:30 (UTC) |
commit | f11d4bda64b58abfebf77485d5d77143a10dc8c9 (patch) (unidiff) | |
tree | a4e80550c4abe867303553de608316941dd943f1 /core/pim/todo/textviewshow.cpp | |
parent | c2cd5470fa3ec69394fa65ad16ab29a6cadab56f (diff) | |
download | opie-f11d4bda64b58abfebf77485d5d77143a10dc8c9.zip opie-f11d4bda64b58abfebf77485d5d77143a10dc8c9.tar.gz opie-f11d4bda64b58abfebf77485d5d77143a10dc8c9.tar.bz2 |
Re add files
for todo
Diffstat (limited to 'core/pim/todo/textviewshow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/textviewshow.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/core/pim/todo/textviewshow.cpp b/core/pim/todo/textviewshow.cpp new file mode 100644 index 0000000..24c8c0e --- a/dev/null +++ b/core/pim/todo/textviewshow.cpp | |||
@@ -0,0 +1,19 @@ | |||
1 | #include "textviewshow.h" | ||
2 | |||
3 | using namespace Todo; | ||
4 | |||
5 | TextViewShow::TextViewShow( QWidget* parent) | ||
6 | : QTextView( parent ), TodoShow() { | ||
7 | |||
8 | } | ||
9 | TextViewShow::~TextViewShow() { | ||
10 | } | ||
11 | QString TextViewShow::type()const { | ||
12 | return QString::fromLatin1("TextViewShow"); | ||
13 | } | ||
14 | void TextViewShow::slotShow( const OTodo& ev ) { | ||
15 | setText( ev.toRichText() ); | ||
16 | } | ||
17 | QWidget* TextViewShow::widget() { | ||
18 | return this; | ||
19 | } | ||