summaryrefslogtreecommitdiff
path: root/core/pim/datebook2/show.h
blob: 37d22fe98000e8cfffa8dd33c15f1d5fa906a8bc (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef OPIE_DATEBOOK_SHOW_H
#define OPIE_DATEBOOK_SHOW_H

#include <qstring.h>

#include <opie/oevent.h>

namespace Datebook {
    class MainWindow;

    /**
     * here is the show
     * The show interface will
     * show the richtext information
     * of the OEvent
     */
    class Show {
    public:
        /**
         * mainwindow as parent
         */
        Show(MainWindow* );
        virtual ~Show();

        /**
         * show the OEvent
         */
        void show(const OEvent& str);

        /**
         * the Widget
         */
        virtual QWidget* widget() = 0;
    protected:
        /**
         * the show is over
         * ask the mainwindow to hide
         */
        void  hideMe();

    };
}

#endif