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

datebookweeklstdblview.h

Go to the documentation of this file.
00001 #ifndef _DATEBOOKWEEKLSTDBLVIEW_H
00002 #define _DATEBOOKWEEKLSTDBLVIEW_H
00003 
00004 #include <qpe/event.h>
00005 
00006 #include <qwidget.h>
00007 #include <qvaluelist.h>
00008 #include <qdatetime.h>
00009 #include <qstring.h>
00010 
00011 class DateBookWeekLstView;
00012 class QHBoxLayout;
00013 
00014 class DateBookWeekLstDblView: public QWidget {
00015         Q_OBJECT
00016 public:
00017     DateBookWeekLstDblView(QValueList<EffectiveEvent> &ev1,
00018                QValueList<EffectiveEvent> &ev2,
00019                QDate &d, bool onM,
00020                QWidget* parent = 0, const char* name = 0,
00021                WFlags fl = 0 );
00022     DateBookWeekLstDblView(QValueList<EffectiveEvent> &ev1,
00023                QDate &d, bool onM,
00024                QWidget* parent = 0, const char* name = 0,
00025                WFlags fl = 0 );
00026     virtual ~DateBookWeekLstDblView();
00027     void setEvents(QValueList<EffectiveEvent> &ev1,QValueList<EffectiveEvent> &ev2,QDate &d, bool onM);
00028     void setEvents(QValueList<EffectiveEvent> &ev1,QDate &d, bool onM);
00029     void setRightEvents(QValueList<EffectiveEvent> &ev1,QDate &d, bool onM);
00030 
00031     bool toggleDoubleView(bool how);
00032 
00033 signals:
00034     void editEvent(const Event &e);
00035     void duplicateEvent(const Event &e);
00036     void removeEvent(const Event &e);
00037     void beamEvent(const Event &e);
00038     void redraw();
00039     void showDate(int y, int m, int d);
00040     void addEvent(const QDateTime &start, const QDateTime &stop,
00041           const QString &str, const QString &location);
00042 
00043 protected:
00044     QHBoxLayout*m_MainLayout;
00045     DateBookWeekLstView *leftView,*rightView;
00046 };
00047 
00048 #endif

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