java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QStorageInfo
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QStorageInfo extends QtObject implements Cloneable
Provides information about currently mounted storage and drives
Java wrapper for Qt class QStorageInfo
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QStorageInfo()
QStorageInfo(QDir dir)
QStorageInfo(QStorageInfo other)
protected
QStorageInfo(QtObject.QPrivateConstructor p)
Constructor for internal use only.QStorageInfo(String path)
-
Method Summary
Modifier and Type Method Description int
blockSize()
long
bytesAvailable()
long
bytesFree()
long
bytesTotal()
QStorageInfo
clone()
QByteArray
device()
String
displayName()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.QByteArray
fileSystemType()
int
hashCode()
boolean
isReadOnly()
boolean
isReady()
boolean
isRoot()
boolean
isValid()
static QList<QStorageInfo>
mountedVolumes()
String
name()
void
refresh()
static QStorageInfo
root()
String
rootPath()
void
setPath(String path)
QByteArray
subvolume()
void
swap(QStorageInfo other)
String
toString()
-
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 native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-