io.qt.core.QFileSelector 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.core;
import io.qt.*;
/**
* Convenient way of selecting file variants
* Java wrapper for Qt class QFileSelector
*/
public class QFileSelector extends io.qt.core.QObject
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QFileSelector.class);
/**
* See QFileSelector:: QFileSelector(QObject*)
*/
public QFileSelector(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QFileSelector instance, io.qt.core.QObject parent);
/**
* See QFileSelector:: allSelectors()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList allSelectors(){
return allSelectors_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QStringList allSelectors_native_constfct(long __this__nativeId);
/**
* See QFileSelector:: extraSelectors()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList extraSelectors(){
return extraSelectors_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QStringList extraSelectors_native_constfct(long __this__nativeId);
/**
* See QFileSelector:: select(QString)const
*/
@QtUninvokable
public final java.lang.@NonNull String select(java.lang.@NonNull String filePath){
return select_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), filePath);
}
@QtUninvokable
private native java.lang.String select_native_cref_QString_constfct(long __this__nativeId, java.lang.String filePath);
/**
* See QFileSelector:: select(QUrl)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QUrl select(io.qt.core.@NonNull QUrl filePath){
return select_native_cref_QUrl_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(filePath));
}
@QtUninvokable
private native io.qt.core.QUrl select_native_cref_QUrl_constfct(long __this__nativeId, long filePath);
/**
* See QFileSelector:: setExtraSelectors(QStringList)
*/
@QtUninvokable
public final void setExtraSelectors(java.util.@NonNull Collection list){
setExtraSelectors_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), list);
}
@QtUninvokable
private native void setExtraSelectors_native_cref_QStringList(long __this__nativeId, java.util.Collection list);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QFileSelector(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QFileSelector(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QFileSelector instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QFileSelector(io.qt.core.QObject)}
* with parent = null
.
*/
public QFileSelector() {
this((io.qt.core.QObject)null);
}
}