diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
commit | f4fae92b6768541e2952173c3d4b09040f95bf7e (patch) | |
tree | d8c5d93232235cd635f3310b4d95490df181ba2d /libkmime/tests/test_kmime_codec.cpp | |
parent | 125c0a08265b75a133644d3b55f47e37c919f45d (diff) | |
download | tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip |
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
Diffstat (limited to 'libkmime/tests/test_kmime_codec.cpp')
-rw-r--r-- | libkmime/tests/test_kmime_codec.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libkmime/tests/test_kmime_codec.cpp b/libkmime/tests/test_kmime_codec.cpp index e30a89ac9..68ab08ec7 100644 --- a/libkmime/tests/test_kmime_codec.cpp +++ b/libkmime/tests/test_kmime_codec.cpp @@ -239,8 +239,8 @@ void encode_decode_convenience_qba( bool encode, const Codec * codec, else out = codec->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); |