author | zautrix <zautrix> | 2006-02-27 22:49:08 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2006-02-27 22:49:08 (UTC) |
commit | a388f4f019ccf2b7c138a6814b44b9e8f2a5f570 (patch) (unidiff) | |
tree | 5fe3d6341dee12d97200cf3ce1abe2feedb56782 /korganizer/koprefs.h | |
parent | 4e2553b95b2787ed7917073f6b628819b1f017c3 (diff) | |
download | kdepimpi-a388f4f019ccf2b7c138a6814b44b9e8f2a5f570.zip kdepimpi-a388f4f019ccf2b7c138a6814b44b9e8f2a5f570.tar.gz kdepimpi-a388f4f019ccf2b7c138a6814b44b9e8f2a5f570.tar.bz2 |
trying to readonly problem
-rw-r--r-- | korganizer/koprefs.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/korganizer/koprefs.h b/korganizer/koprefs.h index 70da096..94bdd33 100644 --- a/korganizer/koprefs.h +++ b/korganizer/koprefs.h | |||
@@ -43,42 +43,42 @@ class QStringList; | |||
43 | #define VIEW_L_VIEW 7 | 43 | #define VIEW_L_VIEW 7 |
44 | #define VIEW_T_VIEW 8 | 44 | #define VIEW_T_VIEW 8 |
45 | 45 | ||
46 | class KopiCalendarFile : public QObject | 46 | class KopiCalendarFile : public QObject |
47 | { | 47 | { |
48 | public: | 48 | public: |
49 | KopiCalendarFile( ) : QObject( ) | 49 | KopiCalendarFile( ) : QObject( ) |
50 | { | 50 | { |
51 | isStandard = false; | 51 | isStandard = false; |
52 | isEnabled = true; | 52 | isEnabled = true; |
53 | isAlarmEnabled = true; | 53 | isAlarmEnabled = true; |
54 | isReadOnly = false; | 54 | isReadOnly = false; |
55 | mErrorOnLoad = false; | ||
56 | isRelative = false; | ||
57 | mCalNumber = 0; | ||
58 | mDefaultColor = Qt::red; | ||
55 | mName = "Calendar"; | 59 | mName = "Calendar"; |
56 | mFileName = QDir::homeDirPath() + "/icalfile.ics"; | 60 | mFileName = QDir::homeDirPath() + "/icalfile.ics"; |
57 | mSavedFileName = "icalfile.ics"; | 61 | mSavedFileName = "icalfile.ics"; |
58 | mCalNumber = 0; | ||
59 | mDefaultColor = Qt::red; | ||
60 | mErrorOnLoad = false; | ||
61 | isRelative = false; | ||
62 | } | 62 | } |
63 | bool isStandard; | 63 | bool isStandard; |
64 | bool isEnabled; | 64 | bool isEnabled; |
65 | bool isAlarmEnabled; | 65 | bool isAlarmEnabled; |
66 | bool isReadOnly; | 66 | bool isReadOnly; |
67 | bool mErrorOnLoad; | 67 | bool mErrorOnLoad; |
68 | bool isRelative; | ||
69 | int mCalNumber; | ||
68 | QString mName; | 70 | QString mName; |
69 | QString mFileName; | 71 | QString mFileName; |
70 | QString mSavedFileName; | 72 | QString mSavedFileName; |
71 | bool isRelative; | ||
72 | int mCalNumber; | ||
73 | QColor mDefaultColor; | 73 | QColor mDefaultColor; |
74 | QDateTime mLoadDt; | 74 | QDateTime mLoadDt; |
75 | }; | 75 | }; |
76 | class KOPrefs : public KPimPrefs | 76 | class KOPrefs : public KPimPrefs |
77 | { | 77 | { |
78 | public: | 78 | public: |
79 | enum { FormatVCalendar, FormatICalendar }; | 79 | enum { FormatVCalendar, FormatICalendar }; |
80 | enum { MailClientKMail, MailClientSendmail }; | 80 | enum { MailClientKMail, MailClientSendmail }; |
81 | enum { IMIPDummy, IMIPKMail }; | 81 | enum { IMIPDummy, IMIPKMail }; |
82 | enum { IMIPOutbox, IMIPdirectsend }; | 82 | enum { IMIPOutbox, IMIPdirectsend }; |
83 | enum { neverAuto, addressbookAuto, selectedAuto }; | 83 | enum { neverAuto, addressbookAuto, selectedAuto }; |
84 | enum { standardDestination, askDestination }; | 84 | enum { standardDestination, askDestination }; |