author | zautrix <zautrix> | 2004-08-07 11:30:06 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-07 11:30:06 (UTC) |
commit | 835cc1b2c671bf2ab228362cf4ea2e4a04a1d5e5 (patch) (side-by-side diff) | |
tree | 816191299c688a7de051703af11d0ba4f8c8247f /libkcal/incidencebase.h | |
parent | 55ad0e5d505055016a0e5032bcc8f9355dfff210 (diff) | |
download | kdepimpi-835cc1b2c671bf2ab228362cf4ea2e4a04a1d5e5.zip kdepimpi-835cc1b2c671bf2ab228362cf4ea2e4a04a1d5e5.tar.gz kdepimpi-835cc1b2c671bf2ab228362cf4ea2e4a04a1d5e5.tar.bz2 |
More sync stuff converted
-rw-r--r-- | libkcal/incidencebase.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/libkcal/incidencebase.h b/libkcal/incidencebase.h index e2950d3..e02d03a 100644 --- a/libkcal/incidencebase.h +++ b/libkcal/incidencebase.h @@ -97,79 +97,76 @@ class IncidenceBase : public CustomProperties void setFloats(bool f); /** Add Attendee to this incidence. IncidenceBase takes ownership of the Attendee object. */ void addAttendee(Attendee *a, bool doupdate=true ); // void removeAttendee(Attendee *a); // void removeAttendee(const char *n); /** Remove all Attendees. */ void clearAttendees(); /** Return list of attendees. */ QPtrList<Attendee> attendees() const { return mAttendees; }; /** Return number of attendees. */ int attendeeCount() const { return mAttendees.count(); }; /** Return the Attendee with this email */ Attendee* attendeeByMail(const QString &); /** Return first Attendee with one of this emails */ Attendee* attendeeByMails(const QStringList &, const QString& email = QString::null); /** pilot syncronization states */ enum { SYNCNONE = 0, SYNCMOD = 1, SYNCDEL = 3 }; /** Set synchronisation satus. */ void setSyncStatus(int stat); /** Return synchronisation status. */ int syncStatus() const; /** Set Pilot Id. */ void setPilotId(int id); /** Return Pilot Id. */ int pilotId() const; - void setZaurusUid(int id); - int zaurusUid() const; void setTempSyncStat(int id); int tempSyncStat() const; void setIDStr( const QString & ); QString IDStr() const; - void setID( const QString &, int ); - int getID( const QString & ); - void setCsum( const QString &, int ); - int getCsum( const QString & ); - + void setID( const QString &, const QString & ); + QString getID( const QString & ); + void setCsum( const QString &, const QString & ); + QString getCsum( const QString & ); + void removeID(const QString &); void registerObserver( Observer * ); void unRegisterObserver( Observer * ); void updated(); protected: bool mReadOnly; QDateTime getEvenTime( QDateTime ); private: // base components QDateTime mDtStart; QString mOrganizer; QString mUid; QDateTime mLastModified; QPtrList<Attendee> mAttendees; bool mFloats; int mDuration; bool mHasDuration; QString mExternalId; - int mZaurusUid; int mTempSyncStat; // PILOT SYNCHRONIZATION STUFF int mPilotId; // unique id for pilot sync int mSyncStatus; // status (for sync) QPtrList<Observer> mObservers; }; bool operator==( const IncidenceBase&, const IncidenceBase& ); } #endif |