summaryrefslogtreecommitdiff
path: root/core/pim/datebook/datebook.h
authorumopapisdn <umopapisdn>2003-04-12 03:56:46 (UTC)
committer umopapisdn <umopapisdn>2003-04-12 03:56:46 (UTC)
commit8c690a7bb709773217ba3d39d3ef769a2414cc72 (patch) (side-by-side diff)
treea34bae70ee8dc46f40f60150e1703088fbc4da36 /core/pim/datebook/datebook.h
parent212aef7fd20182fe926644af2ab10a4b49549440 (diff)
downloadopie-8c690a7bb709773217ba3d39d3ef769a2414cc72.zip
opie-8c690a7bb709773217ba3d39d3ef769a2414cc72.tar.gz
opie-8c690a7bb709773217ba3d39d3ef769a2414cc72.tar.bz2
New feature:
Added a configurable option to make the weeklist view display either no times at all, only start times, or both start and end time. Also moved the configuration of default view from the menu into the preference dialog.
Diffstat (limited to 'core/pim/datebook/datebook.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/datebook.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/core/pim/datebook/datebook.h b/core/pim/datebook/datebook.h
index 623862b..5216770 100644
--- a/core/pim/datebook/datebook.h
+++ b/core/pim/datebook/datebook.h
@@ -26,2 +26,5 @@
+enum { DAY=1,WEEK,WEEKLST,MONTH }; // defaultView values
+enum { NONE=0,NORMAL,EXTENDED }; // WeekLstView's modes.
+
class QAction;
@@ -69,3 +72,2 @@ private slots:
void slotSettings();
- void newDefaultView(QAction *a);
void slotToday(); // view today
@@ -114,2 +116,3 @@ private:
QAction *dayAction, *weekAction, *weekLstAction, *monthAction;
+ int weeklistviewconfig;
bool aPreset; // have everything set to alarm?
@@ -118,3 +121,4 @@ private:
int rowStyle;
- bool bJumpToCurTime; //should jump to current time in dayview?
+ int defaultView;
+ bool bJumpToCurTime; //should jump to current time in dayview?
bool ampm;