From ff7fd64d755b2cc63f9944b1a17a6a2e186da0b6 Mon Sep 17 00:00:00 2001 From: alwin Date: Sat, 19 Mar 2005 18:06:44 +0000 Subject: 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. --- (limited to 'core/pim/datebook/modules/weeklst/datebookweeklst.h') diff --git a/core/pim/datebook/modules/weeklst/datebookweeklst.h b/core/pim/datebook/modules/weeklst/datebookweeklst.h index 3922fa1..505810b 100644 --- a/core/pim/datebook/modules/weeklst/datebookweeklst.h +++ b/core/pim/datebook/modules/weeklst/datebookweeklst.h @@ -10,7 +10,7 @@ class DateBookDB; class DateBookDBHoliday; class DateBookWeekLstHeader; class DateBookWeekLstEvent; -class DateBookWeekLstView; +class DateBookWeekLstDblView; class QVBoxLayout; class QScrollView; @@ -55,9 +55,10 @@ private: QDate bdate; int year, _week,dow; DateBookWeekLstHeader *header; - QWidget *view; QVBoxLayout *layout; QScrollView *scroll; + DateBookWeekLstDblView*m_CurrentView; + bool dateset:1; void getEvents(); }; -- cgit v0.9.0.2