-rw-r--r-- | core/pim/datebook2/show.h | 44 |
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 @@ +#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 |