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.0
Show newest version
package io.qt.core;

import io.qt.*;


/**
 * 

Provides information about currently mounted storage and drives

*

Java wrapper for Qt class QStorageInfo

*/ public class QStorageInfo extends 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.@NonNull 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.@NonNull 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.@NonNull 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

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

See QStorageInfo::bytesAvailable()const

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

See QStorageInfo::bytesFree()const

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

See QStorageInfo::bytesTotal()const

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

See QStorageInfo::device()const

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

See QStorageInfo::displayName()const

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

See QStorageInfo::fileSystemType()const

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

See QStorageInfo::isReadOnly()const

*/ @QtUninvokable public final boolean isReadOnly(){ return isReadOnly_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isReadOnly_native_constfct(long __this__nativeId); /** *

See QStorageInfo::isReady()const

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

See QStorageInfo::isRoot()const

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

See QStorageInfo::isValid()const

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

See QStorageInfo::name()const

*/ @QtUninvokable public final java.lang.@NonNull String name(){ return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String name_native_constfct(long __this__nativeId); /** *

See QStorageInfo::operator=(QStorageInfo)

*/ @QtUninvokable public final void assign(io.qt.core.@NonNull QStorageInfo other){ assign_native_cref_QStorageInfo(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void assign_native_cref_QStorageInfo(long __this__nativeId, long other); /** *

See operator==(QStorageInfo,QStorageInfo)

*/ @QtUninvokable public final boolean equals(io.qt.core.@NonNull QStorageInfo second){ return equals_native_cref_QStorageInfo(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(second)); } @QtUninvokable private native boolean equals_native_cref_QStorageInfo(long __this__nativeId, long second); /** *

See QStorageInfo::refresh()

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

See QStorageInfo::rootPath()const

*/ @QtUninvokable public final java.lang.@NonNull String rootPath(){ return rootPath_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String rootPath_native_constfct(long __this__nativeId); /** *

See QStorageInfo::setPath(QString)

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

See QStorageInfo::subvolume()const

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

See QStorageInfo::swap(QStorageInfo&)

*/ @QtUninvokable public final void swap(io.qt.core.@StrictNonNull 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)); } @QtUninvokable private native void swap_native_ref_QStorageInfo(long __this__nativeId, long other); /** *

See QStorageInfo::mountedVolumes()

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

See QStorageInfo::root()

*/ public native static io.qt.core.@NonNull QStorageInfo root(); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QStorageInfo(QPrivateConstructor p) { super(p); } /** *

See operator==(QStorageInfo,QStorageInfo)

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.core.QStorageInfo) { return equals((io.qt.core.QStorageInfo) other); } return false; } /** * Returns the objects's hash code computed by qHash(QStorageInfo). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** *

See operator<<(QDebug,QStorageInfo)

*/ @QtUninvokable @Override public @NonNull String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private static native String toString_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

See QStorageInfo::QStorageInfo(QStorageInfo)

*/ @QtUninvokable @Override public QStorageInfo clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QStorageInfo clone_native(long __this_nativeId); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy