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

io.qt.core.QStorageInfo Maven / Gradle / Ivy

There is a newer version: 6.8.1
Show newest version
package io.qt.core;


/**
 * 

Provides information about currently mounted storage and drives

*

Java wrapper for Qt class QStorageInfo

*/ public class QStorageInfo extends io.qt.QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QStorageInfo::QStorageInfo()

*/ public QStorageInfo(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QStorageInfo instance); /** *

See QStorageInfo::QStorageInfo(QDir)

*/ public QStorageInfo(io.qt.core.QDir dir){ super((QPrivateConstructor)null); initialize_native(this, dir); } private native static void initialize_native(QStorageInfo instance, io.qt.core.QDir dir); /** *

See QStorageInfo::QStorageInfo(QStorageInfo)

*/ public QStorageInfo(io.qt.core.QStorageInfo other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QStorageInfo instance, io.qt.core.QStorageInfo other); /** *

See QStorageInfo::QStorageInfo(QString)

*/ public QStorageInfo(java.lang.String path){ super((QPrivateConstructor)null); initialize_native(this, path); } private native static void initialize_native(QStorageInfo instance, java.lang.String path); /** *

See QStorageInfo::blockSize()const

*/ @io.qt.QtUninvokable public final int blockSize(){ return blockSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int blockSize_native_constfct(long __this__nativeId); /** *

See QStorageInfo::bytesAvailable()const

*/ @io.qt.QtUninvokable public final long bytesAvailable(){ return bytesAvailable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native long bytesAvailable_native_constfct(long __this__nativeId); /** *

See QStorageInfo::bytesFree()const

*/ @io.qt.QtUninvokable public final long bytesFree(){ return bytesFree_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native long bytesFree_native_constfct(long __this__nativeId); /** *

See QStorageInfo::bytesTotal()const

*/ @io.qt.QtUninvokable public final long bytesTotal(){ return bytesTotal_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native long bytesTotal_native_constfct(long __this__nativeId); /** *

See QStorageInfo::device()const

*/ @io.qt.QtUninvokable public final io.qt.core.QByteArray device(){ return device_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QByteArray device_native_constfct(long __this__nativeId); /** *

See QStorageInfo::displayName()const

*/ @io.qt.QtUninvokable public final java.lang.String displayName(){ return displayName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.lang.String displayName_native_constfct(long __this__nativeId); /** *

See QStorageInfo::fileSystemType()const

*/ @io.qt.QtUninvokable public final io.qt.core.QByteArray fileSystemType(){ return fileSystemType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QByteArray fileSystemType_native_constfct(long __this__nativeId); /** *

See QStorageInfo::isReadOnly()const

*/ @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 QStorageInfo::isReady()const

*/ @io.qt.QtUninvokable public final boolean isReady(){ return isReady_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isReady_native_constfct(long __this__nativeId); /** *

See QStorageInfo::isRoot()const

*/ @io.qt.QtUninvokable public final boolean isRoot(){ return isRoot_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isRoot_native_constfct(long __this__nativeId); /** *

See QStorageInfo::isValid()const

*/ @io.qt.QtUninvokable public final boolean isValid(){ return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isValid_native_constfct(long __this__nativeId); /** *

See QStorageInfo::name()const

*/ @io.qt.QtUninvokable public final java.lang.String name(){ return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.lang.String name_native_constfct(long __this__nativeId); @io.qt.QtUninvokable private final boolean operator_equal(io.qt.core.QStorageInfo second){ return operator_equal_native_cref_QStorageInfo(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(second)); } @io.qt.QtUninvokable private native boolean operator_equal_native_cref_QStorageInfo(long __this__nativeId, long second); /** *

See QStorageInfo::refresh()

*/ @io.qt.QtUninvokable public final void refresh(){ refresh_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native void refresh_native(long __this__nativeId); /** *

See QStorageInfo::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); /** *

See QStorageInfo::setPath(QString)

*/ @io.qt.QtUninvokable public final void setPath(java.lang.String path){ setPath_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), path); } @io.qt.QtUninvokable private native void setPath_native_cref_QString(long __this__nativeId, java.lang.String path); /** *

See QStorageInfo::subvolume()const

*/ @io.qt.QtUninvokable public final io.qt.core.QByteArray subvolume(){ return subvolume_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QByteArray subvolume_native_constfct(long __this__nativeId); /** *

See QStorageInfo::swap(QStorageInfo&)

*/ @io.qt.QtUninvokable public final void swap(io.qt.core.QStorageInfo other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QStorageInfo(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @io.qt.QtUninvokable private native void swap_native_ref_QStorageInfo(long __this__nativeId, long other); /** *

See QStorageInfo::mountedVolumes()

*/ public native static io.qt.core.QList mountedVolumes(); /** *

See QStorageInfo::root()

*/ public native static io.qt.core.QStorageInfo root(); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QStorageInfo(QPrivateConstructor p) { super(p); } @Override @io.qt.QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.core.QStorageInfo) { return operator_equal((io.qt.core.QStorageInfo) other); } return false; } @io.qt.QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native static int hashCode_native(long __this_nativeId); @Override @io.qt.QtUninvokable public String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private static native String toString_native(long __this_nativeId); @Override public QStorageInfo clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native QStorageInfo clone_native(long __this_nativeId); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy