summaryrefslogtreecommitdiffstats
path: root/kresources/slox/kabcresourceslox.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kresources/slox/kabcresourceslox.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/slox/kabcresourceslox.cpp')
-rw-r--r--kresources/slox/kabcresourceslox.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kresources/slox/kabcresourceslox.cpp b/kresources/slox/kabcresourceslox.cpp
index 16d5aced5..433a6adb0 100644
--- a/kresources/slox/kabcresourceslox.cpp
+++ b/kresources/slox/kabcresourceslox.cpp
@@ -218,7 +218,7 @@ bool ResourceSlox::asyncLoad()
TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
TQT_SLOT( cancelDownload() ) );
- mPrefs->setLastSync( TQDateTime::currentDateTime() );
+ mPrefs->setLastSync( TQDateTime::tqcurrentDateTime() );
return true;
}
@@ -269,7 +269,7 @@ void ResourceSlox::slotResult( KIO::Job *job )
a.setResource( this );
a.setChanged( false );
- mAddrMap.replace( a.uid(), a );
+ mAddrMap.tqreplace( a.uid(), a );
// TODO: Do we need to try to associate addressees with slox accounts?
@@ -306,7 +306,7 @@ void ResourceSlox::slotUploadResult( KIO::Job *job )
TQValueList<SloxItem>::ConstIterator it;
for( it = items.begin(); it != items.end(); ++it ) {
SloxItem item = *it;
- if ( !item.response.contains( "200" ) ) {
+ if ( !item.response.tqcontains( "200" ) ) {
savingError( this, item.response + "\n" + item.responseDescription );
continue;
}
@@ -320,7 +320,7 @@ void ResourceSlox::slotUploadResult( KIO::Job *job )
a.setUid( "kresources_slox_kabc_" + item.sloxId );
a.setResource( this );
a.setChanged( false );
- mAddrMap.replace( a.uid(), a );
+ mAddrMap.tqreplace( a.uid(), a );
saveCache();
}
}
@@ -603,7 +603,7 @@ void ResourceSlox::createAddresseeFields( TQDomDocument &doc, TQDomElement &prop
else
pnSaveMap = mPhoneNumberSloxMap;
for ( PhoneNumber::List::ConstIterator it = pnlist.begin() ; it != pnlist.end(); ++it ) {
- if ( pnSaveMap.contains( (*it).type() ) ) {
+ if ( pnSaveMap.tqcontains( (*it).type() ) ) {
TQStringList l = pnSaveMap[(*it).type()];
TQString fn = l.first();
l.remove( l.begin() );