diff options
Diffstat (limited to 'kresources/lib/addressbookadaptor.cpp')
-rw-r--r-- | kresources/lib/addressbookadaptor.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kresources/lib/addressbookadaptor.cpp b/kresources/lib/addressbookadaptor.cpp index f698e5430..900772e56 100644 --- a/kresources/lib/addressbookadaptor.cpp +++ b/kresources/lib/addressbookadaptor.cpp @@ -51,18 +51,18 @@ AddressBookAdaptor::AddressBookAdaptor() { } -QString AddressBookAdaptor::mimeType() const +TQString AddressBookAdaptor::mimeType() const { return "text/x-vcard"; } -bool AddressBookAdaptor::localItemExists( const QString &localId ) +bool AddressBookAdaptor::localItemExists( const TQString &localId ) { KABC::Addressee a = mResource->findByUid( localId ); return !a.isEmpty(); } -bool AddressBookAdaptor::localItemHasChanged( const QString &localId ) +bool AddressBookAdaptor::localItemHasChanged( const TQString &localId ) { KABC::Addressee::List addressees = mResource->deletedAddressees(); KABC::Addressee::List::ConstIterator it; @@ -79,7 +79,7 @@ bool AddressBookAdaptor::localItemHasChanged( const QString &localId ) } -void AddressBookAdaptor::deleteItem( const QString &localId ) +void AddressBookAdaptor::deleteItem( const TQString &localId ) { KABC::Addressee a = mResource->findByUid( localId ); if ( !a.isEmpty() ) { @@ -98,12 +98,12 @@ void AddressBookAdaptor::addItem( KABC::Addressee addr ) } void AddressBookAdaptor::addressbookItemDownloaded( KABC::Addressee addr, - const QString &newLocalId, const KURL &remoteId, const QString &fingerprint, - const QString &storagelocation ) + const TQString &newLocalId, const KURL &remoteId, const TQString &fingerprint, + const TQString &storagelocation ) { // remove the currently existing item from the cache deleteItem( newLocalId ); - QString localId = idMapper()->localId( remoteId.path() ); + TQString localId = idMapper()->localId( remoteId.path() ); if ( !localId.isEmpty() ) deleteItem( localId ); // add the new item @@ -118,7 +118,7 @@ void AddressBookAdaptor::addressbookItemDownloaded( KABC::Addressee addr, } -void AddressBookAdaptor::clearChange( const QString &uid ) +void AddressBookAdaptor::clearChange( const TQString &uid ) { mResource->clearChange( uid ); } |