Changeset 1006 for trunk/src/gui/kernel/qapplication_pm.cpp
- Timestamp:
- Aug 19, 2011, 12:27:58 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qapplication_pm.cpp
r938 r1006 2639 2639 *****************************************************************************/ 2640 2640 2641 QDebug operator<<(QDebug debug, const QDebugHWND &d) 2642 { 2643 debug << qDebugFmtHex(d.hwnd) << qt_widget_from_hwnd(d.hwnd); 2641 Q_GUI_EXPORT QDebug operator<<(QDebug debug, const QDebugHWND &d) 2642 { 2643 QETWidget *w = (QETWidget *)qt_widget_from_hwnd(d.hwnd); 2644 debug << qDebugFmtHex(d.hwnd) << w; 2645 if (w && w->internalWinId() != w->frameWinId()) { 2646 if (w->internalWinId() == d.hwnd) 2647 debug.nospace() << "(frame " << qDebugFmtHex(w->frameWinId()) << ")"; 2648 else if (w->frameWinId() == d.hwnd) 2649 debug.nospace() << "(client " << qDebugFmtHex(w->internalWinId()) << ")"; 2650 } 2644 2651 return debug; 2645 2652 } 2646 2653 2647 Q Debug operator<<(QDebug debug, const QDebugHRGN &d)2654 QDebug operator<<(QDebug debug, const QDebugHRGN &d) 2648 2655 { 2649 2656 RGNRECT ctl; … … 2666 2673 } 2667 2674 2668 Q Debug operator<<(QDebug debug, const RECTL &rcl)2675 QDebug operator<<(QDebug debug, const RECTL &rcl) 2669 2676 { 2670 2677 debug.nospace() << "RECTL(" << rcl.xLeft << "," << rcl.yBottom … … 2680 2687 #define myDefFlagCut(var,fl,varstr,pos) myDefFlagEx(var,fl,varstr,#fl + pos) 2681 2688 2682 Q Debug operator<<(QDebug debug, const SWP &swp)2689 QDebug operator<<(QDebug debug, const SWP &swp) 2683 2690 { 2684 2691 QByteArray fl; … … 2707 2714 } 2708 2715 2709 Q Debug operator<<(QDebug debug, const QMSG &qmsg)2716 QDebug operator<<(QDebug debug, const QMSG &qmsg) 2710 2717 { 2711 2718 #define myCaseBegin(a) case a: { \
Note:
See TracChangeset
for help on using the changeset viewer.