VolumeInfo Class

(KDUpdater::VolumeInfo)

Public Functions

VolumeInfo()
quint64 availableSize() const
QString fileSystemType() const
QString mountPath() const
void setAvailableSize(const quint64 &available)
void setFileSystemType(const QString &type)
void setMountPath(const QString &path)
void setSize(const quint64 &size)
void setVolumeDescriptor(const QString &descriptor)
quint64 size() const
QString volumeDescriptor() const
bool operator==(const VolumeInfo &other) const

Static Public Members

VolumeInfo fromPath(const QString &path)

Member Function Documentation

VolumeInfo::VolumeInfo()

Default constructs an instance of VolumeInfo.

quint64 VolumeInfo::availableSize() const

See also setAvailableSize().

QString VolumeInfo::fileSystemType() const

See also setFileSystemType().

[static] VolumeInfo VolumeInfo::fromPath(const QString &path)

QString VolumeInfo::mountPath() const

See also setMountPath().

void VolumeInfo::setAvailableSize(const quint64 &available)

See also availableSize().

void VolumeInfo::setFileSystemType(const QString &type)

See also fileSystemType().

void VolumeInfo::setMountPath(const QString &path)

See also mountPath().

void VolumeInfo::setSize(const quint64 &size)

See also size().

void VolumeInfo::setVolumeDescriptor(const QString &descriptor)

See also volumeDescriptor().

quint64 VolumeInfo::size() const

See also setSize().

QString VolumeInfo::volumeDescriptor() const

See also setVolumeDescriptor().

bool VolumeInfo::operator==(const VolumeInfo &other) const