-rw-r--r-- | libkcal/incidencebase.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libkcal/incidencebase.h b/libkcal/incidencebase.h index 444d4c4..3edc03b 100644 --- a/libkcal/incidencebase.h +++ b/libkcal/incidencebase.h | |||
@@ -114,64 +114,65 @@ class IncidenceBase : public CustomProperties | |||
114 | int attendeeCount() const { return mAttendees.count(); }; | 114 | int attendeeCount() const { return mAttendees.count(); }; |
115 | /** Return the Attendee with this email */ | 115 | /** Return the Attendee with this email */ |
116 | Attendee* attendeeByMail(const QString &); | 116 | Attendee* attendeeByMail(const QString &); |
117 | /** Return first Attendee with one of this emails */ | 117 | /** Return first Attendee with one of this emails */ |
118 | Attendee* attendeeByMails(const QStringList &, const QString& email = QString::null); | 118 | Attendee* attendeeByMails(const QStringList &, const QString& email = QString::null); |
119 | 119 | ||
120 | /** pilot syncronization states */ | 120 | /** pilot syncronization states */ |
121 | enum { SYNCNONE = 0, SYNCMOD = 1, SYNCDEL = 3 }; | 121 | enum { SYNCNONE = 0, SYNCMOD = 1, SYNCDEL = 3 }; |
122 | /** Set synchronisation satus. */ | 122 | /** Set synchronisation satus. */ |
123 | void setSyncStatus(int stat); | 123 | void setSyncStatus(int stat); |
124 | /** Return synchronisation status. */ | 124 | /** Return synchronisation status. */ |
125 | int syncStatus() const; | 125 | int syncStatus() const; |
126 | 126 | ||
127 | /** Set Pilot Id. */ | 127 | /** Set Pilot Id. */ |
128 | void setPilotId(int id); | 128 | void setPilotId(int id); |
129 | /** Return Pilot Id. */ | 129 | /** Return Pilot Id. */ |
130 | int pilotId() const; | 130 | int pilotId() const; |
131 | 131 | ||
132 | void setTempSyncStat(int id); | 132 | void setTempSyncStat(int id); |
133 | int tempSyncStat() const; | 133 | int tempSyncStat() const; |
134 | void setIDStr( const QString & ); | 134 | void setIDStr( const QString & ); |
135 | QString IDStr() const; | 135 | QString IDStr() const; |
136 | void setID( const QString &, const QString & ); | 136 | void setID( const QString &, const QString & ); |
137 | QString getID( const QString & ); | 137 | QString getID( const QString & ); |
138 | void setCsum( const QString &, const QString & ); | 138 | void setCsum( const QString &, const QString & ); |
139 | QString getCsum( const QString & ); | 139 | QString getCsum( const QString & ); |
140 | void removeID(const QString &); | 140 | void removeID(const QString &); |
141 | 141 | ||
142 | void registerObserver( Observer * ); | 142 | void registerObserver( Observer * ); |
143 | void unRegisterObserver( Observer * ); | 143 | void unRegisterObserver( Observer * ); |
144 | void updated(); | 144 | void updated(); |
145 | void setCalID( int id ); | 145 | void setCalID( int id ); |
146 | void setCalID_block( int id ); | ||
146 | int calID() const; | 147 | int calID() const; |
147 | void setCalEnabled( bool ); | 148 | void setCalEnabled( bool ); |
148 | bool calEnabled() const; | 149 | bool calEnabled() const; |
149 | void setAlarmEnabled( bool ); | 150 | void setAlarmEnabled( bool ); |
150 | bool alarmEnabled() const; | 151 | bool alarmEnabled() const; |
151 | bool isTagged() const; | 152 | bool isTagged() const; |
152 | void setTagged( bool ); | 153 | void setTagged( bool ); |
153 | virtual void setLastModifiedSubInvalid(); | 154 | virtual void setLastModifiedSubInvalid(); |
154 | protected: | 155 | protected: |
155 | bool blockLastModified; | 156 | bool blockLastModified; |
156 | bool mIsTagged; | 157 | bool mIsTagged; |
157 | QDateTime mDtStart; | 158 | QDateTime mDtStart; |
158 | bool mReadOnly; | 159 | bool mReadOnly; |
159 | QDateTime getEvenTime( QDateTime ); | 160 | QDateTime getEvenTime( QDateTime ); |
160 | 161 | ||
161 | private: | 162 | private: |
162 | // base components | 163 | // base components |
163 | QString mOrganizer; | 164 | QString mOrganizer; |
164 | QString mLastModifiedKey; | 165 | QString mLastModifiedKey; |
165 | QString mUid; | 166 | QString mUid; |
166 | int mCalID; | 167 | int mCalID; |
167 | bool mCalEnabled; | 168 | bool mCalEnabled; |
168 | bool mAlarmEnabled; | 169 | bool mAlarmEnabled; |
169 | QDateTime mLastModified; | 170 | QDateTime mLastModified; |
170 | QPtrList<Attendee> mAttendees; | 171 | QPtrList<Attendee> mAttendees; |
171 | 172 | ||
172 | bool mFloats; | 173 | bool mFloats; |
173 | 174 | ||
174 | int mDuration; | 175 | int mDuration; |
175 | bool mHasDuration; | 176 | bool mHasDuration; |
176 | QString mExternalId; | 177 | QString mExternalId; |
177 | int mTempSyncStat; | 178 | int mTempSyncStat; |