Diffstat (limited to 'core/pim/todo/textviewshow.cpp') (more/less context) (show 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 | } | ||