api: remove QWindow::move

QWindow::setPos is the correct api.

Change-Id: I5439338e9bc6933800d66331f20ce554b017c4fb
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
bb10
Girish Ramakrishnan 2012-04-13 13:17:13 -07:00 committed by Qt by Nokia
parent f285356e88
commit 2c13dc7482
1 changed files with 0 additions and 5 deletions

View File

@ -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)); }