io.qt.core.internal.QAbstractFileEngineIterator Maven / Gradle / Ivy
package io.qt.core.internal;
import io.qt.*;
/**
* Java wrapper for Qt class QAbstractFileEngineIterator
*/
public abstract class QAbstractFileEngineIterator extends QtObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
@NativeAccess
private static final class ConcreteWrapper extends QAbstractFileEngineIterator {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public boolean advance(){
return advance_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean advance_native(long __this__nativeId);
@Override
@QtUninvokable
public java.lang.@NonNull String currentFileName(){
return currentFileName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String currentFileName_native_constfct(long __this__nativeId);
}
/**
* See QAbstractFileEngineIterator:: QAbstractFileEngineIterator(QString, QDir::Filters, QStringList)
* @param path
* @param filters
* @param nameFilters
*/
public QAbstractFileEngineIterator(java.lang.@NonNull String path, io.qt.core.QDir.@NonNull Filters filters, java.util.@NonNull Collection nameFilters){
super((QPrivateConstructor)null);
initialize_native(this, path, filters, nameFilters);
}
private native static void initialize_native(QAbstractFileEngineIterator instance, java.lang.String path, io.qt.core.QDir.Filters filters, java.util.Collection nameFilters);
/**
* See QAbstractFileEngineIterator:: QAbstractFileEngineIterator(QString, QDirListing::IteratorFlags, QStringList)
* @param path
* @param filters
* @param nameFilters
*/
public QAbstractFileEngineIterator(java.lang.@NonNull String path, io.qt.core.QDirListing.@NonNull IteratorFlags filters, java.util.@NonNull Collection nameFilters){
super((QPrivateConstructor)null);
initialize_native(this, path, filters, nameFilters);
}
private native static void initialize_native(QAbstractFileEngineIterator instance, java.lang.String path, io.qt.core.QDirListing.IteratorFlags filters, java.util.Collection nameFilters);
/**
* See QAbstractFileEngineIterator:: filters()const
* @return
*/
@QtUninvokable
public final io.qt.core.QDir.@NonNull Filters filters(){
return new io.qt.core.QDir.Filters(filters_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int filters_native_constfct(long __this__nativeId);
/**
* See QAbstractFileEngineIterator:: nameFilters()const
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList nameFilters(){
return nameFilters_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QStringList nameFilters_native_constfct(long __this__nativeId);
/**
* See QAbstractFileEngineIterator:: path()const
* @return
*/
@QtUninvokable
public final java.lang.@NonNull String path(){
return path_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String path_native_constfct(long __this__nativeId);
/**
* See QAbstractFileEngineIterator:: advance()
* @return
*/
@QtUninvokable
public abstract boolean advance();
@QtUninvokable
private native boolean advance_native(long __this__nativeId);
/**
* See QAbstractFileEngineIterator:: currentFileInfo()const
* @return
*/
@QtUninvokable
public io.qt.core.@NonNull QFileInfo currentFileInfo(){
return currentFileInfo_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QFileInfo currentFileInfo_native_constfct(long __this__nativeId);
/**
* See QAbstractFileEngineIterator:: currentFileName()const
* @return
*/
@QtUninvokable
public abstract java.lang.@NonNull String currentFileName();
@QtUninvokable
private native java.lang.String currentFileName_native_constfct(long __this__nativeId);
/**
* See QAbstractFileEngineIterator:: currentFilePath()const
* @return
*/
@QtUninvokable
public java.lang.@NonNull String currentFilePath(){
return currentFilePath_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String currentFilePath_native_constfct(long __this__nativeId);
/**
* See QAbstractFileEngineIterator:: m_fileInfo
* @param fileInfo
*/
@QtUninvokable
protected final void setFileInfo(io.qt.core.@NonNull QFileInfo fileInfo){
setFileInfo_native_cref_QFileInfo(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(fileInfo));
}
@QtUninvokable
private native void setFileInfo_native_cref_QFileInfo(long __this__nativeId, long fileInfo);
/**
* See QAbstractFileEngineIterator:: m_fileInfo
* @return
*/
@QtUninvokable
protected final io.qt.core.@NonNull QFileInfo fileInfo(){
return fileInfo_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QFileInfo fileInfo_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QAbstractFileEngineIterator(QPrivateConstructor p) { super(p); }
/**
* @hidden
* Kotlin property getter. In Java use {@link #fileInfo()} instead.
*/
@QtUninvokable
protected final io.qt.core.@NonNull QFileInfo getFileInfo() {
return fileInfo();
}
}