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

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

package io.qt.core;


/**
 * 

Per-thread data storage

*

Java wrapper for Qt class QThreadStorage

*/ public class QThreadStorage extends io.qt.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

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

See QThreadStorage::localData()

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

See QThreadStorage::setLocalData(T)

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy