summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod/qinputcontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/inputmethod/qinputcontext.cpp')
-rw-r--r--src/gui/inputmethod/qinputcontext.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/inputmethod/qinputcontext.cpp b/src/gui/inputmethod/qinputcontext.cpp
index 8ee417f..ea6ed35 100644
--- a/src/gui/inputmethod/qinputcontext.cpp
+++ b/src/gui/inputmethod/qinputcontext.cpp
@@ -467,32 +467,32 @@ bool QInputContext::x11FilterEvent(QWidget * /*keywidget*/, XEvent * /*event*/)
}
#endif // Q_WS_X11
-#ifdef Q_WS_S60
+#ifdef Q_OS_SYMBIAN
/*!
\since 4.6
This function may be overridden only if input method is depending
- on Symbian and you need raw TWsEvent. Otherwise, this function must not.
+ on Symbian and you need raw Symbian events. Otherwise, this function must not.
- This function is designed to filter raw key events on S60, but
+ This function is designed to filter raw key events on Symbian, but
other input methods may use this to implement some special
features.
Return true if the \a event has been consumed. Otherwise, the
unfiltered \a event will be translated into QEvent and forwarded
- to filterEvent(). Filtering at both s60FilterEvent() and
+ to filterEvent(). Filtering at both symbianFilterEvent() and
filterEvent() in single input method is allowed.
\a keywidget is a client widget into which a text is inputted. \a
- event is inputted TWsEvent.
+ event is inputted QSymbianEvent.
\sa filterEvent()
*/
-bool QInputContext::s60FilterEvent(QWidget * /*keywidget*/, TWsEvent * /*event*/)
+bool QInputContext::symbianFilterEvent(QWidget * /*keywidget*/, const QSymbianEvent * /*event*/)
{
return false;
}
-#endif // Q_WS_S60
+#endif // Q_OS_SYMBIAN
QT_END_NAMESPACE