summaryrefslogtreecommitdiff
path: root/core/pim/datebook2/show.cpp
Unidiff
Diffstat (limited to 'core/pim/datebook2/show.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/datebook2/show.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/core/pim/datebook2/show.cpp b/core/pim/datebook2/show.cpp
new file mode 100644
index 0000000..ca06394
--- a/dev/null
+++ b/core/pim/datebook2/show.cpp
@@ -0,0 +1,25 @@
1#include "mainwindow.h"
2#include "show.h"
3
4using namespace Datebook;
5
6Show::Show( MainWindow* win )
7 : m_win(win ) {
8}
9Show::~Show() {
10}
11void Show::hideMe() {
12 m_win->hideShow();
13}
14
15TextShow::TextShow( QWidget* parent, MainWindow* )
16 : QTextView( parent ){
17}
18TextShow::~TextShow() {
19}
20QWidget* TextShow::widget() {
21 return this;
22}
23void TextShow::show(const OEvent& ev) {
24 setText( ev.toRichText() );
25}