
io.qt.core.QBluetoothPermission Maven / Gradle / Ivy
package io.qt.core;
import io.qt.*;
/**
* Access Bluetooth peripherals
* Java wrapper for Qt class QBluetoothPermission
*/
public class QBluetoothPermission extends QPermission
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QBluetoothPermission:: QBluetoothPermission()
*/
public QBluetoothPermission(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QBluetoothPermission instance);
/**
* See QBluetoothPermission:: QBluetoothPermission(QBluetoothPermission)
*/
public QBluetoothPermission(io.qt.core.@NonNull QBluetoothPermission other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QBluetoothPermission instance, io.qt.core.QBluetoothPermission other);
/**
* See QBluetoothPermission:: operator=(QBluetoothPermission)
*/
@QtUninvokable
public final void assign(io.qt.core.@NonNull QBluetoothPermission other){
assign_native_cref_QBluetoothPermission(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QBluetoothPermission(long __this__nativeId, long other);
/**
* See operator==(QBluetoothPermission, QBluetoothPermission)
*/
@QtUninvokable
public final boolean equals(io.qt.core.@NonNull QBluetoothPermission arg__2){
return equals_native_cref_QBluetoothPermission(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__2));
}
@QtUninvokable
private native boolean equals_native_cref_QBluetoothPermission(long __this__nativeId, long arg__2);
/**
* See QBluetoothPermission:: swap(QBluetoothPermission&)
*/
@QtUninvokable
public final void swap(io.qt.core.@StrictNonNull QBluetoothPermission other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QBluetoothPermission(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void swap_native_ref_QBluetoothPermission(long __this__nativeId, long other);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QBluetoothPermission(QPrivateConstructor p) { super(p); }
/**
* See operator==(QBluetoothPermission, QBluetoothPermission)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.core.QBluetoothPermission) {
return equals((io.qt.core.QBluetoothPermission) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QBluetoothPermission)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QBluetoothPermission:: QBluetoothPermission(QBluetoothPermission)
*/
@QtUninvokable
@Override
public QBluetoothPermission clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QBluetoothPermission clone_native(long __this_nativeId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy