summaryrefslogtreecommitdiffstats
path: root/libkcal/incidencebase.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /libkcal/incidencebase.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'libkcal/incidencebase.cpp')
-rw-r--r--libkcal/incidencebase.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/libkcal/incidencebase.cpp b/libkcal/incidencebase.cpp
index a8a6bdb05..d5dbef56c 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 ), mSyncStatus( SYNCMOD )
+ mPilotId( 0 ), mSynctqStatus( SYNCMOD )
{
setUid( CalFormat::createUniqueId() );
@@ -56,7 +56,7 @@ IncidenceBase::IncidenceBase(const IncidenceBase &i) :
mFloats = i.mFloats;
mLastModified = i.mLastModified;
mPilotId = i.mPilotId;
- mSyncStatus = i.mSyncStatus;
+ mSynctqStatus = i.mSynctqStatus;
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;
- mSyncStatus = i.mSyncStatus;
+ mSynctqStatus = i.mSynctqStatus;
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() &&
- syncStatus() == i2.syncStatus() );
+ synctqStatus() == i2.synctqStatus() );
// 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.startsWith("MAILTO:", false) )
+ if ( mail.tqstartsWith("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::setSyncStatus(int stat)
+void IncidenceBase::setSynctqStatus(int stat)
{
if (mReadOnly) return;
- if ( mSyncStatus == stat ) return;
- mSyncStatus = stat;
+ if ( mSynctqStatus == stat ) return;
+ mSynctqStatus = stat;
updatedSilent();
}
void IncidenceBase::setSyncStatusSilent(int stat)
{
if (mReadOnly) return;
- mSyncStatus = stat;
+ mSynctqStatus = stat;
}
-int IncidenceBase::syncStatus() const
+int IncidenceBase::synctqStatus() const
{
- return mSyncStatus;
+ return mSynctqStatus;
}
void IncidenceBase::setPilotId( unsigned long id )