io.qt.widgets.QFileIconProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.widgets;
import io.qt.*;
/**
* File icons for the QFileSystemModel class
* Java wrapper for Qt class QFileIconProvider
*/
public class QFileIconProvider extends io.qt.gui.QAbstractFileIconProvider
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QFileIconProvider:: QFileIconProvider()
*/
public QFileIconProvider(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QFileIconProvider instance);
/**
* See QAbstractFileIconProvider:: icon(QAbstractFileIconProvider::IconType)const
*/
@QtUninvokable
@Override
public io.qt.gui.@NonNull QIcon icon(io.qt.gui.QAbstractFileIconProvider.@NonNull IconType type){
return icon_native_QAbstractFileIconProvider_IconType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), type.value());
}
@QtUninvokable
private native io.qt.gui.QIcon icon_native_QAbstractFileIconProvider_IconType_constfct(long __this__nativeId, int type);
/**
* See QAbstractFileIconProvider:: icon(QFileInfo)const
*/
@QtUninvokable
@Override
public io.qt.gui.@NonNull QIcon icon(io.qt.core.@NonNull QFileInfo info){
return icon_native_cref_QFileInfo_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(info));
}
@QtUninvokable
private native io.qt.gui.QIcon icon_native_cref_QFileInfo_constfct(long __this__nativeId, long info);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QFileIconProvider(QPrivateConstructor p) { super(p); }
}