To be reverted after I19c00b54b1d2712f9418e8bcf56e35a8008b89ef and
and Ibd5cd10814c8cbd2b1f6e49b70782c7768d2366d are both integrated
Change-Id: I2e14d732cc7fc4168e8b4507a050f43f1e4c9e49
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
inline void setPosition(const QPoint &pt) { setGeometry(QRect(pt, size())); }
inline void setPosition(int posx, int posy) { setPosition(QPoint(posx, posy)); }
+// Temporary backwards-compatible accessors for the benefit of Declarative
+// to be removed ASAP
+ inline void setPos(const QPoint &pt) { setPosition(pt); }
+ inline void setPos(int posx, int posy) { setPosition(posx, posy); }
+// end of temporary accessors
+
void resize(const QSize &newSize);
inline void resize(int w, int h) { resize(QSize(w, h)); }