summaryrefslogtreecommitdiffstats
path: root/kresources/slox/kabcresourceslox.cpp
diff options
context:
space:
mode:
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 16d5aced..433a6adb 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() );