From: Shawn Rutledge Date: Thu, 8 Nov 2012 13:35:05 +0000 (+0100) Subject: Temporary backwards-compatible QWindow::setPos accessors X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a6f49a4223dcfdfb92889d26323783342e50d9a2;p=profile%2Fivi%2Fqtbase.git Temporary backwards-compatible QWindow::setPos accessors To be reverted after I19c00b54b1d2712f9418e8bcf56e35a8008b89ef and and Ibd5cd10814c8cbd2b1f6e49b70782c7768d2366d are both integrated Change-Id: I2e14d732cc7fc4168e8b4507a050f43f1e4c9e49 Reviewed-by: Samuel Rødal --- diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h index 1d5a134..b288953 100644 --- a/src/gui/kernel/qwindow.h +++ b/src/gui/kernel/qwindow.h @@ -238,6 +238,12 @@ public: 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)); }