Fix a typo in the method name

Change-Id: Ic23877e46b0b94222ae10d5ac766825ea5184e3e
Reviewed-on: http://codereview.qt-project.org/4403
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Vesa Rantanen <vesa.rantanen@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
Lars Knoll 2011-09-07 22:01:49 +02:00
parent a517afd54f
commit 65f4924425
3 changed files with 6 additions and 3 deletions

View File

@ -82,9 +82,12 @@ QTransform QInputPanel::inputItemTransform() const
return d->inputItemTransform;
}
void QInputPanel::setInputItemTranform(const QTransform &transform)
void QInputPanel::setInputItemTransform(const QTransform &transform)
{
Q_D(QInputPanel);
if (d->inputItemTransform == transform)
return;
d->inputItemTransform = transform;
emit cursorRectangleChanged();
}

View File

@ -73,7 +73,7 @@ public:
QWindow *inputWindow() const;
QTransform inputItemTransform() const;
void setInputItemTranform(const QTransform &transform);
void setInputItemTransform(const QTransform &transform);
// in window coordinates
QRectF cursorRectangle() const; // ### what if we have rotations for the item?

View File

@ -368,7 +368,7 @@ void QWidgetPrivate::updateWidgetTransform()
QTransform t;
QPoint p = q->mapTo(q->topLevelWidget(), QPoint(0,0));
t.translate(p.x(), p.y());
qApp->inputPanel()->setInputItemTranform(t);
qApp->inputPanel()->setInputItemTransform(t);
}
}