summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qwindow.h')
-rw-r--r--src/gui/kernel/qwindow.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h
index 1d5a134f6d..b2889539ef 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)); }