author | zautrix <zautrix> | 2006-02-27 22:49:08 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2006-02-27 22:49:08 (UTC) |
commit | a388f4f019ccf2b7c138a6814b44b9e8f2a5f570 (patch) (side-by-side diff) | |
tree | 5fe3d6341dee12d97200cf3ce1abe2feedb56782 | |
parent | 4e2553b95b2787ed7917073f6b628819b1f017c3 (diff) | |
download | kdepimpi-a388f4f019ccf2b7c138a6814b44b9e8f2a5f570.zip kdepimpi-a388f4f019ccf2b7c138a6814b44b9e8f2a5f570.tar.gz kdepimpi-a388f4f019ccf2b7c138a6814b44b9e8f2a5f570.tar.bz2 |
trying to readonly problem
-rw-r--r-- | korganizer/koprefs.cpp | 1 | ||||
-rw-r--r-- | korganizer/koprefs.h | 12 |
2 files changed, 7 insertions, 6 deletions
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp index 9147af3..5078c57 100644 --- a/korganizer/koprefs.cpp +++ b/korganizer/koprefs.cpp @@ -461,4 +461,5 @@ void KOPrefs::usrReadConfig() kkf->mName = i18n("Standard"); kkf->mFileName = QDir::convertSeparators( locateLocal( "data", "korganizer/mycalendar.ics" ) ); + kkf->isReadOnly = false; } while ( mNextAvailableCalendar <= numCals ) { diff --git a/korganizer/koprefs.h b/korganizer/koprefs.h index 70da096..94bdd33 100644 --- a/korganizer/koprefs.h +++ b/korganizer/koprefs.h @@ -53,11 +53,11 @@ class KopiCalendarFile : public QObject isAlarmEnabled = true; isReadOnly = false; + mErrorOnLoad = false; + isRelative = false; + mCalNumber = 0; + mDefaultColor = Qt::red; mName = "Calendar"; mFileName = QDir::homeDirPath() + "/icalfile.ics"; mSavedFileName = "icalfile.ics"; - mCalNumber = 0; - mDefaultColor = Qt::red; - mErrorOnLoad = false; - isRelative = false; } bool isStandard; @@ -66,9 +66,9 @@ class KopiCalendarFile : public QObject bool isReadOnly; bool mErrorOnLoad; + bool isRelative; + int mCalNumber; QString mName; QString mFileName; QString mSavedFileName; - bool isRelative; - int mCalNumber; QColor mDefaultColor; QDateTime mLoadDt; |