summaryrefslogtreecommitdiff
path: root/core/pim/datebook/datebookdayallday.h
Side-by-side diff
Diffstat (limited to 'core/pim/datebook/datebookdayallday.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/datebookdayallday.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/pim/datebook/datebookdayallday.h b/core/pim/datebook/datebookdayallday.h
index c781785..f5867e5 100644
--- a/core/pim/datebook/datebookdayallday.h
+++ b/core/pim/datebook/datebookdayallday.h
@@ -1,43 +1,45 @@
#ifndef DATEBOOKDAYALLDAYBASE_H
#define DATEBOOKDAYALLDAYBASE_H
#include <qvariant.h>
#include <qframe.h>
+#include <qscrollview.h>
#include <qlabel.h>
#include <qlist.h>
#include <qpe/event.h>
class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class DatebookAlldayDisp;
class DatebookEventDesc;
class DateBookDB;
-class DatebookdayAllday : public QWidget
+class DatebookdayAllday : public QScrollView
{
Q_OBJECT
public:
DatebookdayAllday(DateBookDB* db,
QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
~DatebookdayAllday();
DatebookAlldayDisp* addEvent(const EffectiveEvent&e);
const unsigned int items()const{return item_count;}
public slots:
void removeAllEvents();
protected:
+ QFrame * m_MainFrame;
QVBoxLayout* datebookdayalldayLayout;
DatebookEventDesc * lblDesc;
unsigned int item_count;
QList<DatebookAlldayDisp> subWidgets;
DateBookDB *dateBook;
};
class DatebookAlldayDisp : public QLabel
{
Q_OBJECT
public: