diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2012-04-17 13:17:16 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-18 11:36:05 +0200 |
commit | f13acef7ba7ba48c6d4a057636dca8ddb85a72cd (patch) | |
tree | 4f25ac143cf0f0dfa8cc28af10c8e801b266c62e /src/gui | |
parent | 23ad9c3cf2892aae3a3ef30b85832e59500abad9 (diff) |
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>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/image/qpixmap.cpp | 2 | ||||
-rw-r--r-- | src/gui/image/qpixmap.h | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/image/qpixmap.cpp b/src/gui/image/qpixmap.cpp index 65b9d62dfa..b581248774 100644 --- a/src/gui/image/qpixmap.cpp +++ b/src/gui/image/qpixmap.cpp @@ -934,8 +934,6 @@ static void sendResizeEvents(QWidget *target) 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; diff --git a/src/gui/image/qpixmap.h b/src/gui/image/qpixmap.h index 0b21be5c8e..db92965274 100644 --- a/src/gui/image/qpixmap.h +++ b/src/gui/image/qpixmap.h @@ -84,11 +84,11 @@ public: operator QVariant() const; - bool isNull() const; // ### Qt 5: make inline + bool isNull() const; int devType() const; - int width() const; // ### Qt 5: make inline - int height() const; // ### Qt 5: make inline + int width() const; + int height() const; QSize size() const; QRect rect() const; int depth() const; |