Ignore:
Timestamp:
Nov 22, 2009, 9:40:51 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui/kernel: QClipboard: More verbose debugging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qclipboard_pm.cpp

    r334 r336  
    115115
    116116#ifdef QCLIPBOARD_DEBUG
     117
     118
     119
    117120    foreach(QPMMime::Match match, matches)
    118121        DEBUG(("QClipboardWatcher::peekData: converter %p mime \"%ls\" "
     
    257260        foreach(QPMMime::Match match, matches)
    258261            DEBUG(("QClipboardData::setSource: match: converter %p format 0x%lX "
    259                    "priority %d", match.converter, match.format, match.priority));
     262                   "(%ls) priority %d", match.converter, match.format,
     263                   QPMMime::formatName(match.format).utf16(), match.priority));
    260264    }
    261265#endif
     
    307311            ok2 = WinSetClipbrdData(NULLHANDLE, data, format, flags);
    308312    }
    309     DEBUG(("QClipboardData::setClipboard: convert to CF 0x%lX flags 0x%lX "
    310            "data 0x%lX delayed %d ok %d", format, flags, data, isDelayed, ok));
     313    DEBUG(("QClipboardData::setClipboard: convert to format 0x%lX (%ls) "
     314           "flags 0x%lX data 0x%lX delayed %d ok %d", format,
     315           QPMMime::formatName(format).utf16(), flags, data, isDelayed, ok));
    311316#ifndef QT_NO_DEBUG
    312317    if (!ok2) {
     
    410415
    411416        case WM_RENDERFMT: {
    412             DEBUG(("QClipboardData::message: WM_RENDERFMT: CF 0x%lX", (ULONG)mp1));
     417            DEBUG(("QClipboardData::message: WM_RENDERFMT: CF 0x%lX (%ls)",
     418                   (ULONG)mp1, QPMMime::formatName((ULONG)mp1).utf16()));
    413419            if (src) {
    414420                foreach(QPMMime::Match match, matches) {
Note: See TracChangeset for help on using the changeset viewer.