CopperSpice API
1.9.2
|
The QInputMethodQueryEvent class provides an event sent by the input context to input objects. More...
Public Methods | |
QInputMethodQueryEvent (Qt::InputMethodQueries queries) | |
Qt::InputMethodQueries | queries () const |
void | setValue (Qt::InputMethodQuery query, const QVariant &value) |
QVariant | value (Qt::InputMethodQuery query) const |
Public Methods inherited from QEvent | |
QEvent (const QEvent &other) | |
QEvent (Type type) | |
virtual | ~QEvent () |
void | accept () |
void | ignore () |
bool | isAccepted () const |
QEvent & | operator= (const QEvent &other) |
void | setAccepted (bool accepted) |
bool | spontaneous () const |
Type | type () const |
Additional Inherited Members | |
Public Types inherited from QEvent | |
enum | Type |
Static Public Methods inherited from QEvent | |
static int | registerEventType (int hint=-1) |
The QInputMethodQueryEvent class provides an event sent by the input context to input objects. It is used by the input method to query a set of properties of the object to be able to support complex input method operations as support for surrounding text and reconversions. The queries() method specifies which properties are queried.
The receiving object should call setValue() on the event to fill in the requested data before calling accept().
|
explicit |
Constructs a query event for the properties given by queries.
|
inline |
Returns the properties queried by the event.
void QInputMethodQueryEvent::setValue | ( | Qt::InputMethodQuery | query, |
const QVariant & | value | ||
) |
Sets the property query to value.
QVariant QInputMethodQueryEvent::value | ( | Qt::InputMethodQuery | query | ) | const |
Returns the value of the property query.