-rw-r--r-- | bin/kdepim/WhatsNew.txt | 12 | ||||
-rw-r--r-- | korganizer/kofilterview.cpp | 14 | ||||
-rw-r--r-- | korganizer/kofilterview.h | 2 |
3 files changed, 23 insertions, 5 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index a11fab3..9b7f6ea 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -4,2 +4,4 @@ Info about the changes in new versions of KDE-Pim/Pi | |||
4 | 4 | ||
5 | This release is for testing only. | ||
6 | |||
5 | KO/Pi: | 7 | KO/Pi: |
@@ -12,2 +14,12 @@ Fixed a problem in the AlarmTimer Applet: Now utf8 messages are displayed proper | |||
12 | 14 | ||
15 | Added support for multiple calendar files in KO/Pi. Only local ical (*.ics) files are supported as calendars. | ||
16 | In the sync profile config it is still missing to specify a particular calendar to sync with this profile. That setting will be added later. | ||
17 | Now on every sync the set of calendars is synced which are enabled in the resource view. | ||
18 | |||
19 | A calendar is enabled in the resource view if the "eye" column is checked. | ||
20 | You can set a calendar to be the default for new items( "+" column ). | ||
21 | You can tell KO/Pi to ignore all alarm of a calendar ( "bell" column ) and you can set it readonly. | ||
22 | To find out how to add a new calendar and how to remove a calendar is left as an exercise to the reader ... | ||
23 | |||
24 | |||
13 | ********** VERSION 2.1.5 ************ | 25 | ********** VERSION 2.1.5 ************ |
diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp index 9633b2c..3333ac2 100644 --- a/korganizer/kofilterview.cpp +++ b/korganizer/kofilterview.cpp | |||
@@ -208,3 +208,9 @@ void KOCalEditView::selectReadOnly(int id ,bool b ) | |||
208 | emit calendarReadonly ( id , b ); | 208 | emit calendarReadonly ( id , b ); |
209 | if ( KOPrefs::instance()->getCalendar( id )->isStandard && b && id > 1 ) { | ||
210 | KOPrefs::instance()->getCalendar( id )->isStandard = false; | ||
211 | KOPrefs::instance()->getCalendar( 1 )->isStandard = true; | ||
212 | emit setCalendarDefault ( 1 ); | ||
213 | } | ||
209 | emit needsUpdate(); | 214 | emit needsUpdate(); |
215 | QTimer::singleShot( 0, this, SLOT ( readConfig() ) ); | ||
210 | 216 | ||
@@ -227,3 +233,3 @@ void KOCalEditView::deleteCal( int id ) | |||
227 | emit needsUpdate(); | 233 | emit needsUpdate(); |
228 | readConfig(); | 234 | QTimer::singleShot( 0, this, SLOT ( readConfig() ) ); |
229 | } | 235 | } |
@@ -236,4 +242,4 @@ void KOCalEditView::infoCal( int id ) | |||
236 | emit calendarAdded( id ); | 242 | emit calendarAdded( id ); |
237 | readConfig(); | ||
238 | emit needsUpdate(); | 243 | emit needsUpdate(); |
244 | QTimer::singleShot( 0, this, SLOT ( readConfig() ) ); | ||
239 | } | 245 | } |
@@ -304,3 +310,3 @@ void KOCalEditView::readConfig() | |||
304 | connect (cb, SIGNAL (selectNum(int,bool)), SLOT ( selectStdCal(int,bool) ) ); | 310 | connect (cb, SIGNAL (selectNum(int,bool)), SLOT ( selectStdCal(int,bool) ) ); |
305 | if ( kkf->mErrorOnLoad ) | 311 | if ( kkf->mErrorOnLoad || kkf->isReadOnly ) |
306 | cb->setEnabled( false ); | 312 | cb->setEnabled( false ); |
@@ -370,4 +376,4 @@ void KOCalEditView::addCal() | |||
370 | emit calendarAdded( kkf->mCalNumber ); | 376 | emit calendarAdded( kkf->mCalNumber ); |
371 | readConfig(); | ||
372 | emit needsUpdate(); | 377 | emit needsUpdate(); |
378 | QTimer::singleShot( 0, this, SLOT ( readConfig() ) ); | ||
373 | } | 379 | } |
diff --git a/korganizer/kofilterview.h b/korganizer/kofilterview.h index 4a0cd8a..1849e36 100644 --- a/korganizer/kofilterview.h +++ b/korganizer/kofilterview.h | |||
@@ -119,3 +119,2 @@ class KOCalEditView : public QWidget | |||
119 | 119 | ||
120 | void readConfig(); | ||
121 | public slots: | 120 | public slots: |
@@ -133,2 +132,3 @@ class KOCalEditView : public QWidget | |||
133 | void infoCal(int) ; | 132 | void infoCal(int) ; |
133 | void readConfig(); | ||
134 | signals: | 134 | signals: |