diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-09-09 06:10:08 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-09-09 06:10:08 (GMT) |
commit | fe24f53eae3c5e5f67d0d3cd42637772cd27ce2a (patch) | |
tree | 000ea84a0a54241e41d44f436f4f66b011482a2e /src/gui/inputmethod/qcoefepinputcontext_s60.cpp | |
parent | 5a4d3eec863e10d45edb76659c06729efdea4d9d (diff) | |
download | Qt-fe24f53eae3c5e5f67d0d3cd42637772cd27ce2a.zip Qt-fe24f53eae3c5e5f67d0d3cd42637772cd27ce2a.tar.gz Qt-fe24f53eae3c5e5f67d0d3cd42637772cd27ce2a.tar.bz2 |
Fixed 'use of function is deprecated' warnings reported by RVCT
Task-number: 241223
Reviewed-by: Janne Koskinen
Diffstat (limited to 'src/gui/inputmethod/qcoefepinputcontext_s60.cpp')
-rw-r--r-- | src/gui/inputmethod/qcoefepinputcontext_s60.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp index 104d158..5248868 100644 --- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp +++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp @@ -213,7 +213,7 @@ void QCoeFepInputContext::mouseHandler( int x, QMouseEvent *event) QList<QInputMethodEvent::Attribute> attributes; attributes << QInputMethodEvent::Attribute(QInputMethodEvent::Selection, pos + x, 0, QVariant()); - QInputMethodEvent event("", attributes); + QInputMethodEvent event(QLatin1String(""), attributes); sendEvent(event); } } @@ -500,8 +500,8 @@ void QCoeFepInputContext::SetInlineEditingCursorVisibilityL(TBool aCursorVisibil void QCoeFepInputContext::CancelFepInlineEdit() { QList<QInputMethodEvent::Attribute> attributes; - QInputMethodEvent event("", attributes); - event.setCommitString("", 0, 0); + QInputMethodEvent event(QLatin1String(""), attributes); + event.setCommitString(QLatin1String(""), 0, 0); m_preeditString.clear(); sendEvent(event); @@ -618,7 +618,7 @@ void QCoeFepInputContext::commitCurrentString(bool triggeredBySymbian) } QList<QInputMethodEvent::Attribute> attributes; - QInputMethodEvent event("", attributes); + QInputMethodEvent event(QLatin1String(""), attributes); event.setCommitString(m_preeditString, 0, 0);//m_preeditString.size()); m_preeditString.clear(); sendEvent(event); |