diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:34:45 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:34:45 -0600 |
commit | 0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (patch) | |
tree | 4138783f7dad757fc5fbfaa8d66a355288d3125e /libkcal/incidencebase.cpp | |
parent | 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (diff) | |
download | tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.tar.gz tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'libkcal/incidencebase.cpp')
-rw-r--r-- | libkcal/incidencebase.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libkcal/incidencebase.cpp b/libkcal/incidencebase.cpp index d5dbef56c..a8a6bdb05 100644 --- a/libkcal/incidencebase.cpp +++ b/libkcal/incidencebase.cpp @@ -32,7 +32,7 @@ using namespace KCal; IncidenceBase::IncidenceBase() : mReadOnly( false ), mFloats( true ), mDuration( 0 ), mHasDuration( false ), - mPilotId( 0 ), mSynctqStatus( SYNCMOD ) + mPilotId( 0 ), mSyncStatus( SYNCMOD ) { setUid( CalFormat::createUniqueId() ); @@ -56,7 +56,7 @@ IncidenceBase::IncidenceBase(const IncidenceBase &i) : mFloats = i.mFloats; mLastModified = i.mLastModified; mPilotId = i.mPilotId; - mSynctqStatus = i.mSynctqStatus; + mSyncStatus = i.mSyncStatus; mComments = i.mComments; // The copied object is a new one, so it isn't observed by the observer @@ -88,7 +88,7 @@ IncidenceBase& IncidenceBase::operator=( const IncidenceBase& i ) mFloats = i.mFloats; mLastModified = i.mLastModified; mPilotId = i.mPilotId; - mSynctqStatus = i.mSynctqStatus; + mSyncStatus = i.mSyncStatus; mComments = i.mComments; return *this; @@ -124,7 +124,7 @@ bool IncidenceBase::operator==( const IncidenceBase& i2 ) const duration() == i2.duration() && hasDuration() == i2.hasDuration() && pilotId() == i2.pilotId() && - synctqStatus() == i2.synctqStatus() ); + syncStatus() == i2.syncStatus() ); // no need to compare mObserver } @@ -174,7 +174,7 @@ void IncidenceBase::setOrganizer( const Person &o ) void IncidenceBase::setOrganizer(const TQString &o) { TQString mail( o ); - if ( mail.tqstartsWith("MAILTO:", false) ) + if ( mail.startsWith("MAILTO:", false) ) mail = mail.remove( 0, 7 ); // split the string into full name plus email. Person organizer( mail ); @@ -361,22 +361,22 @@ bool IncidenceBase::hasDuration() const return mHasDuration; } -void IncidenceBase::setSynctqStatus(int stat) +void IncidenceBase::setSyncStatus(int stat) { if (mReadOnly) return; - if ( mSynctqStatus == stat ) return; - mSynctqStatus = stat; + if ( mSyncStatus == stat ) return; + mSyncStatus = stat; updatedSilent(); } void IncidenceBase::setSyncStatusSilent(int stat) { if (mReadOnly) return; - mSynctqStatus = stat; + mSyncStatus = stat; } -int IncidenceBase::synctqStatus() const +int IncidenceBase::syncStatus() const { - return mSynctqStatus; + return mSyncStatus; } void IncidenceBase::setPilotId( unsigned long id ) |