author | umopapisdn <umopapisdn> | 2003-05-04 00:08:28 (UTC) |
---|---|---|
committer | umopapisdn <umopapisdn> | 2003-05-04 00:08:28 (UTC) |
commit | 8489a583d5b762c5530076271ee3c3be7011b9ef (patch) (unidiff) | |
tree | 67b1c998368636f8b95e1cae75070f7be9d80409 /core/pim/datebook/datebook.h | |
parent | 585f0369fb448bdb49f9c261c488610fa46e61d7 (diff) | |
download | opie-8489a583d5b762c5530076271ee3c3be7011b9ef.zip opie-8489a583d5b762c5530076271ee3c3be7011b9ef.tar.gz opie-8489a583d5b762c5530076271ee3c3be7011b9ef.tar.bz2 |
New feature: It's now possible to configure a default location and default categories for new events. (Options available in configuration dialog.)
Diffstat (limited to 'core/pim/datebook/datebook.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebook.h | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/core/pim/datebook/datebook.h b/core/pim/datebook/datebook.h index 3f57d4a..eeb8666 100644 --- a/core/pim/datebook/datebook.h +++ b/core/pim/datebook/datebook.h | |||
@@ -99,38 +99,40 @@ private slots: | |||
99 | void beamDone( Ir *ir ); | 99 | void beamDone( Ir *ir ); |
100 | 100 | ||
101 | private: | 101 | private: |
102 | void addEvent( const Event &e ); | 102 | void addEvent( const Event &e ); |
103 | void initDay(); | 103 | void initDay(); |
104 | void initWeek(); | 104 | void initWeek(); |
105 | void initWeekLst(); | 105 | void initWeekLst(); |
106 | void initMonth(); | 106 | void initMonth(); |
107 | void loadSettings(); | 107 | void loadSettings(); |
108 | void saveSettings(); | 108 | void saveSettings(); |
109 | 109 | ||
110 | private: | 110 | private: |
111 | DateBookDBHack *db; | 111 | DateBookDBHack *db; |
112 | QWidgetStack *views; | 112 | QWidgetStack *views; |
113 | DateBookDay *dayView; | 113 | DateBookDay *dayView; |
114 | DateBookWeek *weekView; | 114 | DateBookWeek *weekView; |
115 | DateBookMonth *monthView; | 115 | DateBookMonth *monthView; |
116 | DateBookWeekLst *weekLstView; | 116 | DateBookWeekLst *weekLstView; |
117 | QAction *dayAction, *weekAction, *weekLstAction, *monthAction; | 117 | QAction *dayAction, *weekAction, *weekLstAction, *monthAction; |
118 | int weeklistviewconfig; | 118 | int weeklistviewconfig; |
119 | bool aPreset; // have everything set to alarm? | 119 | bool aPreset; // have everything set to alarm? |
120 | int presetTime; // the standard time for the alarm | 120 | int presetTime; // the standard time for the alarm |
121 | int startTime; | 121 | int startTime; |
122 | int rowStyle; | 122 | int rowStyle; |
123 | int defaultView; | 123 | int defaultView; |
124 | QArray<int> defaultCategories; | ||
125 | QString defaultLocation; | ||
124 | bool bJumpToCurTime; //should jump to current time in dayview? | 126 | bool bJumpToCurTime; //should jump to current time in dayview? |
125 | bool ampm; | 127 | bool ampm; |
126 | bool onMonday; | 128 | bool onMonday; |
127 | 129 | ||
128 | bool syncing; | 130 | bool syncing; |
129 | bool inSearch; | 131 | bool inSearch; |
130 | 132 | ||
131 | int alarmCounter; | 133 | int alarmCounter; |
132 | 134 | ||
133 | QString checkEvent(const Event &); | 135 | QString checkEvent(const Event &); |
134 | }; | 136 | }; |
135 | 137 | ||
136 | #endif | 138 | #endif |