From bab40890696ec68c337dc290880423a0602b83c7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 16 Jan 2011 02:40:35 +0000 Subject: Finished remaining porting to new TQt API git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kabc/formats/binaryformat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kabc/formats/binaryformat.cpp') diff --git a/kabc/formats/binaryformat.cpp b/kabc/formats/binaryformat.cpp index d09be306b..2e66a6be7 100644 --- a/kabc/formats/binaryformat.cpp +++ b/kabc/formats/binaryformat.cpp @@ -113,7 +113,7 @@ void BinaryFormat::saveAll( AddressBook*, Resource *resource, TQFile *file ) } // set real number of entries - stream.device()->at( 2 * sizeof( TQ_UINT32 ) ); + stream.tqdevice()->at( 2 * sizeof( TQ_UINT32 ) ); stream << counter; } @@ -140,12 +140,12 @@ bool BinaryFormat::checkHeader( TQDataStream &stream ) const } if ( magic != 0x2e93e ) { - kdError() << i18n("File '%1' is not binary format.").arg( file->name() ) << endl; + kdError() << TQString(i18n("File '%1' is not binary format.").arg( file->name() )) << endl; return false; } if ( version != BINARY_FORMAT_VERSION ) { - kdError() << i18n("File '%1' is the wrong version.").arg( file->name() ) << endl; + kdError() << TQString(i18n("File '%1' is the wrong version.").arg( file->name() )) << endl; return false; } -- cgit v1.2.3