libyui-qt-pkg
2.45.15.2
|
Public Member Functions | |
YQPkgDiskUsageListItem (YQPkgDiskUsageList *parent, const ZyppPartitionDu &partitionDu) | |
Constructor. More... | |
virtual | ~YQPkgDiskUsageListItem () |
Destructor. | |
ZyppPartitionDu | partitionDu () const |
Returns the corresponding disk usage data. | |
void | updateDuData (const ZyppPartitionDu &fromData) |
Update the disk usage data. | |
virtual FSize | usedSize () const |
The currently used size of this partition. More... | |
virtual FSize | totalSize () const |
The total size of this partition. More... | |
virtual QString | name () const |
The name to display for this partition ( the mount point ). More... | |
virtual QString | deviceName () const |
The device name of this partition. More... | |
void | checkRemainingDiskSpace () |
Check the remaining disk space of this partition based on percentage and absolute free MB. More... | |
virtual void | updateStatus () |
Update this item's status ( here: the numeric fields ). More... | |
virtual void | updateData () |
Update this item's data completely. More... | |
void | init (bool allFields) |
void | setText (int column, const QString &text) |
Re-declare ordinary setText() method so the compiler doesn't get confused which one to use. | |
void | setText (int column, double size) |
set the text label with the size More... | |
Protected Attributes | |
ZyppPartitionDu | _partitionDu |
YQPkgDiskUsageList * | _pkgDiskUsageList |
Definition at line 219 of file YQPkgDiskUsageList.h.
YQPkgDiskUsageListItem::YQPkgDiskUsageListItem | ( | YQPkgDiskUsageList * | parent, |
const ZyppPartitionDu & | partitionDu | ||
) |
Constructor.
Creates a YQPkgDiskUsageList item that corresponds to the specified file system.
Definition at line 277 of file YQPkgDiskUsageList.cc.
void YQPkgDiskUsageListItem::checkRemainingDiskSpace | ( | ) |
Check the remaining disk space of this partition based on percentage and absolute free MB.
Notify the parent YQPkgDiskUsageList's warning ranges accordingly.
Definition at line 378 of file YQPkgDiskUsageList.cc.
|
inlinevirtual |
The device name of this partition.
Reimplemented from QY2DiskUsageListItem.
Definition at line 271 of file YQPkgDiskUsageList.h.
|
virtual |
The name to display for this partition ( the mount point ).
Reimplemented from QY2DiskUsageListItem.
Definition at line 362 of file YQPkgDiskUsageList.cc.
void YQPkgDiskUsageListItem::setText | ( | int | column, |
double | size | ||
) |
set the text label with the size
column | column to set |
size | the size value |
Definition at line 340 of file YQPkgDiskUsageList.cc.
|
virtual |
The total size of this partition.
Reimplemented from QY2DiskUsageListItem.
Definition at line 355 of file YQPkgDiskUsageList.cc.
|
virtual |
Update this item's data completely.
Triggered by QY2ListView::updateAllItemData().
Reimplemented from QY2ListViewItem.
Definition at line 295 of file YQPkgDiskUsageList.cc.
|
virtual |
Update this item's status ( here: the numeric fields ).
Triggered by QY2ListView::updateAllItemStates().
Reimplemented from QY2ListViewItem.
Definition at line 288 of file YQPkgDiskUsageList.cc.
|
virtual |
The currently used size of this partition.
Reimplemented from QY2DiskUsageListItem.
Definition at line 348 of file YQPkgDiskUsageList.cc.