42 #ifndef QWSINPUTCONTEXT_P_H 43 #define QWSINPUTCONTEXT_P_H 56 #include "QtGui/qinputcontext.h" 58 #ifndef QT_NO_QWS_INPUTMETHODS 95 #endif // QT_NO_QWS_INPUTMETHODS 97 #endif // QWSINPUTCONTEXT_P_H void mouseHandler(int x, QMouseEvent *event)
This function can be reimplemented in a subclass to handle mouse press, release, double-click, and move events within the preedit text.
static bool translateIMQueryEvent(QWidget *w, const QWSIMQueryEvent *e)
#define QT_END_NAMESPACE
This macro expands to.
static QWidget * activeWidget()
The QString class provides a Unicode character string.
QWSInputContext(QObject *parent=0)
The QObject class is the base class of all Qt objects.
virtual bool event(QEvent *)
This virtual function receives events to an object and should return true if the event e was recogniz...
#define QT_BEGIN_NAMESPACE
This macro expands to.
static void updateImeStatus(QWidget *w, bool hasFocus)
QString language()
This function must be implemented in any subclasses to return a language code (e. ...
QString identifierName()
This function must be implemented in any subclasses to return the identifier name of the input method...
void setFocusWidget(QWidget *w)
Sets the widget that has an input focus for this input context.
bool isComposing() const
This function indicates whether InputMethodStart event had been sent to the current focus widget...
static bool translateIMEvent(QWidget *w, const QWSIMEvent *e)
The QMouseEvent class contains parameters that describe a mouse event.
void reset()
This function can be reimplemented in a subclass to reset the state of the input method.
QObject * parent() const
Returns a pointer to the parent object.
The QInputContext class abstracts the input method dependent data and composing state.
static bool translateIMInitEvent(const QWSIMInitEvent *e)
void widgetDestroyed(QWidget *w)
This virtual function is called when the specified widget is destroyed.
void update()
This virtual function is called when a state in the focus widget has changed.