}
/*!
- \fn void QInputMethodEvent::setTentativeCommitString(const QString &string)
- Sets the tentative commit string to \a string.
-
- The tentative commit string is what the preedit string is expected to be committed as.
- The string can be used within the editor to trigger code that reacts on text changes such as validators.
- \deprecated
-*/
-
-/*!
\fn const QList<Attribute> &QInputMethodEvent::attributes() const
Returns the list of attributes passed to the QInputMethodEvent
*/
/*!
- \fn const QString &tentativeCommitString() const
-
- Returns the text as which preedit string is expected to be committed as.
- The string can be used within the editor to trigger code that reacts on text changes such as validators.
- \deprecated
-
- \sa setTentativeCommitString()
-*/
-
-/*!
\class QInputMethodQueryEvent
\since 5.0
\inmodule QtGui
inline int replacementStart() const { return replace_from; }
inline int replacementLength() const { return replace_length; }
-#if QT_DEPRECATED_SINCE(5, 0)
- QT_DEPRECATED inline void setTentativeCommitString(const QString &string)
- { tentativeCommit = string; }
- QT_DEPRECATED inline const QString &tentativeCommitString() const { return tentativeCommit; }
-#endif
-
QInputMethodEvent(const QInputMethodEvent &other);
private:
QString commit;
int replace_from;
int replace_length;
- QString tentativeCommit;
};
Q_DECLARE_TYPEINFO(QInputMethodEvent::Attribute, Q_MOVABLE_TYPE);