summaryrefslogtreecommitdiff
path: root/core/pim/datebook/modules/weeklst/datebookweeklstview.h
authoralwin <alwin>2005-03-19 18:06:44 (UTC)
committer alwin <alwin>2005-03-19 18:06:44 (UTC)
commitff7fd64d755b2cc63f9944b1a17a6a2e186da0b6 (patch) (unidiff)
tree11c335300ae6e9dd55b62e5558e56a85222d3fb6 /core/pim/datebook/modules/weeklst/datebookweeklstview.h
parent93d0e2c50c24c518323d7926df37827d3b562a28 (diff)
downloadopie-ff7fd64d755b2cc63f9944b1a17a6a2e186da0b6.zip
opie-ff7fd64d755b2cc63f9944b1a17a6a2e186da0b6.tar.gz
opie-ff7fd64d755b2cc63f9944b1a17a6a2e186da0b6.tar.bz2
hopefull speedup the weeklistview.
deleting the main widget 4 times when date changed isn't that usefull. After 1.2 OPIE this view should completly rewritten or removed.
Diffstat (limited to 'core/pim/datebook/modules/weeklst/datebookweeklstview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/modules/weeklst/datebookweeklstview.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/core/pim/datebook/modules/weeklst/datebookweeklstview.h b/core/pim/datebook/modules/weeklst/datebookweeklstview.h
index 2428f1f..3d47842 100644
--- a/core/pim/datebook/modules/weeklst/datebookweeklstview.h
+++ b/core/pim/datebook/modules/weeklst/datebookweeklstview.h
@@ -11,2 +11,3 @@
11class QKeyEvent; 11class QKeyEvent;
12class QVBoxLayout;
12 13
@@ -16,6 +17,8 @@ class DateBookWeekLstView: public QWidget
16public: 17public:
17 DateBookWeekLstView(QValueList<EffectiveEvent> &ev, const QDate &d, bool onM, 18 DateBookWeekLstView(QValueList<EffectiveEvent> &ev, const QDate &d, bool onM, QWidget* parent = 0, const char* name = 0,
18 QWidget* parent = 0, const char* name = 0,
19 WFlags fl = 0 ); 19 WFlags fl = 0 );
20 ~DateBookWeekLstView(); 20 ~DateBookWeekLstView();
21
22 void setEvents(QValueList<EffectiveEvent> &ev, const QDate &d, bool onM);
23
21signals: 24signals:
@@ -29,4 +32,8 @@ signals:
29 const QString &str, const QString &location); 32 const QString &str, const QString &location);
30private: 33protected:
31 bool bStartOnMonday; 34 bool bStartOnMonday;
35 QValueList<QObject*> childs;
36
37 QVBoxLayout*m_MainLayout;
38
32protected slots: 39protected slots: