- 
    Task 
- 
    Resolution: Done
- 
    P2: Important 
- 
    None
- 
    None
- 
        f13acef7ba7ba48c6d4a057636dca8ddb85a72cd
The QPixmnap code contains four Qt 5 to-do comments:
qpixmap.cpp
QPixmap QPixmap::grabWidget(QObject *widget, const QRect &rectangle) { QPixmap pixmap; // ### Qt5: should we keep or remove this method? // SC solution would be to install a callback form QtWidgets, but ugly. qWarning("QPixmap::grabWidget is deprecated, use QWidget::grab() instead"); if (!widget) return pixmap; QMetaObject::invokeMethod(widget, "grab", Qt::DirectConnection, Q_RETURN_ARG(QPixmap, pixmap), Q_ARG(QRect, rectangle)); return pixmap; }
qpixmap.h
bool isNull() const; // ### Qt 5: make inline ... int width() const; // ### Qt 5: make inline int height() const; // ### Qt 5: make inline
These comments should either be actioned for Qt 5 (while preserving source-compatibility), removed, or changed to Qt 6 to-do's.
- resulted from
- 
                    QTBUG-23524 [API] Grep the source for Qt5 todo items -         
- Closed
 
-