Remove todo comments that are no longer relevant.

Task-number: QTBUG-25067

Change-Id: I5d3022a2881a3c6c97429f609fe567bd9970a046
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
This commit is contained in:
Kim Motoyoshi Kalland 2012-04-17 13:17:16 +02:00 committed by Qt by Nokia
parent 23ad9c3cf2
commit f13acef7ba
2 changed files with 3 additions and 5 deletions

View File

@ -934,8 +934,6 @@ static void sendResizeEvents(QWidget *target)
QPixmap QPixmap::grabWidget(QObject *widget, const QRect &rectangle) QPixmap QPixmap::grabWidget(QObject *widget, const QRect &rectangle)
{ {
QPixmap pixmap; 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"); qWarning("QPixmap::grabWidget is deprecated, use QWidget::grab() instead");
if (!widget) if (!widget)
return pixmap; return pixmap;

View File

@ -84,11 +84,11 @@ public:
operator QVariant() const; operator QVariant() const;
bool isNull() const; // ### Qt 5: make inline bool isNull() const;
int devType() const; int devType() const;
int width() const; // ### Qt 5: make inline int width() const;
int height() const; // ### Qt 5: make inline int height() const;
QSize size() const; QSize size() const;
QRect rect() const; QRect rect() const;
int depth() const; int depth() const;