io.qt.sensors.QLidReading Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-sensors Show documentation
Show all versions of qtjambi-sensors Show documentation
Provides access to sensor hardware and motion gesture recognition.
package io.qt.sensors;
import io.qt.*;
/**
* Java wrapper for Qt class QLidReading
*/
public class QLidReading extends io.qt.sensors.QSensorReading
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QLidReading.class);
/**
* See QLidReading:: backLidChanged(bool)
*/
public final @NonNull Signal1 backLidChanged = new Signal1<>();
/**
* See QLidReading:: frontLidChanged(bool)
*/
public final @NonNull Signal1 frontLidChanged = new Signal1<>();
/**
* See QLidReading:: QLidReading(QObject*)
*/
public QLidReading(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QLidReading instance, io.qt.core.QObject parent);
/**
* See QLidReading:: backLidClosed()const
*/
@QtPropertyReader(name="backLidClosed")
@QtUninvokable
public final boolean backLidClosed(){
return backLidClosed_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean backLidClosed_native_constfct(long __this__nativeId);
/**
* See QLidReading:: frontLidClosed()const
*/
@QtPropertyReader(name="frontLidClosed")
@QtUninvokable
public final boolean frontLidClosed(){
return frontLidClosed_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean frontLidClosed_native_constfct(long __this__nativeId);
/**
* See QLidReading:: setBackLidClosed(bool)
*/
@QtUninvokable
public final void setBackLidClosed(boolean closed){
setBackLidClosed_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), closed);
}
@QtUninvokable
private native void setBackLidClosed_native_bool(long __this__nativeId, boolean closed);
/**
* See QLidReading:: setFrontLidClosed(bool)
*/
@QtUninvokable
public final void setFrontLidClosed(boolean closed){
setFrontLidClosed_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), closed);
}
@QtUninvokable
private native void setFrontLidClosed_native_bool(long __this__nativeId, boolean closed);
/**
* See QSensorReading:: copyValuesFrom(QSensorReading*)
*/
@QtUninvokable
@Override
protected void copyValuesFrom(io.qt.sensors.@Nullable QSensorReading other){
copyValuesFrom_native_QSensorReading_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void copyValuesFrom_native_QSensorReading_ptr(long __this__nativeId, long other);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QLidReading(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QLidReading(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QLidReading instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QLidReading(io.qt.core.QObject)}
* with parent = null
.
*/
public QLidReading() {
this((io.qt.core.QObject)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #backLidClosed()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getBackLidClosed() {
return backLidClosed();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #frontLidClosed()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getFrontLidClosed() {
return frontLidClosed();
}
}