summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qinputmethod.h
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@digia.com>2013-02-19 12:18:51 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-27 11:24:24 +0100
commitc65ecc50ae4c322294f01685a2b2d2a748a9c940 (patch)
tree743347255afc963d99c2ba41f47fa2b1ab609484 /src/gui/kernel/qinputmethod.h
parent323ba46f72eda8c4da84741467683fdda50653a5 (diff)
Enablers for input methods on Android
Adding QInputMethod::inputItemRectangle()/setInputItemRectangle(). Known bugs: inputItemRectangle() not implemented for graphics view items; inputItemTransform() implementation was already missing. Change-Id: I72b1d43350e93858a2b374de3f2199500a96dc79 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by: BogDan Vatra <bogdan@kde.org> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/gui/kernel/qinputmethod.h')
-rw-r--r--src/gui/kernel/qinputmethod.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qinputmethod.h b/src/gui/kernel/qinputmethod.h
index eceebb1c0f..fe6cc3f331 100644
--- a/src/gui/kernel/qinputmethod.h
+++ b/src/gui/kernel/qinputmethod.h
@@ -67,6 +67,9 @@ public:
QTransform inputItemTransform() const;
void setInputItemTransform(const QTransform &transform);
+ QRectF inputItemRectangle() const;
+ void setInputItemRectangle(const QRectF &rect);
+
// in window coordinates
QRectF cursorRectangle() const; // ### what if we have rotations for the item?