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

io.qt.core.QThreadStorage Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.core;

import io.qt.*;


/**
 * 

Per-thread data storage

*

Java wrapper for Qt class QThreadStorage<JObjectWrapper>

*/ public class QThreadStorage extends QtObject { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QThreadStorage::QThreadStorage()

*/ public QThreadStorage(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QThreadStorage instance); /** *

See QThreadStorage::hasLocalData()const

*/ @QtUninvokable public final boolean hasLocalData(){ return hasLocalData_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean hasLocalData_native_constfct(long __this__nativeId); /** *

See QThreadStorage::localData()

*/ @QtUninvokable public final @NonNull T localData(){ return localData_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native T localData_native(long __this__nativeId); /** *

See QThreadStorage::setLocalData(T)

*/ @QtUninvokable public final void setLocalData(@NonNull T t){ setLocalData_native_JObjectWrapper(QtJambi_LibraryUtilities.internal.nativeId(this), t); } @QtUninvokable private native void setLocalData_native_JObjectWrapper(long __this__nativeId, T t); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QThreadStorage(QPrivateConstructor p) { super(p); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy