api: remove QWindow::move
QWindow::setPos is the correct api. Change-Id: I5439338e9bc6933800d66331f20ce554b017c4fb Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>bb10
parent
f285356e88
commit
2c13dc7482
|
|
@ -183,11 +183,6 @@ public:
|
|||
inline QSize size() const { return geometry().size(); }
|
||||
inline QPoint pos() const { return geometry().topLeft(); }
|
||||
|
||||
#ifdef QT_DEPRECATED
|
||||
QT_DEPRECATED inline void move(const QPoint &pt) { setPos(pt); }
|
||||
QT_DEPRECATED inline void move(int posx, int posy) { setPos(posx, posy); }
|
||||
#endif
|
||||
|
||||
inline void setPos(const QPoint &pt) { setGeometry(QRect(pt, size())); }
|
||||
inline void setPos(int posx, int posy) { setPos(QPoint(posx, posy)); }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue