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 @@ +#include "textviewshow.h" + +using namespace Todo; + +TextViewShow::TextViewShow( QWidget* parent) + : QTextView( parent ), TodoShow() { + +} +TextViewShow::~TextViewShow() { +} +QString TextViewShow::type()const { + return QString::fromLatin1("TextViewShow"); +} +void TextViewShow::slotShow( const OTodo& ev ) { + setText( ev.toRichText() ); +} +QWidget* TextViewShow::widget() { + return this; +} |