Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
io.qt.gui.QFileSystemModel Maven / Gradle / Ivy
package io.qt.gui;
/**
* Data model for the local filesystem
* Java wrapper for Qt class QFileSystemModel
*/
public class QFileSystemModel extends io.qt.core.QAbstractItemModel
{
static {
QtJambi_LibraryUtilities.initialize();
}
@io.qt.QtPropertyMember(enabled=false)
private Object __rcIconProvider = null;
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QFileSystemModel.class);
/**
* Java wrapper for Qt enum QFileSystemModel::Option
*
* @see Options
*/
public enum Option implements io.qt.QtFlagEnumerator {
DontWatchForChanges(1),
DontResolveSymlinks(2),
DontUseCustomDirectoryIcons(4);
private Option(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public Options asFlags() {
return new Options(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public Options combined(Option e) {
return new Options(this, e);
}
/**
* Creates a new {@link Options} from the entries.
* @param values entries
* @return new flag
*/
public static Options flags(Option ... values) {
return new Options(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static Option resolve(int value) {
switch (value) {
case 1: return DontWatchForChanges;
case 2: return DontResolveSymlinks;
case 4: return DontUseCustomDirectoryIcons;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* QFlags type for enum {@link Option}
*/
public static final class Options extends io.qt.QFlags implements Comparable {
private static final long serialVersionUID = 0x4a6bb5914e7eca36L;
/**
* Creates a new Options where the flags in args
are set.
* @param args enum entries
*/
public Options(Option ... args){
super(args);
}
/**
* Creates a new Options with given value
.
* @param value
*/
public Options(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new Options
*/
@Override
public final Options combined(Option e){
return new Options(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final Options setFlag(Option e){
super.setFlag(e);
return this;
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final Options setFlag(Option e, boolean on){
super.setFlag(e, on);
return this;
}
/**
* Returns an array of flag objects represented by this Options.
* @return array of enum entries
*/
@Override
public final Option[] flags(){
return super.flags(Option.values());
}
/**
* {@inheritDoc}
*/
@Override
public final Options clone(){
return new Options(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(Options other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QFileSystemModel::Roles
*/
@io.qt.QtUnlistedEnum
public enum Roles implements io.qt.QtEnumerator {
FileIconRole(1),
FilePathRole(257),
FileNameRole(258),
FilePermissions(259);
private Roles(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static Roles resolve(int value) {
switch (value) {
case 1: return FileIconRole;
case 257: return FilePathRole;
case 258: return FileNameRole;
case 259: return FilePermissions;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QFileSystemModel::directoryLoaded(QString)
*/
public final Signal1 directoryLoaded = new Signal1<>();
/**
* See QFileSystemModel::fileRenamed(QString,QString,QString)
*/
public final Signal3 fileRenamed = new Signal3<>();
/**
* See QFileSystemModel::rootPathChanged(QString)
*/
public final Signal1 rootPathChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QFileSystemModel(io.qt.core.QObject)}
* with parent = null
.
*/
public QFileSystemModel() {
this((io.qt.core.QObject)null);
}
/**
* See QFileSystemModel::QFileSystemModel(QObject*)
*/
public QFileSystemModel(io.qt.core.QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QFileSystemModel instance, io.qt.core.QObject parent);
/**
* See QFileSystemModel::fileIcon(QModelIndex)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QIcon fileIcon(io.qt.core.QModelIndex index){
return fileIcon_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native io.qt.gui.QIcon fileIcon_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QFileSystemModel::fileInfo(QModelIndex)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QFileInfo fileInfo(io.qt.core.QModelIndex index){
return fileInfo_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native io.qt.core.QFileInfo fileInfo_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QFileSystemModel::fileName(QModelIndex)const
*/
@io.qt.QtUninvokable
public final java.lang.String fileName(io.qt.core.QModelIndex index){
return fileName_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native java.lang.String fileName_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QFileSystemModel::filePath(QModelIndex)const
*/
@io.qt.QtUninvokable
public final java.lang.String filePath(io.qt.core.QModelIndex index){
return filePath_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native java.lang.String filePath_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QFileSystemModel::filter()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QDir.Filters filter(){
return new io.qt.core.QDir.Filters(filter_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int filter_native_constfct(long __this__nativeId);
/**
* See QFileSystemModel::iconProvider()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QAbstractFileIconProvider iconProvider(){
return iconProvider_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QAbstractFileIconProvider iconProvider_native_constfct(long __this__nativeId);
/**
* Overloaded function for {@link #index(java.lang.String, int)}
* with column = 0
.
*/
@io.qt.QtUninvokable
public final io.qt.core.QModelIndex index(java.lang.String path) {
return index(path, (int)0);
}
/**
* See QFileSystemModel::index(QString,int)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QModelIndex index(java.lang.String path, int column){
return index_native_cref_QString_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), path, column);
}
@io.qt.QtUninvokable
private native io.qt.core.QModelIndex index_native_cref_QString_int_constfct(long __this__nativeId, java.lang.String path, int column);
/**
* See QFileSystemModel::isDir(QModelIndex)const
*/
@io.qt.QtUninvokable
public final boolean isDir(io.qt.core.QModelIndex index){
return isDir_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native boolean isDir_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QFileSystemModel::isReadOnly()const
*/
@io.qt.QtPropertyReader(name="readOnly")
@io.qt.QtUninvokable
public final boolean isReadOnly(){
return isReadOnly_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isReadOnly_native_constfct(long __this__nativeId);
/**
* See QFileSystemModel::lastModified(QModelIndex)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QDateTime lastModified(io.qt.core.QModelIndex index){
return lastModified_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native io.qt.core.QDateTime lastModified_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QFileSystemModel::mkdir(QModelIndex,QString)
*/
@io.qt.QtUninvokable
public final io.qt.core.QModelIndex mkdir(io.qt.core.QModelIndex parent, java.lang.String name){
return mkdir_native_cref_QModelIndex_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), parent, name);
}
@io.qt.QtUninvokable
private native io.qt.core.QModelIndex mkdir_native_cref_QModelIndex_cref_QString(long __this__nativeId, io.qt.core.QModelIndex parent, java.lang.String name);
/**
* Overloaded function for {@link #myComputer(int)}
* with role = 0
.
*/
@io.qt.QtUninvokable
public final java.lang.Object myComputer() {
return myComputer((int)0);
}
/**
* See QFileSystemModel::myComputer(int)const
*/
@io.qt.QtUninvokable
public final java.lang.Object myComputer(int role){
return myComputer_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), role);
}
@io.qt.QtUninvokable
private native java.lang.Object myComputer_native_int_constfct(long __this__nativeId, int role);
/**
* See QFileSystemModel::nameFilterDisables()const
*/
@io.qt.QtPropertyReader(name="nameFilterDisables")
@io.qt.QtUninvokable
public final boolean nameFilterDisables(){
return nameFilterDisables_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean nameFilterDisables_native_constfct(long __this__nativeId);
/**
* See QFileSystemModel::nameFilters()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QStringList nameFilters(){
return nameFilters_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QStringList nameFilters_native_constfct(long __this__nativeId);
/**
* See QFileSystemModel::options()const
*/
@io.qt.QtPropertyReader(name="options")
@io.qt.QtUninvokable
public final io.qt.gui.QFileSystemModel.Options options(){
return new io.qt.gui.QFileSystemModel.Options(options_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int options_native_constfct(long __this__nativeId);
/**
* See QFileSystemModel::permissions(QModelIndex)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QFileDevice.Permissions permissions(io.qt.core.QModelIndex index){
return new io.qt.core.QFileDevice.Permissions(permissions_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index));
}
@io.qt.QtUninvokable
private native int permissions_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QFileSystemModel::remove(QModelIndex)
*/
@io.qt.QtUninvokable
public final boolean remove(io.qt.core.QModelIndex index){
return remove_native_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native boolean remove_native_cref_QModelIndex(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QFileSystemModel::resolveSymlinks()const
*/
@io.qt.QtPropertyReader(name="resolveSymlinks")
@io.qt.QtUninvokable
public final boolean resolveSymlinks(){
return resolveSymlinks_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean resolveSymlinks_native_constfct(long __this__nativeId);
/**
* See QFileSystemModel::rmdir(QModelIndex)
*/
@io.qt.QtUninvokable
public final boolean rmdir(io.qt.core.QModelIndex index){
return rmdir_native_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native boolean rmdir_native_cref_QModelIndex(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QFileSystemModel::rootDirectory()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QDir rootDirectory(){
return rootDirectory_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QDir rootDirectory_native_constfct(long __this__nativeId);
/**
* See QFileSystemModel::rootPath()const
*/
@io.qt.QtUninvokable
public final java.lang.String rootPath(){
return rootPath_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String rootPath_native_constfct(long __this__nativeId);
/**
* Overloaded function for {@link #setFilter(io.qt.core.QDir.Filters)}.
*/
@io.qt.QtUninvokable
public final void setFilter(io.qt.core.QDir.Filter ... filters){
setFilter(new io.qt.core.QDir.Filters(filters));
}
/**
* See QFileSystemModel::setFilter(QDir::Filters)
*/
@io.qt.QtUninvokable
public final void setFilter(io.qt.core.QDir.Filters filters){
setFilter_native_QFlags_QDir_Filter_(QtJambi_LibraryUtilities.internal.nativeId(this), filters.value());
}
@io.qt.QtUninvokable
private native void setFilter_native_QFlags_QDir_Filter_(long __this__nativeId, int filters);
/**
* See QFileSystemModel::setIconProvider(QAbstractFileIconProvider*)
*/
@io.qt.QtUninvokable
public final void setIconProvider(io.qt.gui.QAbstractFileIconProvider provider){
setIconProvider_native_QAbstractFileIconProvider_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(provider));
__rcIconProvider = provider;
}
@io.qt.QtUninvokable
private native void setIconProvider_native_QAbstractFileIconProvider_ptr(long __this__nativeId, long provider);
/**
* See QFileSystemModel::setNameFilterDisables(bool)
*/
@io.qt.QtPropertyWriter(name="nameFilterDisables")
@io.qt.QtUninvokable
public final void setNameFilterDisables(boolean enable){
setNameFilterDisables_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@io.qt.QtUninvokable
private native void setNameFilterDisables_native_bool(long __this__nativeId, boolean enable);
/**
* See QFileSystemModel::setNameFilters(QStringList)
*/
@io.qt.QtUninvokable
public final void setNameFilters(java.util.Collection filters){
setNameFilters_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), filters);
}
@io.qt.QtUninvokable
private native void setNameFilters_native_cref_QStringList(long __this__nativeId, java.util.Collection filters);
/**
* Overloaded function for {@link #setOption(io.qt.gui.QFileSystemModel.Option, boolean)}
* with on = true
.
*/
@io.qt.QtUninvokable
public final void setOption(io.qt.gui.QFileSystemModel.Option option) {
setOption(option, (boolean)true);
}
/**
* See QFileSystemModel::setOption(QFileSystemModel::Option,bool)
*/
@io.qt.QtUninvokable
public final void setOption(io.qt.gui.QFileSystemModel.Option option, boolean on){
setOption_native_QFileSystemModel_Option_bool(QtJambi_LibraryUtilities.internal.nativeId(this), option.value(), on);
}
@io.qt.QtUninvokable
private native void setOption_native_QFileSystemModel_Option_bool(long __this__nativeId, int option, boolean on);
/**
* Overloaded function for {@link #setOptions(io.qt.gui.QFileSystemModel.Options)}.
*/
@io.qt.QtUninvokable
public final void setOptions(io.qt.gui.QFileSystemModel.Option ... options){
setOptions(new io.qt.gui.QFileSystemModel.Options(options));
}
/**
* See QFileSystemModel::setOptions(Options)
*/
@io.qt.QtPropertyWriter(name="options")
@io.qt.QtUninvokable
public final void setOptions(io.qt.gui.QFileSystemModel.Options options){
setOptions_native_QFlags_QFileSystemModel_Option_(QtJambi_LibraryUtilities.internal.nativeId(this), options.value());
}
@io.qt.QtUninvokable
private native void setOptions_native_QFlags_QFileSystemModel_Option_(long __this__nativeId, int options);
/**
* See QFileSystemModel::setReadOnly(bool)
*/
@io.qt.QtPropertyWriter(name="readOnly")
@io.qt.QtUninvokable
public final void setReadOnly(boolean enable){
setReadOnly_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@io.qt.QtUninvokable
private native void setReadOnly_native_bool(long __this__nativeId, boolean enable);
/**
* See QFileSystemModel::setResolveSymlinks(bool)
*/
@io.qt.QtPropertyWriter(name="resolveSymlinks")
@io.qt.QtUninvokable
public final void setResolveSymlinks(boolean enable){
setResolveSymlinks_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@io.qt.QtUninvokable
private native void setResolveSymlinks_native_bool(long __this__nativeId, boolean enable);
/**
* See QFileSystemModel::setRootPath(QString)
*/
@io.qt.QtUninvokable
public final io.qt.core.QModelIndex setRootPath(java.lang.String path){
return setRootPath_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), path);
}
@io.qt.QtUninvokable
private native io.qt.core.QModelIndex setRootPath_native_cref_QString(long __this__nativeId, java.lang.String path);
/**
* See QFileSystemModel::size(QModelIndex)const
*/
@io.qt.QtUninvokable
public final long size(io.qt.core.QModelIndex index){
return size_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native long size_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QFileSystemModel::testOption(QFileSystemModel::Option)const
*/
@io.qt.QtUninvokable
public final boolean testOption(io.qt.gui.QFileSystemModel.Option option){
return testOption_native_QFileSystemModel_Option_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), option.value());
}
@io.qt.QtUninvokable
private native boolean testOption_native_QFileSystemModel_Option_constfct(long __this__nativeId, int option);
/**
* See QFileSystemModel::type(QModelIndex)const
*/
@io.qt.QtUninvokable
public final java.lang.String type(io.qt.core.QModelIndex index){
return type_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native java.lang.String type_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QAbstractItemModel::canFetchMore(QModelIndex)const
*/
@io.qt.QtUninvokable
public boolean canFetchMore(io.qt.core.QModelIndex parent){
return canFetchMore_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), parent);
}
@io.qt.QtUninvokable
private native boolean canFetchMore_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex parent);
/**
* See QAbstractItemModel::columnCount(QModelIndex)const
*/
@io.qt.QtUninvokable
public int columnCount(io.qt.core.QModelIndex parent){
return columnCount_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), parent);
}
@io.qt.QtUninvokable
private native int columnCount_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex parent);
/**
* See QAbstractItemModel::data(QModelIndex,int)const
*/
@io.qt.QtUninvokable
public java.lang.Object data(io.qt.core.QModelIndex index, int role){
return data_native_cref_QModelIndex_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index, role);
}
@io.qt.QtUninvokable
private native java.lang.Object data_native_cref_QModelIndex_int_constfct(long __this__nativeId, io.qt.core.QModelIndex index, int role);
/**
* See QAbstractItemModel::dropMimeData(const QMimeData*,Qt::DropAction,int,int,QModelIndex)
*/
@io.qt.QtUninvokable
public boolean dropMimeData(io.qt.core.QMimeData data, io.qt.core.Qt.DropAction action, int row, int column, io.qt.core.QModelIndex parent){
return dropMimeData_native_const_QMimeData_ptr_Qt_DropAction_int_int_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(data), action.value(), row, column, parent);
}
@io.qt.QtUninvokable
private native boolean dropMimeData_native_const_QMimeData_ptr_Qt_DropAction_int_int_cref_QModelIndex(long __this__nativeId, long data, int action, int row, int column, io.qt.core.QModelIndex parent);
/**
* See QObject::event(QEvent*)
*/
@io.qt.QtUninvokable
public boolean event(io.qt.core.QEvent event){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long event);
/**
* See QAbstractItemModel::fetchMore(QModelIndex)
*/
@io.qt.QtUninvokable
public void fetchMore(io.qt.core.QModelIndex parent){
fetchMore_native_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), parent);
}
@io.qt.QtUninvokable
private native void fetchMore_native_cref_QModelIndex(long __this__nativeId, io.qt.core.QModelIndex parent);
/**
* See QAbstractItemModel::flags(QModelIndex)const
*/
@io.qt.QtUninvokable
public io.qt.core.Qt.ItemFlags flags(io.qt.core.QModelIndex index){
return new io.qt.core.Qt.ItemFlags(flags_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index));
}
@io.qt.QtUninvokable
private native int flags_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex index);
/**
* See QAbstractItemModel::hasChildren(QModelIndex)const
*/
@io.qt.QtUninvokable
public boolean hasChildren(io.qt.core.QModelIndex parent){
return hasChildren_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), parent);
}
@io.qt.QtUninvokable
private native boolean hasChildren_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex parent);
/**
* See QAbstractItemModel::headerData(int,Qt::Orientation,int)const
*/
@io.qt.QtUninvokable
public java.lang.Object headerData(int section, io.qt.core.Qt.Orientation orientation, int role){
return headerData_native_int_Qt_Orientation_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), section, orientation.value(), role);
}
@io.qt.QtUninvokable
private native java.lang.Object headerData_native_int_Qt_Orientation_int_constfct(long __this__nativeId, int section, int orientation, int role);
/**
* See QAbstractItemModel::index(int,int,QModelIndex)const
*/
@io.qt.QtUninvokable
public io.qt.core.QModelIndex index(int row, int column, io.qt.core.QModelIndex parent){
return index_native_int_int_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column, parent);
}
@io.qt.QtUninvokable
private native io.qt.core.QModelIndex index_native_int_int_cref_QModelIndex_constfct(long __this__nativeId, int row, int column, io.qt.core.QModelIndex parent);
/**
* See QAbstractItemModel::mimeData(QModelIndexList)const
*/
@io.qt.QtUninvokable
public io.qt.core.QMimeData mimeData(java.util.Collection indexes){
return mimeData_native_cref_QList_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), indexes);
}
@io.qt.QtUninvokable
private native io.qt.core.QMimeData mimeData_native_cref_QList_constfct(long __this__nativeId, java.util.Collection indexes);
/**
* See QAbstractItemModel::mimeTypes()const
*/
@io.qt.QtUninvokable
public java.util.List mimeTypes(){
return mimeTypes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.util.List mimeTypes_native_constfct(long __this__nativeId);
/**
* See QAbstractItemModel::parent(QModelIndex)const
*/
@io.qt.QtUninvokable
public io.qt.core.QModelIndex parent(io.qt.core.QModelIndex child){
return parent_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), child);
}
@io.qt.QtUninvokable
private native io.qt.core.QModelIndex parent_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex child);
/**
* See QAbstractItemModel::roleNames()const
*/
@io.qt.QtUninvokable
public java.util.Map roleNames(){
return roleNames_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.util.Map roleNames_native_constfct(long __this__nativeId);
/**
* See QAbstractItemModel::rowCount(QModelIndex)const
*/
@io.qt.QtUninvokable
public int rowCount(io.qt.core.QModelIndex parent){
return rowCount_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), parent);
}
@io.qt.QtUninvokable
private native int rowCount_native_cref_QModelIndex_constfct(long __this__nativeId, io.qt.core.QModelIndex parent);
/**
* See QAbstractItemModel::setData(QModelIndex,QVariant,int)
*/
@io.qt.QtUninvokable
public boolean setData(io.qt.core.QModelIndex index, java.lang.Object value, int role){
return setData_native_cref_QModelIndex_cref_QVariant_int(QtJambi_LibraryUtilities.internal.nativeId(this), index, value, role);
}
@io.qt.QtUninvokable
private native boolean setData_native_cref_QModelIndex_cref_QVariant_int(long __this__nativeId, io.qt.core.QModelIndex index, java.lang.Object value, int role);
/**
* See QAbstractItemModel::sibling(int,int,QModelIndex)const
*/
@io.qt.QtUninvokable
public io.qt.core.QModelIndex sibling(int row, int column, io.qt.core.QModelIndex idx){
return sibling_native_int_int_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column, idx);
}
@io.qt.QtUninvokable
private native io.qt.core.QModelIndex sibling_native_int_int_cref_QModelIndex_constfct(long __this__nativeId, int row, int column, io.qt.core.QModelIndex idx);
/**
* See QAbstractItemModel::sort(int,Qt::SortOrder)
*/
@io.qt.QtUninvokable
public void sort(int column, io.qt.core.Qt.SortOrder order){
sort_native_int_Qt_SortOrder(QtJambi_LibraryUtilities.internal.nativeId(this), column, order.value());
}
@io.qt.QtUninvokable
private native void sort_native_int_Qt_SortOrder(long __this__nativeId, int column, int order);
/**
* See QAbstractItemModel::supportedDropActions()const
*/
@io.qt.QtUninvokable
public io.qt.core.Qt.DropActions supportedDropActions(){
return new io.qt.core.Qt.DropActions(supportedDropActions_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int supportedDropActions_native_constfct(long __this__nativeId);
/**
* See QObject::timerEvent(QTimerEvent*)
*/
@io.qt.QtUninvokable
protected void timerEvent(io.qt.core.QTimerEvent event){
timerEvent_native_QTimerEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void timerEvent_native_QTimerEvent_ptr(long __this__nativeId, long event);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QFileSystemModel(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@io.qt.NativeAccess
protected QFileSystemModel(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QFileSystemModel instance, QDeclarativeConstructor constructor);
}