summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--README29
-rw-r--r--korganizer/koprefs.cpp4
2 files changed, 33 insertions, 0 deletions
diff --git a/README b/README
index 663f326..a32191d 100644
--- a/README
+++ b/README
@@ -16,88 +16,117 @@ You may have to
16 16
17to get the sources compiled, depending on your Qtopia compiler setup. 17to get the sources compiled, depending on your Qtopia compiler setup.
18The needed Makefile is Makefile.Embedded. 18The needed Makefile is Makefile.Embedded.
19Copy it and rename it to Makefile. 19Copy it and rename it to Makefile.
20 20
21To build for the Zaurus: 21To build for the Zaurus:
22Install Qtopia development environment and the cross-compiler. 22Install Qtopia development environment and the cross-compiler.
23 23
24The file sharp.tmake.conf contains e DEFINE,which is needed to fix the QWhatsThis problem: 24The 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
26Add this to your tmake.conf file for sharp. 26Add this to your tmake.conf file for sharp.
27 27
28Now, you can do from command line a: 28Now, you can do from command line a:
29cz #comment: for setZaurus 29cz #comment: for setZaurus
30make clean #comment: for removing old Makefiles - if there are any 30make clean #comment: for removing old Makefiles - if there are any
31make 31make
32make install 32make install
33make clean 33make clean
34make dist 34make dist
35 35
36to build a binary and source package. 36to build a binary and source package.
37The sources are ../kdepim.src.tar.gz 37The sources are ../kdepim.src.tar.gz
38The binaries are 38The binaries are
39korganizer-alarm_1.9.0a_arm.ipk 39korganizer-alarm_1.9.0a_arm.ipk
40and 40and
41kdepim_1.9.0a_arm.ipk 41kdepim_1.9.0a_arm.ipk
42, depending on the version. 42, depending on the version.
43 43
44========================================================= 44=========================================================
45 45
46Howto Compile+Run KO/Pi Desktop for Linux Desktop: 46Howto Compile+Run KO/Pi Desktop for Linux Desktop:
47 47
48Remove all Makefile files first! 48Remove all Makefile files first!
49 49
50Set the needed environment variables to compile a Qt program. 50Set the needed environment variables to compile a Qt program.
51(e.g. QTDIR, ,... ) 51(e.g. QTDIR, ,... )
52Do a 52Do a
53qmake 53qmake
54make clean 54make clean
55make 55make
56in this directory. 56in this directory.
57 57
58After compilation, you will find the binary and the libs in ./bin. 58After compilation, you will find the binary and the libs in ./bin.
59 59
60 60
61Goto ./bin in console and type type ./kopi 61Goto ./bin in console and type type ./kopi
62 62
63Now kopi starts. 63Now kopi starts.
64(UPDATE : Now you have probably to copy the libs to /usr/lib to run KO/Pi).
65This can be done by the following prodedure:
66
67Howto build the KDE sync command line tools:
68
69Goto
70./desktop
71Adjust the paths ( KDEDIR and KDE_DEV_DIR ) in the Makefile there.
72Type there
73make
74to build the KDE sync command line tools.
75Now switch to super user mode with
76su
77Copy everything in the right place with
78make 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/" ).
80Now build a rpm with
81make dist
82
83make dist uses the rpm spec in ./desktop/rpm/kdepim_rpm.
84
85This all works for a SuSE 9.2.
86For other distris you have to adjust some settings.
64 87
65========================================================= 88=========================================================
66 89
67KOrganizer/Platform-independent (KO/Pi) 90KOrganizer/Platform-independent (KO/Pi)
68 91
69 92
70This is the platform-independend version of KOrganizer. It includes a replacement for the 93This is the platform-independend version of KOrganizer. It includes a replacement for the
71KDE libraries called microkde, which provides the KDE specific functions 94KDE libraries called microkde, which provides the KDE specific functions
72KOrganizer needs, but does not add the overhead of the complete implementation. 95KOrganizer needs, but does not add the overhead of the complete implementation.
73KOrganizer/Pi compiles with Qt/Embedded 2.3.2 and the corresponding QPE libs. 96KOrganizer/Pi compiles with Qt/Embedded 2.3.2 and the corresponding QPE libs.
74 97
75It compiles with Qt 3.2.3 on the Linux or Windows desktop as well. 98It compiles with Qt 3.2.3 on the Linux or Windows desktop as well.
76 99
77KOrganizer/Pi is based on the unaltered original KOrganizer code from the KDE CVS 100KOrganizer/Pi is based on the unaltered original KOrganizer code from the KDE CVS
78HEAD branch of spring 2003. 101HEAD branch of spring 2003.
79 102
80Some functionality of the full KDE version of Korganizer is not present in the 103Some functionality of the full KDE version of Korganizer is not present in the
81platform-independend, because microkde is not yet complete. 104platform-independend, because microkde is not yet complete.
82 105
83KOrganizer/Pi is licenced under the GPL, the microkde library is licenced under 106KOrganizer/Pi is licenced under the GPL, the microkde library is licenced under
84the LGPL and the original KOrganizer code is licenced under GPL or LPGL. 107the LGPL and the original KOrganizer code is licenced under GPL or LPGL.
85 108
86If you have questions or comments please contact Lutz Rogowski 109If you have questions or comments please contact Lutz Rogowski
87<rogowski@kde.org>. 110<rogowski@kde.org>.
88 111
89 112
90History 113History
91------- 114-------
92 115
1162.0.0 (January 2005)
117 - Korganizer/Pi is now integrated in KDE-Pim/Pi together with KA/Pi.
118
1191.7.8 (Juni 2004)
120 - Latest standalone version of Korganizer/Pi (platform-independend).
121
931.5 (January 2004) 1221.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
971.0 (April 2002): 1261.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
1010.8 (beta1) (January 2002): 1300.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