diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kresources/lib/addressbookadaptor.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 ); } |