summaryrefslogtreecommitdiff
path: root/core/pim/todo/textviewshow.cpp
blob: 24c8c0e7615776a01a0f2a4d705594f7b4647c20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
}