summaryrefslogtreecommitdiff
path: root/core/pim/datebook2/show.h
Unidiff
Diffstat (limited to 'core/pim/datebook2/show.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook2/show.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/core/pim/datebook2/show.h b/core/pim/datebook2/show.h
new file mode 100644
index 0000000..37d22fe
--- a/dev/null
+++ b/core/pim/datebook2/show.h
@@ -0,0 +1,44 @@
1#ifndef OPIE_DATEBOOK_SHOW_H
2#define OPIE_DATEBOOK_SHOW_H
3
4#include <qstring.h>
5
6#include <opie/oevent.h>
7
8namespace Datebook {
9 class MainWindow;
10
11 /**
12 * here is the show
13 * The show interface will
14 * show the richtext information
15 * of the OEvent
16 */
17 class Show {
18 public:
19 /**
20 * mainwindow as parent
21 */
22 Show(MainWindow* );
23 virtual ~Show();
24
25 /**
26 * show the OEvent
27 */
28 void show(const OEvent& str);
29
30 /**
31 * the Widget
32 */
33 virtual QWidget* widget() = 0;
34 protected:
35 /**
36 * the show is over
37 * ask the mainwindow to hide
38 */
39 void hideMe();
40
41 };
42}
43
44#endif