
io.qt.gui.QInputMethodQueryEvent Maven / Gradle / Ivy
package io.qt.gui;
/**
* Event sent by the input context to input objects
* Java wrapper for Qt class QInputMethodQueryEvent
*/
public class QInputMethodQueryEvent extends io.qt.core.QEvent
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Overloaded constructor for {@link #QInputMethodQueryEvent(io.qt.core.Qt.InputMethodQueries)}.
*/
public QInputMethodQueryEvent(io.qt.core.Qt.InputMethodQuery ... queries){
this(new io.qt.core.Qt.InputMethodQueries(queries));
}
/**
* See QInputMethodQueryEvent::QInputMethodQueryEvent(Qt::InputMethodQueries)
*/
public QInputMethodQueryEvent(io.qt.core.Qt.InputMethodQueries queries){
super((QPrivateConstructor)null);
initialize_native(this, queries);
}
private native static void initialize_native(QInputMethodQueryEvent instance, io.qt.core.Qt.InputMethodQueries queries);
/**
* See QInputMethodQueryEvent::QInputMethodQueryEvent(QInputMethodQueryEvent)
*/
protected QInputMethodQueryEvent(io.qt.gui.QInputMethodQueryEvent arg__1){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
initialize_native(this, arg__1);
}
private native static void initialize_native(QInputMethodQueryEvent instance, io.qt.gui.QInputMethodQueryEvent arg__1);
@io.qt.QtUninvokable
protected final void set(io.qt.gui.QInputMethodQueryEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
set_native_cref_QInputMethodQueryEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native void set_native_cref_QInputMethodQueryEvent(long __this__nativeId, long other);
/**
* See QInputMethodQueryEvent::queries()const
*/
@io.qt.QtUninvokable
public final io.qt.core.Qt.InputMethodQueries queries(){
return new io.qt.core.Qt.InputMethodQueries(queries_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int queries_native_constfct(long __this__nativeId);
/**
* See QInputMethodQueryEvent::setValue(Qt::InputMethodQuery,QVariant)
*/
@io.qt.QtUninvokable
public final void setValue(io.qt.core.Qt.InputMethodQuery query, java.lang.Object value){
setValue_native_Qt_InputMethodQuery_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), query.value(), value);
}
@io.qt.QtUninvokable
private native void setValue_native_Qt_InputMethodQuery_cref_QVariant(long __this__nativeId, int query, java.lang.Object value);
/**
* See QInputMethodQueryEvent::value(Qt::InputMethodQuery)const
*/
@io.qt.QtUninvokable
public final java.lang.Object value(io.qt.core.Qt.InputMethodQuery query){
return value_native_Qt_InputMethodQuery_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), query.value());
}
@io.qt.QtUninvokable
private native java.lang.Object value_native_Qt_InputMethodQuery_constfct(long __this__nativeId, int query);
/**
*
*/
@io.qt.QtUninvokable
public io.qt.gui.QInputMethodQueryEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QInputMethodQueryEvent clone_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QInputMethodQueryEvent(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private static native String toString_native(long __this_nativeId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy