diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 02:40:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 02:40:35 +0000 |
commit | bab40890696ec68c337dc290880423a0602b83c7 (patch) | |
tree | 6ba03f720b1fa88235ba339e7aedb4455430357e /kabc/formats | |
parent | f7e71d47719ab6094cf4a9fafffa5ea351973522 (diff) | |
download | tdelibs-bab40890696ec68c337dc290880423a0602b83c7.tar.gz tdelibs-bab40890696ec68c337dc290880423a0602b83c7.zip |
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
Diffstat (limited to 'kabc/formats')
-rw-r--r-- | kabc/formats/binaryformat.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |