Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

show.h

Go to the documentation of this file.
00001 #ifndef OPIE_DATEBOOK_SHOW_H
00002 #define OPIE_DATEBOOK_SHOW_H
00003 
00004 #include <qstring.h>
00005 #include <qtextview.h>
00006 
00007 #include <opie/oevent.h>
00008 
00009 namespace Datebook {
00010     class MainWindow;
00011 
00018     class Show {
00019     public:
00023         Show(MainWindow* );
00024         virtual ~Show();
00025 
00029         virtual void show(const OEvent& str) = 0;
00030 
00034         virtual QWidget* widget() = 0;
00035     protected:
00040         void  hideMe();
00041 
00042     private:
00043         MainWindow* m_win;
00044     };
00045     class TextShow : public QTextView {
00046         Q_OBJECT
00047     public:
00048         TextShow( QWidget* parent, MainWindow* win );
00049         ~TextShow();
00050 
00051         QWidget* widget();
00052         void show(const OEvent&);
00053 
00054     };
00055 }
00056 
00057 #endif

Generated on Sat Nov 5 16:15:53 2005 for OPIE by  doxygen 1.4.2