summaryrefslogtreecommitdiff
path: root/core/pim/datebook2/show.cpp
blob: ca0639496effff0520a26726b5c5b29f69a6a595 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "mainwindow.h"
#include "show.h"

using namespace Datebook;

Show::Show( MainWindow* win )
    : m_win(win ) {
}
Show::~Show() {
}
void Show::hideMe() {
    m_win->hideShow();
}

TextShow::TextShow( QWidget* parent, MainWindow* )
    : QTextView( parent ){
}
TextShow::~TextShow() {
}
QWidget* TextShow::widget() {
    return this;
}
void TextShow::show(const OEvent& ev) {
    setText( ev.toRichText() );
}