Fix constness of QInputPanel::keyboardRectangle()
Change-Id: I13552ed0c357b19486f389a8fbf2c338652437c9 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
This commit is contained in:
parent
ab7c7b66ec
commit
90a7e6953d
@ -159,9 +159,9 @@ QRectF QInputPanel::cursorRectangle() const
|
|||||||
\property QInputPanel::keyboardRectangle
|
\property QInputPanel::keyboardRectangle
|
||||||
\brief Virtual keyboard's geometry in window coordinates.
|
\brief Virtual keyboard's geometry in window coordinates.
|
||||||
*/
|
*/
|
||||||
QRectF QInputPanel::keyboardRectangle()
|
QRectF QInputPanel::keyboardRectangle() const
|
||||||
{
|
{
|
||||||
Q_D(QInputPanel);
|
Q_D(const QInputPanel);
|
||||||
QPlatformInputContext *ic = d->platformInputContext();
|
QPlatformInputContext *ic = d->platformInputContext();
|
||||||
if (ic)
|
if (ic)
|
||||||
return ic->keyboardRect();
|
return ic->keyboardRect();
|
||||||
|
@ -82,7 +82,7 @@ public:
|
|||||||
QRectF cursorRectangle() const; // ### what if we have rotations for the item?
|
QRectF cursorRectangle() const; // ### what if we have rotations for the item?
|
||||||
|
|
||||||
// keyboard geometry in window coords
|
// keyboard geometry in window coords
|
||||||
QRectF keyboardRectangle();
|
QRectF keyboardRectangle() const;
|
||||||
|
|
||||||
enum Action {
|
enum Action {
|
||||||
Click,
|
Click,
|
||||||
|
Loading…
Reference in New Issue
Block a user