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:
parent
23ad9c3cf2
commit
f13acef7ba
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user