-rw-r--r-- | libkcal/incidencebase.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libkcal/incidencebase.cpp b/libkcal/incidencebase.cpp index f1db8b7..5d8785b 100644 --- a/libkcal/incidencebase.cpp +++ b/libkcal/incidencebase.cpp | |||
@@ -35,13 +35,12 @@ IncidenceBase::IncidenceBase() : | |||
35 | setUid(CalFormat::createUniqueId()); | 35 | setUid(CalFormat::createUniqueId()); |
36 | mOrganizer = ""; | 36 | mOrganizer = ""; |
37 | mFloats = false; | 37 | mFloats = false; |
38 | mDuration = 0; | 38 | mDuration = 0; |
39 | mHasDuration = false; | 39 | mHasDuration = false; |
40 | mPilotId = 0; | 40 | mPilotId = 0; |
41 | mZaurusId = -1; | ||
42 | mZaurusUid = 0; | 41 | mZaurusUid = 0; |
43 | mExternalId = ":"; | 42 | mExternalId = ":"; |
44 | mTempSyncStat = 0; | 43 | mTempSyncStat = 0; |
45 | mSyncStatus = 0; | 44 | mSyncStatus = 0; |
46 | mAttendees.setAutoDelete( true ); | 45 | mAttendees.setAutoDelete( true ); |
47 | } | 46 | } |
@@ -59,13 +58,12 @@ IncidenceBase::IncidenceBase(const IncidenceBase &i) : | |||
59 | for( Attendee *a = attendees.first(); a; a = attendees.next() ) { | 58 | for( Attendee *a = attendees.first(); a; a = attendees.next() ) { |
60 | mAttendees.append( new Attendee( *a ) ); | 59 | mAttendees.append( new Attendee( *a ) ); |
61 | } | 60 | } |
62 | mFloats = i.mFloats; | 61 | mFloats = i.mFloats; |
63 | mLastModified = i.mLastModified; | 62 | mLastModified = i.mLastModified; |
64 | mPilotId = i.mPilotId; | 63 | mPilotId = i.mPilotId; |
65 | mZaurusId = i.mZaurusId; | ||
66 | mZaurusUid = i.mZaurusUid; | 64 | mZaurusUid = i.mZaurusUid; |
67 | mTempSyncStat = i.mTempSyncStat; | 65 | mTempSyncStat = i.mTempSyncStat; |
68 | mSyncStatus = i.mSyncStatus; | 66 | mSyncStatus = i.mSyncStatus; |
69 | mExternalId = i.mExternalId; | 67 | mExternalId = i.mExternalId; |
70 | // The copied object is a new one, so it isn't observed by the observer | 68 | // The copied object is a new one, so it isn't observed by the observer |
71 | // of the original object. | 69 | // of the original object. |
@@ -339,22 +337,12 @@ void IncidenceBase::setPilotId( int id ) | |||
339 | } | 337 | } |
340 | 338 | ||
341 | int IncidenceBase::pilotId() const | 339 | int IncidenceBase::pilotId() const |
342 | { | 340 | { |
343 | return mPilotId; | 341 | return mPilotId; |
344 | } | 342 | } |
345 | void IncidenceBase::setZaurusId( int id ) | ||
346 | { | ||
347 | if (mReadOnly) return; | ||
348 | mZaurusId = id; | ||
349 | } | ||
350 | |||
351 | int IncidenceBase::zaurusId() const | ||
352 | { | ||
353 | return mZaurusId; | ||
354 | } | ||
355 | 343 | ||
356 | int IncidenceBase::zaurusUid() const | 344 | int IncidenceBase::zaurusUid() const |
357 | { | 345 | { |
358 | return mZaurusUid; | 346 | return mZaurusUid; |
359 | } | 347 | } |
360 | void IncidenceBase::setZaurusUid( int id ) | 348 | void IncidenceBase::setZaurusUid( int id ) |