-rw-r--r-- | kabc/addressee.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kabc/addressee.cpp b/kabc/addressee.cpp index d60cd6b..3b238f5 100644 --- a/kabc/addressee.cpp +++ b/kabc/addressee.cpp @@ -589,7 +589,7 @@ int Addressee::tempSyncStat() const return mData->mTempSyncStat; } -QString Addressee::getID( const QString & prof) +const QString Addressee::getID( const QString & prof) const { return KIdManager::getId ( mData->mExternalId, prof ); } @@ -602,7 +602,7 @@ void Addressee::setCsum( const QString & prof , const QString & id ) //qDebug("setcsum2 %s ",mData->mExternalId.latin1() ); } -QString Addressee::getCsum( const QString & prof) +const QString Addressee::getCsum( const QString & prof) const { return KIdManager::getCsum ( mData->mExternalId, prof ); } @@ -613,7 +613,7 @@ void Addressee::setIDStr( const QString & s ) mData->mExternalId = s; } -QString Addressee::IDStr() const +const QString Addressee::IDStr() const { return mData->mExternalId; } @@ -626,7 +626,7 @@ void Addressee::setExternalUID( const QString &id ) mData->externalUID = id; } -QString Addressee::externalUID() const +const QString Addressee::externalUID() const { return mData->externalUID; } @@ -653,7 +653,7 @@ void Addressee::setUid( const QString &id ) mData->uid = id; } -QString Addressee::uid() const +const QString Addressee::uid() const { if ( mData->uid.isEmpty() ) mData->uid = KApplication::randomString( 10 ); |