io.qt.widgets.QStyleHintReturnVariant Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.widgets;
import io.qt.*;
/**
* Style hints that return a QVariant
* Java wrapper for Qt class QStyleHintReturnVariant
*/
public class QStyleHintReturnVariant extends io.qt.widgets.QStyleHintReturn
{
/**
* See QStyleHintReturnVariant:: QStyleHintReturnVariant()
*/
public QStyleHintReturnVariant(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QStyleHintReturnVariant instance);
/**
* The variant for style hints that return a QVariant
* See QStyleHintReturnVariant:: variant
*/
@QtUninvokable
public final void setVariant(java.lang.Object variant){
setVariant_native_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), variant);
}
@QtUninvokable
private native void setVariant_native_cref_QVariant(long __this__nativeId, java.lang.Object variant);
/**
* The variant for style hints that return a QVariant
* See QStyleHintReturnVariant:: variant
*/
@QtUninvokable
public final java.lang.Object variant(){
return variant_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.Object variant_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QStyleHintReturnVariant(QPrivateConstructor p) { super(p); }
/**
* @hidden
* Kotlin property getter. In Java use {@link #variant()} instead.
*/
@QtUninvokable
public final java.lang.Object getVariant() {
return variant();
}
}