diff options
author | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2012-05-03 14:58:25 +0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-04 13:02:00 +0200 |
commit | 5190beae8166e615d2f910109cf081505ebe6807 (patch) | |
tree | ee5bd601feefda73847a47f446001fc9ea1a9b69 /src/gui/kernel/qwindow_p.h | |
parent | 5c2a055230e8c3a2bcd0f7f6f601d6c618774a8b (diff) |
Add setCursor API to QWindow
Change-Id: Id430ea9c94475356c9367a135f678f5f9ef795fc
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/gui/kernel/qwindow_p.h')
-rw-r--r-- | src/gui/kernel/qwindow_p.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/kernel/qwindow_p.h b/src/gui/kernel/qwindow_p.h index 375bd1e729..0afd903ead 100644 --- a/src/gui/kernel/qwindow_p.h +++ b/src/gui/kernel/qwindow_p.h @@ -84,6 +84,9 @@ public: , blockedByModalWindow(false) , transientParent(0) , screen(0) +#ifndef QT_NO_CURSOR + , cursor(Qt::ArrowCursor) +#endif { isWindow = true; } @@ -128,6 +131,10 @@ public: QPointer<QWindow> transientParent; QScreen *screen; + +#ifndef QT_NO_CURSOR + QCursor cursor; +#endif }; |