diff options
Diffstat (limited to 'kaddressbook/xxport/ldif_xxport.cpp')
-rw-r--r-- | kaddressbook/xxport/ldif_xxport.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kaddressbook/xxport/ldif_xxport.cpp b/kaddressbook/xxport/ldif_xxport.cpp index 31d3c2936..8a68c481a 100644 --- a/kaddressbook/xxport/ldif_xxport.cpp +++ b/kaddressbook/xxport/ldif_xxport.cpp @@ -50,7 +50,7 @@ K_EXPORT_KADDRESSBOOK_XXFILTER( libkaddrbk_ldif_xxport, LDIFXXPort ) -LDIFXXPort::LDIFXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name ) +LDIFXXPort::LDIFXXPort( TDEABC::AddressBook *ab, TQWidget *parent, const char *name ) : KAB::XXPort( ab, parent, name ) { createImportAction( i18n( "Import LDIF Addressbook..." ) ); @@ -59,9 +59,9 @@ LDIFXXPort::LDIFXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *nam /* import */ -KABC::AddresseeList LDIFXXPort::importContacts( const TQString& ) const +TDEABC::AddresseeList LDIFXXPort::importContacts( const TQString& ) const { - KABC::AddresseeList addrList; + TDEABC::AddresseeList addrList; TQString fileName = KFileDialog::getOpenFileName( TQDir::homeDirPath(), "text/x-ldif", 0 ); @@ -81,7 +81,7 @@ KABC::AddresseeList LDIFXXPort::importContacts( const TQString& ) const TQDateTime dtDefault = TQFileInfo(file).lastModified(); file.close(); - KABC::LDIFConverter::LDIFToAddressee( wholeFile, addrList, dtDefault ); + TDEABC::LDIFConverter::LDIFToAddressee( wholeFile, addrList, dtDefault ); return addrList; } @@ -89,7 +89,7 @@ KABC::AddresseeList LDIFXXPort::importContacts( const TQString& ) const /* export */ -bool LDIFXXPort::exportContacts( const KABC::AddresseeList &list, const TQString& ) +bool LDIFXXPort::exportContacts( const TDEABC::AddresseeList &list, const TQString& ) { KURL url = KFileDialog::getSaveURL( TQDir::homeDirPath() + "/addressbook.ldif", "text/x-ldif" ); @@ -132,10 +132,10 @@ bool LDIFXXPort::exportContacts( const KABC::AddresseeList &list, const TQString } } -void LDIFXXPort::doExport( TQFile *fp, const KABC::AddresseeList &list ) +void LDIFXXPort::doExport( TQFile *fp, const TDEABC::AddresseeList &list ) { TQString str; - KABC::LDIFConverter::addresseeToLDIF( list, str ); + TDEABC::LDIFConverter::addresseeToLDIF( list, str ); TQTextStream t( fp ); t.setEncoding( TQTextStream::UnicodeUTF8 ); |