From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkmime/tests/test_dates.cpp | 10 +++++----- libkmime/tests/test_kmime_codec.cpp | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'libkmime/tests') diff --git a/libkmime/tests/test_dates.cpp b/libkmime/tests/test_dates.cpp index 7087a01a..e3a40f81 100644 --- a/libkmime/tests/test_dates.cpp +++ b/libkmime/tests/test_dates.cpp @@ -80,14 +80,14 @@ main() "Z MMMM dddd yyyy") <decode( infile_buffer, withCRLF ); if ( writing ) { - Q_LONG written = outfile.writeBlock( out ); - assert( written == (Q_LONG)out.size() ); + TQ_LONG written = outfile.writeBlock( out ); + assert( written == (TQ_LONG)out.size() ); } } @@ -304,8 +304,8 @@ void encode_decode_kio( bool encode, const Codec * codec, else decode_kio_internal( dec, iit, iend, out ); if ( writing && out.size() ) { - Q_LONG written = outfile.writeBlock( out ); - assert( written == (Q_LONG)out.size() ); + TQ_LONG written = outfile.writeBlock( out ); + assert( written == (TQ_LONG)out.size() ); } } while ( out.size() ); @@ -329,7 +329,7 @@ void encode_decode_chunkwise( bool encode, const Codec * codec, #define write_full_outdata_then_reset do { \ kdDebug( verbose ) << " flushing output buffer." << endl; \ if ( writing ) { \ - Q_LONG outlen = outfile.writeBlock( outdata.data(), \ + TQ_LONG outlen = outfile.writeBlock( outdata.data(), \ outdata.size() ); \ if ( outlen != (int)outdata.size() ) \ exit(OUTFILE_WRITE_ERR); \ @@ -432,7 +432,7 @@ void encode_decode_chunkwise( bool encode, const Codec * codec, // Write out last (partial) output chunk: // if ( writing ) { - Q_LONG outlen = outfile.writeBlock( outdata.data(), + TQ_LONG outlen = outfile.writeBlock( outdata.data(), oit - outdata.begin() ); if ( outlen != oit - outdata.begin() ) exit(OUTFILE_WRITE_ERR); -- cgit v1.2.3