diff options
Diffstat (limited to 'kaddressbook/xxport/pab_xxport.cpp')
-rw-r--r-- | kaddressbook/xxport/pab_xxport.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kaddressbook/xxport/pab_xxport.cpp b/kaddressbook/xxport/pab_xxport.cpp index 621e5d2c2..21ac67c07 100644 --- a/kaddressbook/xxport/pab_xxport.cpp +++ b/kaddressbook/xxport/pab_xxport.cpp @@ -22,7 +22,7 @@ without including the source code for Qt in the source distribution. */ -#include <qfile.h> +#include <tqfile.h> #include <kdebug.h> #include <kfiledialog.h> @@ -40,26 +40,26 @@ K_EXPORT_KADDRESSBOOK_XXFILTER( libkaddrbk_pab_xxport, PABXXPort ) -PABXXPort::PABXXPort( KABC::AddressBook *ab, QWidget *parent, const char *name ) +PABXXPort::PABXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name ) : KAB::XXPort( ab, parent, name ) { createImportAction( i18n("Import MS Exchange Personal Address Book (.PAB)") ); } -KABC::AddresseeList PABXXPort::importContacts( const QString& ) const +KABC::AddresseeList PABXXPort::importContacts( const TQString& ) const { KABC::AddresseeList addrList; - QString fileName = KFileDialog::getOpenFileName( QDir::homeDirPath(), + TQString fileName = KFileDialog::getOpenFileName( TQDir::homeDirPath(), "*.[pP][aA][bB]|" + i18n("MS Exchange Personal Address Book Files (*.pab)"), 0 ); if ( fileName.isEmpty() ) return addrList; - if ( !QFile::exists( fileName ) ) { + if ( !TQFile::exists( fileName ) ) { KMessageBox::sorry( parentWidget(), i18n( "<qt>Could not find a MS Exchange Personal Address Book <b>%1</b>.</qt>" ).arg( fileName ) ); return addrList; } - // pab PAB(QFile::encodeName(file),this,info); + // pab PAB(TQFile::encodeName(file),this,info); // info->setFrom(file); // PAB.convert(); |