java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.core.QStorageInfo
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Provides information about currently mounted storage and drives
Java wrapper for Qt's class QStorageInfo
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQStorageInfo
(QDir dir) QStorageInfo
(QStorageInfo other) protected
Constructor for internal use only.QStorageInfo
(String path) -
Method Summary
Modifier and TypeMethodDescriptionfinal int
final long
final long
final long
clone()
final QByteArray
device()
final String
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final QByteArray
int
hashCode()
final boolean
final boolean
isReady()
final boolean
isRoot()
final boolean
isValid()
static QList<QStorageInfo>
final String
name()
final void
refresh()
static QStorageInfo
root()
final String
rootPath()
final void
final QByteArray
final void
swap
(QStorageInfo other) toString()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QStorageInfo
public QStorageInfo() -
QStorageInfo
-
QStorageInfo
-
QStorageInfo
-
QStorageInfo
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
blockSize
-
bytesAvailable
-
bytesFree
-
bytesTotal
-
device
-
displayName
-
fileSystemType
-
isReadOnly
-
isReady
-
isRoot
-
isValid
-
name
-
refresh
-
rootPath
-
setPath
-
subvolume
-
swap
-
mountedVolumes
-
root
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-