diff options
author | Fabio Rossi <rossi.f@inwind.it> | 2018-11-27 16:40:04 +0100 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-11-29 00:41:26 +0900 |
commit | 79f912680e9a5ef3a9c07d3ff14529531bc9cd2e (patch) | |
tree | 0da7c3004b19b579796d9df686130832b43f288c /ktnef/lib | |
parent | 6697c0bf7c3caae1886c891dd99129402ed97311 (diff) | |
download | tdepim-79f912680e9a5ef3a9c07d3ff14529531bc9cd2e.tar.gz tdepim-79f912680e9a5ef3a9c07d3ff14529531bc9cd2e.zip |
Use TQString for debugging output with unicode strings
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
(cherry picked from commit 1340cc32351256546e33f07f974fe63fb6c29eaa)
Diffstat (limited to 'ktnef/lib')
-rw-r--r-- | ktnef/lib/ktnefparser.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ktnef/lib/ktnefparser.cpp b/ktnef/lib/ktnefparser.cpp index 0b374afab..749cb948a 100644 --- a/ktnef/lib/ktnefparser.cpp +++ b/ktnef/lib/ktnefparser.cpp @@ -855,7 +855,11 @@ bool KTNEFParser::readMAPIProperties( TQMap<int,KTNEFProperty*>& props, KTNEFAtt kdDebug().form( "(tag=%04x) MAPI time%s: %s\n", mapi.tag, mapiname.ascii(), mapi.value.toString().ascii() ); break; case MAPI_TYPE_USTRING: - kdDebug().form( "(tag=%04x) MAPI unicode string%s: size=%d \"%s\"\n", mapi.tag, mapiname.ascii(), mapi.value.toByteArray().size(), mapi.value.toString().ascii() ); + kdDebug() << TQString( "(tag=%1) MAPI unicode string%2: size=%3 \"%4\"\n" ) + .arg( TQString( "%1" ).arg(mapi.tag, 4, 16).replace(" ","0") ) + .arg( mapiname ) + .arg( mapi.value.toByteArray().size() ) + .arg( mapi.value.toString() ); break; case MAPI_TYPE_STRING8: kdDebug().form( "(tag=%04x) MAPI string%s: size=%d \"%s\"\n", mapi.tag, mapiname.ascii(), mapi.value.toByteArray().size(), mapi.value.toString().ascii() ); |