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

io.qt.gui.QFileSystemModel Maven / Gradle / Ivy

The newest version!
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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy