diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:27:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:27:27 -0600 |
commit | 94273bcb909fac42ef9427e3d8a614cab8c29c66 (patch) | |
tree | 91b99186971ecb475db3ca41b1b12df24029e389 /kaddressbook/xxport/ldif_xxport.cpp | |
parent | 41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff) | |
download | tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip |
Rename KABC namespace
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 ); |