Ignore:
Timestamp:
Jun 15, 2010, 4:49:35 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: OS/2: Added operator<<(QDebug debug,...) to debug HRGN hangles like "qDebug() << qDebugHRGN(hrgn)".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qwindowdefs_pm.h

    r704 r748  
    9595QDebug operator<<(QDebug debug, const QDebugHWND &d);
    9696
     97struct QDebugHRGN { HRGN hrgn; };
     98inline QDebugHRGN qDebugHRGN(HRGN hrgn) { QDebugHRGN d = { hrgn }; return d; }
     99QDebug operator<<(QDebug debug, const QDebugHRGN &d);
     100
    97101// the following declarations require OS/2 types not defined here,
    98102// don't drag them in as well but require qt_os2.h to be included first
Note: See TracChangeset for help on using the changeset viewer.