diff options
Diffstat (limited to 'kaddressbook/xxport/eudora_xxport.cpp')
-rw-r--r-- | kaddressbook/xxport/eudora_xxport.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kaddressbook/xxport/eudora_xxport.cpp b/kaddressbook/xxport/eudora_xxport.cpp index d31cd1115..ca804fe30 100644 --- a/kaddressbook/xxport/eudora_xxport.cpp +++ b/kaddressbook/xxport/eudora_xxport.cpp @@ -17,8 +17,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #include <tqfile.h> @@ -38,8 +38,8 @@ K_EXPORT_KADDRESSBOOK_XXFILTER( libkaddrbk_eudora_xxport, EudoraXXPort ) -EudoraXXPort::EudoraXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name ) - : KAB::XXPort( ab, parent, name ) +EudoraXXPort::EudoraXXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name ) + : KAB::XXPort( ab, tqparent, name ) { createImportAction( i18n( "Import Eudora Addressbook..." ) ); } @@ -124,22 +124,22 @@ TQString EudoraXXPort::key( const TQString& line) const { int e; TQString result; - int b = line.find( '\"', 0 ); + int b = line.tqfind( '\"', 0 ); if ( b == -1 ) { - b = line.find( ' ' ); + b = line.tqfind( ' ' ); if ( b == -1 ) return result; b++; - e = line.find( ' ', b ); + e = line.tqfind( ' ', b ); result = line.mid( b, e - b ); return result; } b++; - e = line.find( '\"', b ); + e = line.tqfind( '\"', b ); if ( e == -1 ) return result; @@ -191,14 +191,14 @@ TQString EudoraXXPort::get( const TQString& line, const TQString& key ) const uint i; // Find formatted key, return on error - b = line.find( fd ); + b = line.tqfind( fd ); if ( b == -1 ) - return TQString::null; + return TQString(); b += fd.length(); - e = line.find( '>', b ); + e = line.tqfind( '>', b ); if ( e == -1 ) - return TQString::null; + return TQString(); e--; TQString result = line.mid( b, e - b + 1 ); |