
io.qt.gui.QInputMethodQueryEvent Maven / Gradle / Ivy
package io.qt.gui;
import io.qt.*;
/**
* 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();
}
/**
* See QInputMethodQueryEvent:: QInputMethodQueryEvent(QInputMethodQueryEvent)
*/
protected QInputMethodQueryEvent(io.qt.gui.@StrictNonNull 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);
/**
* See QInputMethodQueryEvent:: QInputMethodQueryEvent(Qt::InputMethodQueries)
*/
public QInputMethodQueryEvent(io.qt.core.Qt.@NonNull 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:: operator=(QInputMethodQueryEvent)
*/
@QtUninvokable
protected final void assign(io.qt.gui.@StrictNonNull QInputMethodQueryEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
assign_native_cref_QInputMethodQueryEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QInputMethodQueryEvent(long __this__nativeId, long other);
/**
* See QInputMethodQueryEvent:: queries()const
*/
@QtUninvokable
public final io.qt.core.Qt.@NonNull InputMethodQueries queries(){
return new io.qt.core.Qt.InputMethodQueries(queries_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int queries_native_constfct(long __this__nativeId);
/**
* See QInputMethodQueryEvent:: setValue(Qt::InputMethodQuery, QVariant)
*/
@QtUninvokable
public final void setValue(io.qt.core.Qt.@NonNull InputMethodQuery query, java.lang.Object value){
setValue_native_Qt_InputMethodQuery_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), query.value(), value);
}
@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
*/
@QtUninvokable
public final java.lang.Object value(io.qt.core.Qt.@NonNull InputMethodQuery query){
return value_native_Qt_InputMethodQuery_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), query.value());
}
@QtUninvokable
private native java.lang.Object value_native_Qt_InputMethodQuery_constfct(long __this__nativeId, int query);
/**
*
*/
@QtUninvokable
@Override
public io.qt.gui.@Nullable QInputMethodQueryEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QInputMethodQueryEvent clone_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QInputMethodQueryEvent(QPrivateConstructor p) { super(p); }
/**
* Overloaded constructor for {@link #QInputMethodQueryEvent(io.qt.core.Qt.InputMethodQueries)}.
*/
public QInputMethodQueryEvent(io.qt.core.Qt.@NonNull InputMethodQuery @NonNull... queries) {
this(new io.qt.core.Qt.InputMethodQueries(queries));
}
/**
* @deprecated Use {@link #assign(io.qt.gui.QInputMethodQueryEvent)} instead.
*/
@Deprecated
@QtUninvokable
protected final void set(io.qt.gui.@StrictNonNull QInputMethodQueryEvent other) {
assign(other);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy