summaryrefslogtreecommitdiffstats
path: root/kresources/kolab/kabc/contact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/kolab/kabc/contact.cpp')
-rw-r--r--kresources/kolab/kabc/contact.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kresources/kolab/kabc/contact.cpp b/kresources/kolab/kabc/contact.cpp
index 7a26f62f7..3bb0054ed 100644
--- a/kresources/kolab/kabc/contact.cpp
+++ b/kresources/kolab/kabc/contact.cpp
@@ -487,7 +487,7 @@ void Contact::saveCustomAttributes( TQDomElement& element ) const
writeString( element, (*it).name, (*it).value );
} else {
// skip writing the freebusyurl as it is a hack we need to remove eventually
- if ( (*it).name == TQString::tqfromLatin1( "FreeBusyURL" ) ) {
+ if ( (*it).name == TQString::fromLatin1( "FreeBusyURL" ) ) {
continue;
}
@@ -1110,7 +1110,7 @@ void Contact::setFields( const KABC::Addressee* addressee )
// (includes e.g. crypto settings, and extra im addresses)
TQStringList knownCustoms;
for ( const char** p = s_knownCustomFields; *p; ++p )
- knownCustoms << TQString::tqfromLatin1( *p );
+ knownCustoms << TQString::fromLatin1( *p );
TQStringList customs = addressee->customs();
for( TQStringList::Iterator it = customs.begin(); it != customs.end(); ++it ) {
// KABC::Addressee doesn't offer a real way to iterate over customs, other than splitting strings ourselves
@@ -1253,7 +1253,7 @@ void Contact::saveTo( KABC::Addressee* addressee )
}
for( TQValueList<Custom>::ConstIterator it = mCustomList.begin(); it != mCustomList.end(); ++it ) {
- TQString app = (*it).app.isEmpty() ? TQString::tqfromLatin1( "KADDRESSBOOK" ) : (*it).app;
+ TQString app = (*it).app.isEmpty() ? TQString::fromLatin1( "KADDRESSBOOK" ) : (*it).app;
addressee->insertCustom( app, (*it).name, (*it).value );
}
//kdDebug(5006) << addressee->customs() << endl;