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

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

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

import io.qt.*;


/**
 * 

Holds readings from the pressure sensor

*

Java wrapper for Qt class QPressureReading

*/ public class QPressureReading 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(QPressureReading.class); /** *

See QPressureReading::QPressureReading(QObject*)

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

See QPressureReading::pressure()const

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

See QPressureReading::setPressure(qreal)

*/ @QtUninvokable public final void setPressure(double pressure){ setPressure_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), pressure); } @QtUninvokable private native void setPressure_native_qreal(long __this__nativeId, double pressure); /** *

See QPressureReading::setTemperature(qreal)

*/ @QtUninvokable public final void setTemperature(double temperature){ setTemperature_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), temperature); } @QtUninvokable private native void setTemperature_native_qreal(long __this__nativeId, double temperature); /** *

See QPressureReading::temperature()const

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

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 QPressureReading(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QPressureReading(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QPressureReading instance, QDeclarativeConstructor constructor); /** *

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

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

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getPressure() { return pressure(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getTemperature() { return temperature(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy