-rw-r--r-- | README | 29 | ||||
-rw-r--r-- | korganizer/koprefs.cpp | 4 |
2 files changed, 33 insertions, 0 deletions
@@ -16,88 +16,117 @@ You may have to | |||
16 | 16 | ||
17 | to get the sources compiled, depending on your Qtopia compiler setup. | 17 | to get the sources compiled, depending on your Qtopia compiler setup. |
18 | The needed Makefile is Makefile.Embedded. | 18 | The needed Makefile is Makefile.Embedded. |
19 | Copy it and rename it to Makefile. | 19 | Copy it and rename it to Makefile. |
20 | 20 | ||
21 | To build for the Zaurus: | 21 | To build for the Zaurus: |
22 | Install Qtopia development environment and the cross-compiler. | 22 | Install Qtopia development environment and the cross-compiler. |
23 | 23 | ||
24 | The file sharp.tmake.conf contains e DEFINE,which is needed to fix the QWhatsThis problem: | 24 | The file sharp.tmake.conf contains e DEFINE,which is needed to fix the QWhatsThis problem: |
25 | TMAKE_CXXFLAGS = blabla -DADD_TOOLTIP | 25 | TMAKE_CXXFLAGS = blabla -DADD_TOOLTIP |
26 | Add this to your tmake.conf file for sharp. | 26 | Add this to your tmake.conf file for sharp. |
27 | 27 | ||
28 | Now, you can do from command line a: | 28 | Now, you can do from command line a: |
29 | cz #comment: for setZaurus | 29 | cz #comment: for setZaurus |
30 | make clean #comment: for removing old Makefiles - if there are any | 30 | make clean #comment: for removing old Makefiles - if there are any |
31 | make | 31 | make |
32 | make install | 32 | make install |
33 | make clean | 33 | make clean |
34 | make dist | 34 | make dist |
35 | 35 | ||
36 | to build a binary and source package. | 36 | to build a binary and source package. |
37 | The sources are ../kdepim.src.tar.gz | 37 | The sources are ../kdepim.src.tar.gz |
38 | The binaries are | 38 | The binaries are |
39 | korganizer-alarm_1.9.0a_arm.ipk | 39 | korganizer-alarm_1.9.0a_arm.ipk |
40 | and | 40 | and |
41 | kdepim_1.9.0a_arm.ipk | 41 | kdepim_1.9.0a_arm.ipk |
42 | , depending on the version. | 42 | , depending on the version. |
43 | 43 | ||
44 | ========================================================= | 44 | ========================================================= |
45 | 45 | ||
46 | Howto Compile+Run KO/Pi Desktop for Linux Desktop: | 46 | Howto Compile+Run KO/Pi Desktop for Linux Desktop: |
47 | 47 | ||
48 | Remove all Makefile files first! | 48 | Remove all Makefile files first! |
49 | 49 | ||
50 | Set the needed environment variables to compile a Qt program. | 50 | Set the needed environment variables to compile a Qt program. |
51 | (e.g. QTDIR, ,... ) | 51 | (e.g. QTDIR, ,... ) |
52 | Do a | 52 | Do a |
53 | qmake | 53 | qmake |
54 | make clean | 54 | make clean |
55 | make | 55 | make |
56 | in this directory. | 56 | in this directory. |
57 | 57 | ||
58 | After compilation, you will find the binary and the libs in ./bin. | 58 | After compilation, you will find the binary and the libs in ./bin. |
59 | 59 | ||
60 | 60 | ||
61 | Goto ./bin in console and type type ./kopi | 61 | Goto ./bin in console and type type ./kopi |
62 | 62 | ||
63 | Now kopi starts. | 63 | Now kopi starts. |
64 | (UPDATE : Now you have probably to copy the libs to /usr/lib to run KO/Pi). | ||
65 | This can be done by the following prodedure: | ||
66 | |||
67 | Howto build the KDE sync command line tools: | ||
68 | |||
69 | Goto | ||
70 | ./desktop | ||
71 | Adjust the paths ( KDEDIR and KDE_DEV_DIR ) in the Makefile there. | ||
72 | Type there | ||
73 | make | ||
74 | to build the KDE sync command line tools. | ||
75 | Now switch to super user mode with | ||
76 | su | ||
77 | Copy everything in the right place with | ||
78 | make install | ||
79 | (Comment out the lines in the makefile which try to copy files, which are not there, e.g. the line "cp -fr /home/polo/eigene/apps/* /opt/kdepimpi/" ). | ||
80 | Now build a rpm with | ||
81 | make dist | ||
82 | |||
83 | make dist uses the rpm spec in ./desktop/rpm/kdepim_rpm. | ||
84 | |||
85 | This all works for a SuSE 9.2. | ||
86 | For other distris you have to adjust some settings. | ||
64 | 87 | ||
65 | ========================================================= | 88 | ========================================================= |
66 | 89 | ||
67 | KOrganizer/Platform-independent (KO/Pi) | 90 | KOrganizer/Platform-independent (KO/Pi) |
68 | 91 | ||
69 | 92 | ||
70 | This is the platform-independend version of KOrganizer. It includes a replacement for the | 93 | This is the platform-independend version of KOrganizer. It includes a replacement for the |
71 | KDE libraries called microkde, which provides the KDE specific functions | 94 | KDE libraries called microkde, which provides the KDE specific functions |
72 | KOrganizer needs, but does not add the overhead of the complete implementation. | 95 | KOrganizer needs, but does not add the overhead of the complete implementation. |
73 | KOrganizer/Pi compiles with Qt/Embedded 2.3.2 and the corresponding QPE libs. | 96 | KOrganizer/Pi compiles with Qt/Embedded 2.3.2 and the corresponding QPE libs. |
74 | 97 | ||
75 | It compiles with Qt 3.2.3 on the Linux or Windows desktop as well. | 98 | It compiles with Qt 3.2.3 on the Linux or Windows desktop as well. |
76 | 99 | ||
77 | KOrganizer/Pi is based on the unaltered original KOrganizer code from the KDE CVS | 100 | KOrganizer/Pi is based on the unaltered original KOrganizer code from the KDE CVS |
78 | HEAD branch of spring 2003. | 101 | HEAD branch of spring 2003. |
79 | 102 | ||
80 | Some functionality of the full KDE version of Korganizer is not present in the | 103 | Some functionality of the full KDE version of Korganizer is not present in the |
81 | platform-independend, because microkde is not yet complete. | 104 | platform-independend, because microkde is not yet complete. |
82 | 105 | ||
83 | KOrganizer/Pi is licenced under the GPL, the microkde library is licenced under | 106 | KOrganizer/Pi is licenced under the GPL, the microkde library is licenced under |
84 | the LGPL and the original KOrganizer code is licenced under GPL or LPGL. | 107 | the LGPL and the original KOrganizer code is licenced under GPL or LPGL. |
85 | 108 | ||
86 | If you have questions or comments please contact Lutz Rogowski | 109 | If you have questions or comments please contact Lutz Rogowski |
87 | <rogowski@kde.org>. | 110 | <rogowski@kde.org>. |
88 | 111 | ||
89 | 112 | ||
90 | History | 113 | History |
91 | ------- | 114 | ------- |
92 | 115 | ||
116 | 2.0.0 (January 2005) | ||
117 | - Korganizer/Pi is now integrated in KDE-Pim/Pi together with KA/Pi. | ||
118 | |||
119 | 1.7.8 (Juni 2004) | ||
120 | - Latest standalone version of Korganizer/Pi (platform-independend). | ||
121 | |||
93 | 1.5 (January 2004) | 122 | 1.5 (January 2004) |
94 | - Korganizer/E has been renamed to Korganizer/Pi (platform-independend) | 123 | - Korganizer/E has been renamed to Korganizer/Pi (platform-independend) |
95 | In this version, there are many bugfixes/enhancements. | 124 | In this version, there are many bugfixes/enhancements. |
96 | 125 | ||
97 | 1.0 (April 2002): | 126 | 1.0 (April 2002): |
98 | 127 | ||
99 | - First stable release as final submission to the Trolltech Qtopia contest. | 128 | - First stable release as final submission to the Trolltech Qtopia contest. |
100 | 129 | ||
101 | 0.8 (beta1) (January 2002): | 130 | 0.8 (beta1) (January 2002): |
102 | 131 | ||
103 | - Initial release as entry to the Trolltech Qtopia contest. | 132 | - Initial release as entry to the Trolltech Qtopia contest. |
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp index ddd9cf8..32cc291 100644 --- a/korganizer/koprefs.cpp +++ b/korganizer/koprefs.cpp | |||
@@ -177,97 +177,101 @@ KOPrefs::KOPrefs() : | |||
177 | 177 | ||
178 | #ifdef _WIN32_ | 178 | #ifdef _WIN32_ |
179 | QString hdp= locateLocal("data","korganizer")+"\\\\"; | 179 | QString hdp= locateLocal("data","korganizer")+"\\\\"; |
180 | #else | 180 | #else |
181 | QString hdp= locateLocal("data","korganizer")+"/"; | 181 | QString hdp= locateLocal("data","korganizer")+"/"; |
182 | #endif | 182 | #endif |
183 | 183 | ||
184 | KPrefs::setCurrentGroup("LoadSaveFileNames"); | 184 | KPrefs::setCurrentGroup("LoadSaveFileNames"); |
185 | 185 | ||
186 | addItemString("LastImportFile", &mLastImportFile ,hdp +"import.ics" ); | 186 | addItemString("LastImportFile", &mLastImportFile ,hdp +"import.ics" ); |
187 | addItemString("LastVcalFile", &mLastVcalFile ,hdp +"export.vcs" ); | 187 | addItemString("LastVcalFile", &mLastVcalFile ,hdp +"export.vcs" ); |
188 | addItemString("LastSaveFile", &mLastSaveFile ,hdp +"mybackup.ics" ); | 188 | addItemString("LastSaveFile", &mLastSaveFile ,hdp +"mybackup.ics" ); |
189 | addItemString("LastLoadFile", &mLastLoadFile ,hdp +"mybackup.ics" ); | 189 | addItemString("LastLoadFile", &mLastLoadFile ,hdp +"mybackup.ics" ); |
190 | 190 | ||
191 | 191 | ||
192 | KPrefs::setCurrentGroup("Locale"); | 192 | KPrefs::setCurrentGroup("Locale"); |
193 | addItemBool("ShortDateInViewer",&mShortDateInViewer,false); | 193 | addItemBool("ShortDateInViewer",&mShortDateInViewer,false); |
194 | 194 | ||
195 | 195 | ||
196 | KPrefs::setCurrentGroup("Colors"); | 196 | KPrefs::setCurrentGroup("Colors"); |
197 | addItemColor("Holiday Color",&mHolidayColor,defaultHolidayColor); | 197 | addItemColor("Holiday Color",&mHolidayColor,defaultHolidayColor); |
198 | addItemColor("Highlight Color",&mHighlightColor,defaultHighlightColor); | 198 | addItemColor("Highlight Color",&mHighlightColor,defaultHighlightColor); |
199 | addItemColor("Event Color",&mEventColor,mDefaultCategoryColor); | 199 | addItemColor("Event Color",&mEventColor,mDefaultCategoryColor); |
200 | addItemColor("Agenda Background Color",&mAgendaBgColor,defaultAgendaBgColor); | 200 | addItemColor("Agenda Background Color",&mAgendaBgColor,defaultAgendaBgColor); |
201 | addItemColor("WorkingHours Color",&mWorkingHoursColor,defaultWorkingHoursColor); | 201 | addItemColor("WorkingHours Color",&mWorkingHoursColor,defaultWorkingHoursColor); |
202 | addItemColor("Todo due today Color",&mTodoDueTodayColor,defaultTodoDueTodayColor); | 202 | addItemColor("Todo due today Color",&mTodoDueTodayColor,defaultTodoDueTodayColor); |
203 | addItemColor("Todo overdue Color",&mTodoOverdueColor,defaultTodoOverdueColor); | 203 | addItemColor("Todo overdue Color",&mTodoOverdueColor,defaultTodoOverdueColor); |
204 | addItemColor("MonthViewEvenColor",&mMonthViewEvenColor,QColor( 160,160,255 )); | 204 | addItemColor("MonthViewEvenColor",&mMonthViewEvenColor,QColor( 160,160,255 )); |
205 | addItemColor("MonthViewOddColor",&mMonthViewOddColor,QColor( 160,255,160 )); | 205 | addItemColor("MonthViewOddColor",&mMonthViewOddColor,QColor( 160,255,160 )); |
206 | addItemColor("MonthViewHolidayColor",&mMonthViewHolidayColor,QColor( 255,160,160 )); | 206 | addItemColor("MonthViewHolidayColor",&mMonthViewHolidayColor,QColor( 255,160,160 )); |
207 | addItemBool("MonthViewUsesDayColors",&mMonthViewUsesDayColors,true); | 207 | addItemBool("MonthViewUsesDayColors",&mMonthViewUsesDayColors,true); |
208 | addItemBool("MonthViewSatSunTog",&mMonthViewSatSunTog,true); | 208 | addItemBool("MonthViewSatSunTog",&mMonthViewSatSunTog,true); |
209 | addItemBool("HightlightDateTimeEdit",&mHightlightDateTimeEdit,false); | 209 | addItemBool("HightlightDateTimeEdit",&mHightlightDateTimeEdit,false); |
210 | addItemColor("AppColor1",&mAppColor1,QColor( 130,170,255 )); | 210 | addItemColor("AppColor1",&mAppColor1,QColor( 130,170,255 )); |
211 | addItemColor("AppColor2",&mAppColor2,QColor( 174,216,255 )); | 211 | addItemColor("AppColor2",&mAppColor2,QColor( 174,216,255 )); |
212 | addItemBool("UseAppColors",&mUseAppColors,false); | 212 | addItemBool("UseAppColors",&mUseAppColors,false); |
213 | 213 | ||
214 | 214 | ||
215 | 215 | ||
216 | KPrefs::setCurrentGroup("Views"); | 216 | KPrefs::setCurrentGroup("Views"); |
217 | addItemBool("Show Date Navigator",&mShowDateNavigator,true); | 217 | addItemBool("Show Date Navigator",&mShowDateNavigator,true); |
218 | addItemInt("Hour Size",&mHourSize,8); | 218 | addItemInt("Hour Size",&mHourSize,8); |
219 | addItemBool("Show Daily Recurrences",&mDailyRecur,true); | 219 | addItemBool("Show Daily Recurrences",&mDailyRecur,true); |
220 | addItemBool("Show Weekly Recurrences",&mWeeklyRecur,true); | 220 | addItemBool("Show Weekly Recurrences",&mWeeklyRecur,true); |
221 | addItemBool("Show Month Daily Recurrences",&mMonthDailyRecur,true); | 221 | addItemBool("Show Month Daily Recurrences",&mMonthDailyRecur,true); |
222 | addItemBool("Show Month Weekly Recurrences",&mMonthWeeklyRecur,true); | 222 | addItemBool("Show Month Weekly Recurrences",&mMonthWeeklyRecur,true); |
223 | addItemBool("ShowShortMonthName",&mMonthShowShort,false); | 223 | addItemBool("ShowShortMonthName",&mMonthShowShort,false); |
224 | addItemBool("ShowIconsInMonthCell",&mMonthShowIcons,true); | 224 | addItemBool("ShowIconsInMonthCell",&mMonthShowIcons,true); |
225 | #ifdef DESKTOP_VERION | ||
226 | addItemBool("Enable ToolTips",&mEnableToolTips,true); | ||
227 | #else | ||
225 | addItemBool("Enable ToolTips",&mEnableToolTips,false); | 228 | addItemBool("Enable ToolTips",&mEnableToolTips,false); |
229 | #endif | ||
226 | addItemBool("Enable MonthView ScrollBars",&mEnableMonthScroll,false); | 230 | addItemBool("Enable MonthView ScrollBars",&mEnableMonthScroll,false); |
227 | addItemBool("Marcus Bains shows seconds",&mMarcusBainsShowSeconds,false); | 231 | addItemBool("Marcus Bains shows seconds",&mMarcusBainsShowSeconds,false); |
228 | addItemBool("Show Marcus Bains",&mMarcusBainsEnabled,true); | 232 | addItemBool("Show Marcus Bains",&mMarcusBainsEnabled,true); |
229 | addItemBool("EditOnDoubleClick",&mEditOnDoubleClick,true); | 233 | addItemBool("EditOnDoubleClick",&mEditOnDoubleClick,true); |
230 | addItemBool("ViewChangeHoldFullscreen",&mViewChangeHoldFullscreen,true); | 234 | addItemBool("ViewChangeHoldFullscreen",&mViewChangeHoldFullscreen,true); |
231 | addItemBool("ViewChangeHoldNonFullscreen",&mViewChangeHoldNonFullscreen,false); | 235 | addItemBool("ViewChangeHoldNonFullscreen",&mViewChangeHoldNonFullscreen,false); |
232 | addItemBool("CenterOnCurrentTime",&mCenterOnCurrentTime,false); | 236 | addItemBool("CenterOnCurrentTime",&mCenterOnCurrentTime,false); |
233 | addItemBool("SetTimeToDayStartAt",&mSetTimeToDayStartAt,true); | 237 | addItemBool("SetTimeToDayStartAt",&mSetTimeToDayStartAt,true); |
234 | addItemBool("HighlightCurrentDay",&mHighlightCurrentDay,true); | 238 | addItemBool("HighlightCurrentDay",&mHighlightCurrentDay,true); |
235 | addItemBool("WNViewShowsParents",&mWNViewShowsParents,true);; | 239 | addItemBool("WNViewShowsParents",&mWNViewShowsParents,true);; |
236 | addItemBool("WNViewShowsPast",&mWNViewShowsPast,true); | 240 | addItemBool("WNViewShowsPast",&mWNViewShowsPast,true); |
237 | addItemBool("WNViewShowLocation",&mWNViewShowLocation,false); | 241 | addItemBool("WNViewShowLocation",&mWNViewShowLocation,false); |
238 | addItemBool("UseHighlightLightColor",&mUseHighlightLightColor,false); | 242 | addItemBool("UseHighlightLightColor",&mUseHighlightLightColor,false); |
239 | addItemBool("ListViewMonthTimespan",&mListViewMonthTimespan,true); | 243 | addItemBool("ListViewMonthTimespan",&mListViewMonthTimespan,true); |
240 | addItemBool("TodoViewUsesCatColors",&mTodoViewUsesCatColors,false); | 244 | addItemBool("TodoViewUsesCatColors",&mTodoViewUsesCatColors,false); |
241 | addItemBool("TodoViewShowsPercentage",&mTodoViewShowsPercentage,false); | 245 | addItemBool("TodoViewShowsPercentage",&mTodoViewShowsPercentage,false); |
242 | addItemBool("TodoViewUsesSmallFont",&mTodoViewUsesSmallFont,false); | 246 | addItemBool("TodoViewUsesSmallFont",&mTodoViewUsesSmallFont,false); |
243 | addItemBool("TodoViewUsesForegroundColor",&mTodoViewUsesForegroundColor,false); | 247 | addItemBool("TodoViewUsesForegroundColor",&mTodoViewUsesForegroundColor,false); |
244 | addItemBool("MonthViewUsesForegroundColor",&mMonthViewUsesForegroundColor,false); | 248 | addItemBool("MonthViewUsesForegroundColor",&mMonthViewUsesForegroundColor,false); |
245 | #ifdef DESKTOP_VERSION | 249 | #ifdef DESKTOP_VERSION |
246 | addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,true); | 250 | addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,true); |
247 | #else | 251 | #else |
248 | addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,false); | 252 | addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,false); |
249 | #endif | 253 | #endif |
250 | addItemInt("Day Begins",&mDayBegins,7); | 254 | addItemInt("Day Begins",&mDayBegins,7); |
251 | addItemInt("Working Hours Start",&mWorkingHoursStart,8); | 255 | addItemInt("Working Hours Start",&mWorkingHoursStart,8); |
252 | addItemInt("Working Hours End",&mWorkingHoursEnd,17); | 256 | addItemInt("Working Hours End",&mWorkingHoursEnd,17); |
253 | addItemBool("Exclude Holidays",&mExcludeHolidays,true); | 257 | addItemBool("Exclude Holidays",&mExcludeHolidays,true); |
254 | addItemBool("Exclude Saturdays",&mExcludeSaturdays,true); | 258 | addItemBool("Exclude Saturdays",&mExcludeSaturdays,true); |
255 | 259 | ||
256 | addItemBool("Month View Uses Category Color",&mMonthViewUsesCategoryColor,false); | 260 | addItemBool("Month View Uses Category Color",&mMonthViewUsesCategoryColor,false); |
257 | addItemBool("Full View Month",&mFullViewMonth,true); | 261 | addItemBool("Full View Month",&mFullViewMonth,true); |
258 | addItemBool("Full View Todo",&mFullViewTodo,true); | 262 | addItemBool("Full View Todo",&mFullViewTodo,true); |
259 | addItemBool("Quick Todo",&mEnableQuickTodo,false); | 263 | addItemBool("Quick Todo",&mEnableQuickTodo,false); |
260 | 264 | ||
261 | addItemInt("Next X Days",&mNextXDays,3); | 265 | addItemInt("Next X Days",&mNextXDays,3); |
262 | 266 | ||
263 | KPrefs::setCurrentGroup("Printer"); | 267 | KPrefs::setCurrentGroup("Printer"); |
264 | 268 | ||
265 | KPrefs::setCurrentGroup("Layout"); | 269 | KPrefs::setCurrentGroup("Layout"); |
266 | 270 | ||
267 | addItemBool("CompactDialogs",&mCompactDialogs,false); | 271 | addItemBool("CompactDialogs",&mCompactDialogs,false); |
268 | addItemBool("VerticalScreen",&mVerticalScreen,true); | 272 | addItemBool("VerticalScreen",&mVerticalScreen,true); |
269 | 273 | ||
270 | KPrefs::setCurrentGroup("KOrganizer Plugins"); | 274 | KPrefs::setCurrentGroup("KOrganizer Plugins"); |
271 | 275 | ||
272 | addItemStringList("SelectedPlugins",&mSelectedPlugins,"holidays"); | 276 | addItemStringList("SelectedPlugins",&mSelectedPlugins,"holidays"); |
273 | 277 | ||