All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.sensors.QRotationSensor Maven / Gradle / Ivy

There is a newer version: 6.7.2
Show newest version
package io.qt.sensors;

import io.qt.*;


/**
 * 

Convenience wrapper around QSensor

*

Java wrapper for Qt class QRotationSensor

*/ public class QRotationSensor extends io.qt.sensors.QSensor { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QRotationSensor.class); /** *

See QRotationSensor::hasZChanged(bool)

*/ @QtPropertyNotify(name="hasZ") public final @NonNull Signal1 hasZChanged = new Signal1<>(); /** *

See QRotationSensor::QRotationSensor(QObject*)

*/ public QRotationSensor(io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QRotationSensor instance, io.qt.core.QObject parent); /** *

See QRotationSensor::hasZ()const

*/ @QtPropertyReader(name="hasZ") @QtUninvokable public final boolean hasZ(){ return hasZ_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean hasZ_native_constfct(long __this__nativeId); /** *

See QSensor::reading()const

*/ @QtUninvokable public final io.qt.sensors.@Nullable QRotationReading reading(){ return reading_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.sensors.QRotationReading reading_native_constfct(long __this__nativeId); /** *

See QRotationSensor::setHasZ(bool)

*/ @QtUninvokable public final void setHasZ(boolean hasZ){ setHasZ_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), hasZ); } @QtUninvokable private native void setHasZ_native_bool(long __this__nativeId, boolean hasZ); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QRotationSensor(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QRotationSensor(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QRotationSensor instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QRotationSensor(io.qt.core.QObject)} * with parent = null.

*/ public QRotationSensor() { this((io.qt.core.QObject)null); } /** * @hidden *

Kotlin property getter. In Java use {@link #hasZ()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getHasZ() { return hasZ(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy