<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.15"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>libyui-qt: QY2DiskUsageListItem Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">libyui-qt  <span id="projectnumber">2.49.11</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.15 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('classQY2DiskUsageListItem.html','');}); /* @license-end */ </script> <div id="doc-content"> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> | <a href="classQY2DiskUsageListItem-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">QY2DiskUsageListItem Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> </div><!--header--> <div class="contents"> <p>Abstract base class for one partition ( mount point ) to display in a <a class="el" href="classQY2DiskUsageList.html" title="Generic scrollable list of disk usage for any number of partitions.">QY2DiskUsageList</a>. <a href="classQY2DiskUsageListItem.html#details">More...</a></p> <p><code>#include <<a class="el" href="QY2DiskUsageList_8h_source.html">QY2DiskUsageList.h</a>></code></p> <div class="dynheader"> Inheritance diagram for QY2DiskUsageListItem:</div> <div class="dyncontent"> <div class="center"><img src="classQY2DiskUsageListItem__inherit__graph.png" border="0" usemap="#QY2DiskUsageListItem_inherit__map" alt="Inheritance graph"/></div> <map name="QY2DiskUsageListItem_inherit__map" id="QY2DiskUsageListItem_inherit__map"> <area shape="rect" title="Abstract base class for one partition ( mount point ) to display in a QY2DiskUsageList." alt="" coords="5,155,165,181"/> <area shape="rect" href="classQY2ListViewItem.html" title="Enhanced QTreeWidgetItem." alt="" coords="23,80,147,107"/> <area shape="rect" title=" " alt="" coords="23,5,148,32"/> </map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for QY2DiskUsageListItem:</div> <div class="dyncontent"> <div class="center"><img src="classQY2DiskUsageListItem__coll__graph.png" border="0" usemap="#QY2DiskUsageListItem_coll__map" alt="Collaboration graph"/></div> <map name="QY2DiskUsageListItem_coll__map" id="QY2DiskUsageListItem_coll__map"> <area shape="rect" title="Abstract base class for one partition ( mount point ) to display in a QY2DiskUsageList." alt="" coords="64,260,224,287"/> <area shape="rect" href="classQY2ListViewItem.html" title="Enhanced QTreeWidgetItem." alt="" coords="6,171,130,197"/> <area shape="rect" title=" " alt="" coords="5,95,131,121"/> <area shape="rect" href="classQY2DiskUsageList.html" title="Generic scrollable list of disk usage for any number of partitions." alt="" coords="154,171,289,197"/> <area shape="rect" href="classQY2ListView.html" title="Enhanced QTreeWidget." alt="" coords="172,95,271,121"/> <area shape="rect" title=" " alt="" coords="104,5,203,32"/> <area shape="rect" title=" " alt="" coords="227,5,349,32"/> </map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:aa9908b17de7cb90674d5736fdc4ec300"><td class="memItemLeft" align="right" valign="top">virtual FSize </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2DiskUsageListItem.html#aa9908b17de7cb90674d5736fdc4ec300">usedSize</a> () const =0</td></tr> <tr class="memdesc:aa9908b17de7cb90674d5736fdc4ec300"><td class="mdescLeft"> </td><td class="mdescRight">The currently used size of this partition. <a href="#aa9908b17de7cb90674d5736fdc4ec300">More...</a><br /></td></tr> <tr class="separator:aa9908b17de7cb90674d5736fdc4ec300"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a873063e412ea65c8fb352339b7cca85a"><td class="memItemLeft" align="right" valign="top">virtual FSize </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2DiskUsageListItem.html#a873063e412ea65c8fb352339b7cca85a">totalSize</a> () const =0</td></tr> <tr class="memdesc:a873063e412ea65c8fb352339b7cca85a"><td class="mdescLeft"> </td><td class="mdescRight">The total size of this partition. <a href="#a873063e412ea65c8fb352339b7cca85a">More...</a><br /></td></tr> <tr class="separator:a873063e412ea65c8fb352339b7cca85a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a24b940e6a810e1c00fa8117cfb9a4b45"><td class="memItemLeft" align="right" valign="top">virtual FSize </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2DiskUsageListItem.html#a24b940e6a810e1c00fa8117cfb9a4b45">freeSize</a> () const</td></tr> <tr class="memdesc:a24b940e6a810e1c00fa8117cfb9a4b45"><td class="mdescLeft"> </td><td class="mdescRight">The current free size of this partition. <a href="#a24b940e6a810e1c00fa8117cfb9a4b45">More...</a><br /></td></tr> <tr class="separator:a24b940e6a810e1c00fa8117cfb9a4b45"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acf9217fff5f0d9cf317813a893cecb6f"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2DiskUsageListItem.html#acf9217fff5f0d9cf317813a893cecb6f">usedPercent</a> () const</td></tr> <tr class="memdesc:acf9217fff5f0d9cf317813a893cecb6f"><td class="mdescLeft"> </td><td class="mdescRight">The currently used percentage ( 0..100 ) of this partition. <a href="#acf9217fff5f0d9cf317813a893cecb6f">More...</a><br /></td></tr> <tr class="separator:acf9217fff5f0d9cf317813a893cecb6f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2b6b2450a21e87bdace807f90c368a6f"><td class="memItemLeft" align="right" valign="top">virtual QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2DiskUsageListItem.html#a2b6b2450a21e87bdace807f90c368a6f">name</a> () const =0</td></tr> <tr class="memdesc:a2b6b2450a21e87bdace807f90c368a6f"><td class="mdescLeft"> </td><td class="mdescRight">The name to display for this partition. <a href="#a2b6b2450a21e87bdace807f90c368a6f">More...</a><br /></td></tr> <tr class="separator:a2b6b2450a21e87bdace807f90c368a6f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a474a3eef854ee2e8b263b5c67b71678e"><td class="memItemLeft" align="right" valign="top">virtual QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2DiskUsageListItem.html#a474a3eef854ee2e8b263b5c67b71678e">deviceName</a> () const</td></tr> <tr class="memdesc:a474a3eef854ee2e8b263b5c67b71678e"><td class="mdescLeft"> </td><td class="mdescRight">The device name of this partition. <a href="#a474a3eef854ee2e8b263b5c67b71678e">More...</a><br /></td></tr> <tr class="separator:a474a3eef854ee2e8b263b5c67b71678e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9dcf8403c735816ac54fda83be7b82f7"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2DiskUsageListItem.html#a9dcf8403c735816ac54fda83be7b82f7">updateStatus</a> ()</td></tr> <tr class="memdesc:a9dcf8403c735816ac54fda83be7b82f7"><td class="mdescLeft"> </td><td class="mdescRight">Update this item's status ( here: the numeric fields ). <a href="#a9dcf8403c735816ac54fda83be7b82f7">More...</a><br /></td></tr> <tr class="separator:a9dcf8403c735816ac54fda83be7b82f7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2c2440aa6fee40c9a047aad3ff2b21b0"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2DiskUsageListItem.html#a2c2440aa6fee40c9a047aad3ff2b21b0">updateData</a> ()</td></tr> <tr class="memdesc:a2c2440aa6fee40c9a047aad3ff2b21b0"><td class="mdescLeft"> </td><td class="mdescRight">Update this item's data completely. <a href="#a2c2440aa6fee40c9a047aad3ff2b21b0">More...</a><br /></td></tr> <tr class="separator:a2c2440aa6fee40c9a047aad3ff2b21b0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8a48e844ba19f74b1030fe14837bb7c3"><td class="memItemLeft" align="right" valign="top"><a id="a8a48e844ba19f74b1030fe14837bb7c3"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2DiskUsageListItem.html#a8a48e844ba19f74b1030fe14837bb7c3">setText</a> (int column, const QString &text)</td></tr> <tr class="memdesc:a8a48e844ba19f74b1030fe14837bb7c3"><td class="mdescLeft"> </td><td class="mdescRight">Re-declare ordinary <a class="el" href="classQY2DiskUsageListItem.html#a8a48e844ba19f74b1030fe14837bb7c3" title="Re-declare ordinary setText() method so the compiler doesn't get confused which one to use.">setText()</a> method so the compiler doesn't get confused which one to use. <br /></td></tr> <tr class="separator:a8a48e844ba19f74b1030fe14837bb7c3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0c4436c2d69bc28b821fb59ed5636a31"><td class="memItemLeft" align="right" valign="top"><a id="a0c4436c2d69bc28b821fb59ed5636a31"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2DiskUsageListItem.html#a0c4436c2d69bc28b821fb59ed5636a31">setText</a> (int column, const FSize &size)</td></tr> <tr class="memdesc:a0c4436c2d69bc28b821fb59ed5636a31"><td class="mdescLeft"> </td><td class="mdescRight">Set a column text via FSize. <br /></td></tr> <tr class="separator:a0c4436c2d69bc28b821fb59ed5636a31"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1fab132f8aaa2e54c75cca7fb7d20a8a"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2DiskUsageListItem.html#a1fab132f8aaa2e54c75cca7fb7d20a8a">operator<</a> (const QTreeWidgetItem &other) const</td></tr> <tr class="memdesc:a1fab132f8aaa2e54c75cca7fb7d20a8a"><td class="mdescLeft"> </td><td class="mdescRight">Comparison function used for sorting the list. <a href="#a1fab132f8aaa2e54c75cca7fb7d20a8a">More...</a><br /></td></tr> <tr class="separator:a1fab132f8aaa2e54c75cca7fb7d20a8a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4eef55bd48789e903fab583ac61dba08"><td class="memItemLeft" align="right" valign="top"><a id="a4eef55bd48789e903fab583ac61dba08"></a> int </td><td class="memItemRight" valign="bottom"><b>nameCol</b> () const</td></tr> <tr class="separator:a4eef55bd48789e903fab583ac61dba08"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5b1542291def73de4a245c0e54d20af0"><td class="memItemLeft" align="right" valign="top"><a id="a5b1542291def73de4a245c0e54d20af0"></a> int </td><td class="memItemRight" valign="bottom"><b>percentageBarCol</b> () const</td></tr> <tr class="separator:a5b1542291def73de4a245c0e54d20af0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aba163f377d1d0614c0d36d5ac89341ef"><td class="memItemLeft" align="right" valign="top"><a id="aba163f377d1d0614c0d36d5ac89341ef"></a> int </td><td class="memItemRight" valign="bottom"><b>usedSizeCol</b> () const</td></tr> <tr class="separator:aba163f377d1d0614c0d36d5ac89341ef"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac5c3c955150e3b83b6ab5ecbb8b9d324"><td class="memItemLeft" align="right" valign="top"><a id="ac5c3c955150e3b83b6ab5ecbb8b9d324"></a> int </td><td class="memItemRight" valign="bottom"><b>freeSizeCol</b> () const</td></tr> <tr class="separator:ac5c3c955150e3b83b6ab5ecbb8b9d324"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a74306bb7a320d2e1a3607cf87af3e688"><td class="memItemLeft" align="right" valign="top"><a id="a74306bb7a320d2e1a3607cf87af3e688"></a> int </td><td class="memItemRight" valign="bottom"><b>totalSizeCol</b> () const</td></tr> <tr class="separator:a74306bb7a320d2e1a3607cf87af3e688"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7f764d395b62755f0bd0f66e4590f4b7"><td class="memItemLeft" align="right" valign="top"><a id="a7f764d395b62755f0bd0f66e4590f4b7"></a> int </td><td class="memItemRight" valign="bottom"><b>deviceNameCol</b> () const</td></tr> <tr class="separator:a7f764d395b62755f0bd0f66e4590f4b7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5a530cc77adbca02ac0cbcf1005faca3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2DiskUsageListItem.html#a5a530cc77adbca02ac0cbcf1005faca3">paintPercentageBar</a> (QPainter *painter, QStyleOptionViewItem option, const QColor &fillColor)</td></tr> <tr class="memdesc:a5a530cc77adbca02ac0cbcf1005faca3"><td class="mdescLeft"> </td><td class="mdescRight">Paint a percentage bar into a QListViewItem cell. <a href="#a5a530cc77adbca02ac0cbcf1005faca3">More...</a><br /></td></tr> <tr class="separator:a5a530cc77adbca02ac0cbcf1005faca3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classQY2ListViewItem"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classQY2ListViewItem')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classQY2ListViewItem.html">QY2ListViewItem</a></td></tr> <tr class="memitem:adf999567c08c7765067171cdbf902180 inherit pub_methods_classQY2ListViewItem"><td class="memItemLeft" align="right" valign="top"><a id="adf999567c08c7765067171cdbf902180"></a>  </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2ListViewItem.html#adf999567c08c7765067171cdbf902180">QY2ListViewItem</a> (<a class="el" href="classQY2ListView.html">QY2ListView</a> *parentListView, const QString &text=QString::null)</td></tr> <tr class="memdesc:adf999567c08c7765067171cdbf902180 inherit pub_methods_classQY2ListViewItem"><td class="mdescLeft"> </td><td class="mdescRight">Constructor for toplevel items. <br /></td></tr> <tr class="separator:adf999567c08c7765067171cdbf902180 inherit pub_methods_classQY2ListViewItem"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afb752c733642c78f591c4ca8d356abb2 inherit pub_methods_classQY2ListViewItem"><td class="memItemLeft" align="right" valign="top"><a id="afb752c733642c78f591c4ca8d356abb2"></a>  </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2ListViewItem.html#afb752c733642c78f591c4ca8d356abb2">QY2ListViewItem</a> (QTreeWidgetItem *parentItem, const QString &text=QString::null)</td></tr> <tr class="memdesc:afb752c733642c78f591c4ca8d356abb2 inherit pub_methods_classQY2ListViewItem"><td class="mdescLeft"> </td><td class="mdescRight">Constructor for deeper level items. <br /></td></tr> <tr class="separator:afb752c733642c78f591c4ca8d356abb2 inherit pub_methods_classQY2ListViewItem"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adc603fd50c3b73b7a3746cc9c8e1ec05 inherit pub_methods_classQY2ListViewItem"><td class="memItemLeft" align="right" valign="top"><a id="adc603fd50c3b73b7a3746cc9c8e1ec05"></a> virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2ListViewItem.html#adc603fd50c3b73b7a3746cc9c8e1ec05">~QY2ListViewItem</a> ()</td></tr> <tr class="memdesc:adc603fd50c3b73b7a3746cc9c8e1ec05 inherit pub_methods_classQY2ListViewItem"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br /></td></tr> <tr class="separator:adc603fd50c3b73b7a3746cc9c8e1ec05 inherit pub_methods_classQY2ListViewItem"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae83c2b5fd6a11e3acd8e05db8db47be0 inherit pub_methods_classQY2ListViewItem"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2ListViewItem.html#ae83c2b5fd6a11e3acd8e05db8db47be0">serial</a> () const</td></tr> <tr class="memdesc:ae83c2b5fd6a11e3acd8e05db8db47be0 inherit pub_methods_classQY2ListViewItem"><td class="mdescLeft"> </td><td class="mdescRight">Return this item's serial number. <a href="classQY2ListViewItem.html#ae83c2b5fd6a11e3acd8e05db8db47be0">More...</a><br /></td></tr> <tr class="separator:ae83c2b5fd6a11e3acd8e05db8db47be0 inherit pub_methods_classQY2ListViewItem"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad8d6c17eee0a53839352a991d75296e0 inherit pub_methods_classQY2ListViewItem"><td class="memItemLeft" align="right" valign="top">virtual QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2ListViewItem.html#ad8d6c17eee0a53839352a991d75296e0">toolTip</a> (int column)</td></tr> <tr class="memdesc:ad8d6c17eee0a53839352a991d75296e0 inherit pub_methods_classQY2ListViewItem"><td class="mdescLeft"> </td><td class="mdescRight">Returns a tool tip text for a specific column of this item. <a href="classQY2ListViewItem.html#ad8d6c17eee0a53839352a991d75296e0">More...</a><br /></td></tr> <tr class="separator:ad8d6c17eee0a53839352a991d75296e0 inherit pub_methods_classQY2ListViewItem"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr class="memitem:a11628fce506cb641107abd5aad91b87b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2DiskUsageListItem.html#a11628fce506cb641107abd5aad91b87b">QY2DiskUsageListItem</a> (<a class="el" href="classQY2DiskUsageList.html">QY2DiskUsageList</a> *parent)</td></tr> <tr class="memdesc:a11628fce506cb641107abd5aad91b87b"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a11628fce506cb641107abd5aad91b87b">More...</a><br /></td></tr> <tr class="separator:a11628fce506cb641107abd5aad91b87b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a67e7eb6b5ba905a5d8398005755f64f5"><td class="memItemLeft" align="right" valign="top"><a id="a67e7eb6b5ba905a5d8398005755f64f5"></a> virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2DiskUsageListItem.html#a67e7eb6b5ba905a5d8398005755f64f5">~QY2DiskUsageListItem</a> ()</td></tr> <tr class="memdesc:a67e7eb6b5ba905a5d8398005755f64f5"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br /></td></tr> <tr class="separator:a67e7eb6b5ba905a5d8398005755f64f5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a01f65c8adab473e046552eee70b3fe0f"><td class="memItemLeft" align="right" valign="top"><a id="a01f65c8adab473e046552eee70b3fe0f"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2DiskUsageListItem.html#a01f65c8adab473e046552eee70b3fe0f">init</a> (bool allFields)</td></tr> <tr class="memdesc:a01f65c8adab473e046552eee70b3fe0f"><td class="mdescLeft"> </td><td class="mdescRight">( Re- ) initialize fields - all displayed fields ( if 'allFields' is 'true' ) or only the varying fields ( used, free, percentage ). <br /></td></tr> <tr class="separator:a01f65c8adab473e046552eee70b3fe0f"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr class="memitem:ae0d074d42fdae2f1a47347301ffaa537"><td class="memItemLeft" align="right" valign="top"><a id="ae0d074d42fdae2f1a47347301ffaa537"></a> <a class="el" href="classQY2DiskUsageList.html">QY2DiskUsageList</a> * </td><td class="memItemRight" valign="bottom"><b>_diskUsageList</b></td></tr> <tr class="separator:ae0d074d42fdae2f1a47347301ffaa537"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_attribs_classQY2ListViewItem"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classQY2ListViewItem')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classQY2ListViewItem.html">QY2ListViewItem</a></td></tr> <tr class="memitem:ae23c4fe214aabc3b9f8e8fcbfe5bd758 inherit pro_attribs_classQY2ListViewItem"><td class="memItemLeft" align="right" valign="top"><a id="ae23c4fe214aabc3b9f8e8fcbfe5bd758"></a> int </td><td class="memItemRight" valign="bottom"><b>_serial</b></td></tr> <tr class="separator:ae23c4fe214aabc3b9f8e8fcbfe5bd758 inherit pro_attribs_classQY2ListViewItem"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a30bfa66d9202d3539e3c439ca0ad584a inherit pro_attribs_classQY2ListViewItem"><td class="memItemLeft" align="right" valign="top"><a id="a30bfa66d9202d3539e3c439ca0ad584a"></a> QColor </td><td class="memItemRight" valign="bottom"><b>_textColor</b></td></tr> <tr class="separator:a30bfa66d9202d3539e3c439ca0ad584a inherit pro_attribs_classQY2ListViewItem"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a90d469a148e2982498701ea597331048 inherit pro_attribs_classQY2ListViewItem"><td class="memItemLeft" align="right" valign="top"><a id="a90d469a148e2982498701ea597331048"></a> QColor </td><td class="memItemRight" valign="bottom"><b>_backgroundColor</b></td></tr> <tr class="separator:a90d469a148e2982498701ea597331048 inherit pro_attribs_classQY2ListViewItem"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Abstract base class for one partition ( mount point ) to display in a <a class="el" href="classQY2DiskUsageList.html" title="Generic scrollable list of disk usage for any number of partitions.">QY2DiskUsageList</a>. </p> <p>This class contains pure virtuals, so it cannot be used directly. </p> <p class="definition">Definition at line <a class="el" href="QY2DiskUsageList_8h_source.html#l00096">96</a> of file <a class="el" href="QY2DiskUsageList_8h_source.html">QY2DiskUsageList.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="a11628fce506cb641107abd5aad91b87b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a11628fce506cb641107abd5aad91b87b">◆ </a></span>QY2DiskUsageListItem()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">QY2DiskUsageListItem::QY2DiskUsageListItem </td> <td>(</td> <td class="paramtype"><a class="el" href="classQY2DiskUsageList.html">QY2DiskUsageList</a> * </td> <td class="paramname"><em>parent</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Constructor. </p> <p>Call <a class="el" href="classQY2DiskUsageListItem.html#a2c2440aa6fee40c9a047aad3ff2b21b0" title="Update this item's data completely.">updateData()</a> after the constructor for the initial display update. Unfortunately, this cannot be done automatically in the constructor since it uses virtual methods that are not available yet at this point. </p> <p class="definition">Definition at line <a class="el" href="QY2DiskUsageList_8cc_source.html#l00219">219</a> of file <a class="el" href="QY2DiskUsageList_8cc_source.html">QY2DiskUsageList.cc</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="a474a3eef854ee2e8b263b5c67b71678e"></a> <h2 class="memtitle"><span class="permalink"><a href="#a474a3eef854ee2e8b263b5c67b71678e">◆ </a></span>deviceName()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual QString QY2DiskUsageListItem::deviceName </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>The device name of this partition. </p> <p>Derived classes may choose to reimplement this method. This default implementation returns an empty std::string. </p> <p class="definition">Definition at line <a class="el" href="QY2DiskUsageList_8h_source.html#l00166">166</a> of file <a class="el" href="QY2DiskUsageList_8h_source.html">QY2DiskUsageList.h</a>.</p> </div> </div> <a id="a24b940e6a810e1c00fa8117cfb9a4b45"></a> <h2 class="memtitle"><span class="permalink"><a href="#a24b940e6a810e1c00fa8117cfb9a4b45">◆ </a></span>freeSize()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">FSize QY2DiskUsageListItem::freeSize </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>The current free size of this partition. </p> <p>Derived classes can choose reimpmenent this if it is less expensive than calculating this value each time from <a class="el" href="classQY2DiskUsageListItem.html#aa9908b17de7cb90674d5736fdc4ec300" title="The currently used size of this partition.">usedSize()</a> and <a class="el" href="classQY2DiskUsageListItem.html#a873063e412ea65c8fb352339b7cca85a" title="The total size of this partition.">totalSize()</a> which is the default implementation. </p> <p class="definition">Definition at line <a class="el" href="QY2DiskUsageList_8cc_source.html#l00269">269</a> of file <a class="el" href="QY2DiskUsageList_8cc_source.html">QY2DiskUsageList.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classQY2DiskUsageListItem_a24b940e6a810e1c00fa8117cfb9a4b45_cgraph.png" border="0" usemap="#classQY2DiskUsageListItem_a24b940e6a810e1c00fa8117cfb9a4b45_cgraph" alt=""/></div> <map name="classQY2DiskUsageListItem_a24b940e6a810e1c00fa8117cfb9a4b45_cgraph" id="classQY2DiskUsageListItem_a24b940e6a810e1c00fa8117cfb9a4b45_cgraph"> <area shape="rect" title="The current free size of this partition." alt="" coords="5,39,165,80"/> <area shape="rect" href="classQY2DiskUsageListItem.html#a873063e412ea65c8fb352339b7cca85a" title="The total size of this partition." alt="" coords="213,5,373,47"/> <area shape="rect" href="classQY2DiskUsageListItem.html#aa9908b17de7cb90674d5736fdc4ec300" title="The currently used size of this partition." alt="" coords="213,71,373,112"/> </map> </div> </div> </div> <a id="a2b6b2450a21e87bdace807f90c368a6f"></a> <h2 class="memtitle"><span class="permalink"><a href="#a2b6b2450a21e87bdace807f90c368a6f">◆ </a></span>name()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual QString QY2DiskUsageListItem::name </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>The name to display for this partition. </p> <p>It makes most sense to use the mount point here ( but this is not a requirement ). This is what will be displayed in the "Name" column.</p> <p>Derived classes need to implement this method. </p> </div> </div> <a id="a1fab132f8aaa2e54c75cca7fb7d20a8a"></a> <h2 class="memtitle"><span class="permalink"><a href="#a1fab132f8aaa2e54c75cca7fb7d20a8a">◆ </a></span>operator<()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool QY2DiskUsageListItem::operator< </td> <td>(</td> <td class="paramtype">const QTreeWidgetItem & </td> <td class="paramname"><em>otherListViewItem</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Comparison function used for sorting the list. </p> <p>Reimplemented from QTreeWidgetItem </p> <p>Reimplemented from <a class="el" href="classQY2ListViewItem.html#a74ad0122c6eb3c6906fd54cb2cb0f539">QY2ListViewItem</a>.</p> <p class="definition">Definition at line <a class="el" href="QY2DiskUsageList_8cc_source.html#l00309">309</a> of file <a class="el" href="QY2DiskUsageList_8cc_source.html">QY2DiskUsageList.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classQY2DiskUsageListItem_a1fab132f8aaa2e54c75cca7fb7d20a8a_cgraph.png" border="0" usemap="#classQY2DiskUsageListItem_a1fab132f8aaa2e54c75cca7fb7d20a8a_cgraph" alt=""/></div> <map name="classQY2DiskUsageListItem_a1fab132f8aaa2e54c75cca7fb7d20a8a_cgraph" id="classQY2DiskUsageListItem_a1fab132f8aaa2e54c75cca7fb7d20a8a_cgraph"> <area shape="rect" title="Comparison function used for sorting the list." alt="" coords="5,99,165,140"/> <area shape="rect" href="classQY2DiskUsageListItem.html#acf9217fff5f0d9cf317813a893cecb6f" title="The currently used percentage ( 0..100 ) of this partition." alt="" coords="227,99,387,140"/> <area shape="rect" href="classQY2DiskUsageListItem.html#a873063e412ea65c8fb352339b7cca85a" title="The total size of this partition." alt="" coords="465,34,625,75"/> <area shape="rect" href="classQY2DiskUsageListItem.html#aa9908b17de7cb90674d5736fdc4ec300" title="The currently used size of this partition." alt="" coords="465,99,625,140"/> <area shape="rect" href="classQY2DiskUsageListItem.html#a24b940e6a810e1c00fa8117cfb9a4b45" title="The current free size of this partition." alt="" coords="227,34,387,75"/> <area shape="rect" href="classQY2ListViewItem.html#a74ad0122c6eb3c6906fd54cb2cb0f539" title="Comparison function used for sorting the list." alt="" coords="213,222,400,249"/> <area shape="rect" href="classQY2ListView.html#ae08404f64ecc1999443300edbda5f0a4" title="Returns 'true' if the sort order should always be the item insertion order, 'false' if the user can c..." alt="" coords="448,164,643,206"/> <area shape="rect" href="classQY2ListViewItem.html#ae83c2b5fd6a11e3acd8e05db8db47be0" title="Return this item's serial number." alt="" coords="464,230,627,257"/> <area shape="rect" href="classQY2CheckListItem.html#ac1e20618c7b3824e134980eb46cd572a" title="Return this item's serial number." alt="" coords="459,281,631,308"/> </map> </div> </div> </div> <a id="a5a530cc77adbca02ac0cbcf1005faca3"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5a530cc77adbca02ac0cbcf1005faca3">◆ </a></span>paintPercentageBar()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QY2DiskUsageListItem::paintPercentageBar </td> <td>(</td> <td class="paramtype">QPainter * </td> <td class="paramname"><em>painter</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">QStyleOptionViewItem </td> <td class="paramname"><em>option</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QColor & </td> <td class="paramname"><em>fillColor</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Paint a percentage bar into a QListViewItem cell. </p> <p>Stolen from KDirStat::KDirTreeView with the author's permission.</p> <p>'width' is the width of the entire cell. 'indent' is the number of pixels to indent the bar.</p> <p>Stolen from KDirStat::KDirTreeView with the author's permission. </p> <p class="definition">Definition at line <a class="el" href="QY2DiskUsageList_8cc_source.html#l00342">342</a> of file <a class="el" href="QY2DiskUsageList_8cc_source.html">QY2DiskUsageList.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classQY2DiskUsageListItem_a5a530cc77adbca02ac0cbcf1005faca3_cgraph.png" border="0" usemap="#classQY2DiskUsageListItem_a5a530cc77adbca02ac0cbcf1005faca3_cgraph" alt=""/></div> <map name="classQY2DiskUsageListItem_a5a530cc77adbca02ac0cbcf1005faca3_cgraph" id="classQY2DiskUsageListItem_a5a530cc77adbca02ac0cbcf1005faca3_cgraph"> <area shape="rect" title="Paint a percentage bar into a QListViewItem cell." alt="" coords="5,39,165,80"/> <area shape="rect" href="classQY2DiskUsageListItem.html#acf9217fff5f0d9cf317813a893cecb6f" title="The currently used percentage ( 0..100 ) of this partition." alt="" coords="213,39,373,80"/> <area shape="rect" href="classQY2DiskUsageListItem.html#a873063e412ea65c8fb352339b7cca85a" title="The total size of this partition." alt="" coords="421,5,581,47"/> <area shape="rect" href="classQY2DiskUsageListItem.html#aa9908b17de7cb90674d5736fdc4ec300" title="The currently used size of this partition." alt="" coords="421,71,581,112"/> </map> </div> </div> </div> <a id="a873063e412ea65c8fb352339b7cca85a"></a> <h2 class="memtitle"><span class="permalink"><a href="#a873063e412ea65c8fb352339b7cca85a">◆ </a></span>totalSize()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual FSize QY2DiskUsageListItem::totalSize </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>The total size of this partition. </p> <p>Derived classes need to implement this method. </p> </div> </div> <a id="a2c2440aa6fee40c9a047aad3ff2b21b0"></a> <h2 class="memtitle"><span class="permalink"><a href="#a2c2440aa6fee40c9a047aad3ff2b21b0">◆ </a></span>updateData()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void QY2DiskUsageListItem::updateData </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Update this item's data completely. </p> <p>Triggered by QY2ListView::updateAllItemData().</p> <p>Reimplemented from <a class="el" href="classQY2ListViewItem.html" title="Enhanced QTreeWidgetItem.">QY2ListViewItem</a>. </p> <p>Reimplemented from <a class="el" href="classQY2ListViewItem.html#ab7fae63a3982a50549eefebcd95c1646">QY2ListViewItem</a>.</p> <p class="definition">Definition at line <a class="el" href="QY2DiskUsageList_8cc_source.html#l00295">295</a> of file <a class="el" href="QY2DiskUsageList_8cc_source.html">QY2DiskUsageList.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classQY2DiskUsageListItem_a2c2440aa6fee40c9a047aad3ff2b21b0_cgraph.png" border="0" usemap="#classQY2DiskUsageListItem_a2c2440aa6fee40c9a047aad3ff2b21b0_cgraph" alt=""/></div> <map name="classQY2DiskUsageListItem_a2c2440aa6fee40c9a047aad3ff2b21b0_cgraph" id="classQY2DiskUsageListItem_a2c2440aa6fee40c9a047aad3ff2b21b0_cgraph"> <area shape="rect" title="Update this item's data completely." alt="" coords="5,152,165,193"/> <area shape="rect" href="classQY2DiskUsageListItem.html#a01f65c8adab473e046552eee70b3fe0f" title="( Re- ) initialize fields - all displayed fields ( if 'allFields' is 'true' ) or only the varying fie..." alt="" coords="213,152,373,193"/> <area shape="rect" href="classQY2DiskUsageListItem.html#a8a48e844ba19f74b1030fe14837bb7c3" title="Re-declare ordinary setText() method so the compiler doesn't get confused which one to use." alt="" coords="421,5,581,47"/> <area shape="rect" href="classQY2DiskUsageListItem.html#aa9908b17de7cb90674d5736fdc4ec300" title="The currently used size of this partition." alt="" coords="629,77,789,119"/> <area shape="rect" href="classQY2DiskUsageListItem.html#a24b940e6a810e1c00fa8117cfb9a4b45" title="The current free size of this partition." alt="" coords="421,123,581,164"/> <area shape="rect" href="classQY2DiskUsageListItem.html#a873063e412ea65c8fb352339b7cca85a" title="The total size of this partition." alt="" coords="629,156,789,197"/> <area shape="rect" href="classQY2DiskUsageListItem.html#a2b6b2450a21e87bdace807f90c368a6f" title="The name to display for this partition." alt="" coords="421,240,581,281"/> <area shape="rect" href="classQY2DiskUsageListItem.html#a474a3eef854ee2e8b263b5c67b71678e" title="The device name of this partition." alt="" coords="421,305,581,347"/> </map> </div> </div> </div> <a id="a9dcf8403c735816ac54fda83be7b82f7"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9dcf8403c735816ac54fda83be7b82f7">◆ </a></span>updateStatus()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void QY2DiskUsageListItem::updateStatus </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Update this item's status ( here: the numeric fields ). </p> <p>Triggered by QY2ListView::updateAllItemStates().</p> <p>Reimplemented from <a class="el" href="classQY2ListViewItem.html" title="Enhanced QTreeWidgetItem.">QY2ListViewItem</a>. </p> <p>Reimplemented from <a class="el" href="classQY2ListViewItem.html#aa74b80ba2167a7b4a5b8f9b0ad114227">QY2ListViewItem</a>.</p> <p class="definition">Definition at line <a class="el" href="QY2DiskUsageList_8cc_source.html#l00288">288</a> of file <a class="el" href="QY2DiskUsageList_8cc_source.html">QY2DiskUsageList.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classQY2DiskUsageListItem_a9dcf8403c735816ac54fda83be7b82f7_cgraph.png" border="0" usemap="#classQY2DiskUsageListItem_a9dcf8403c735816ac54fda83be7b82f7_cgraph" alt=""/></div> <map name="classQY2DiskUsageListItem_a9dcf8403c735816ac54fda83be7b82f7_cgraph" id="classQY2DiskUsageListItem_a9dcf8403c735816ac54fda83be7b82f7_cgraph"> <area shape="rect" title="Update this item's status ( here: the numeric fields )." alt="" coords="5,152,165,193"/> <area shape="rect" href="classQY2DiskUsageListItem.html#a01f65c8adab473e046552eee70b3fe0f" title="( Re- ) initialize fields - all displayed fields ( if 'allFields' is 'true' ) or only the varying fie..." alt="" coords="213,152,373,193"/> <area shape="rect" href="classQY2DiskUsageListItem.html#a8a48e844ba19f74b1030fe14837bb7c3" title="Re-declare ordinary setText() method so the compiler doesn't get confused which one to use." alt="" coords="421,5,581,47"/> <area shape="rect" href="classQY2DiskUsageListItem.html#aa9908b17de7cb90674d5736fdc4ec300" title="The currently used size of this partition." alt="" coords="629,77,789,119"/> <area shape="rect" href="classQY2DiskUsageListItem.html#a24b940e6a810e1c00fa8117cfb9a4b45" title="The current free size of this partition." alt="" coords="421,123,581,164"/> <area shape="rect" href="classQY2DiskUsageListItem.html#a873063e412ea65c8fb352339b7cca85a" title="The total size of this partition." alt="" coords="629,156,789,197"/> <area shape="rect" href="classQY2DiskUsageListItem.html#a2b6b2450a21e87bdace807f90c368a6f" title="The name to display for this partition." alt="" coords="421,240,581,281"/> <area shape="rect" href="classQY2DiskUsageListItem.html#a474a3eef854ee2e8b263b5c67b71678e" title="The device name of this partition." alt="" coords="421,305,581,347"/> </map> </div> </div> </div> <a id="acf9217fff5f0d9cf317813a893cecb6f"></a> <h2 class="memtitle"><span class="permalink"><a href="#acf9217fff5f0d9cf317813a893cecb6f">◆ </a></span>usedPercent()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int QY2DiskUsageListItem::usedPercent </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>The currently used percentage ( 0..100 ) of this partition. </p> <p>Derived classes can choose reimpmenent this if it is less expensive than calculating this value each time from <a class="el" href="classQY2DiskUsageListItem.html#aa9908b17de7cb90674d5736fdc4ec300" title="The currently used size of this partition.">usedSize()</a> and <a class="el" href="classQY2DiskUsageListItem.html#a873063e412ea65c8fb352339b7cca85a" title="The total size of this partition.">totalSize()</a> which is the default implementation. </p> <p class="definition">Definition at line <a class="el" href="QY2DiskUsageList_8cc_source.html#l00276">276</a> of file <a class="el" href="QY2DiskUsageList_8cc_source.html">QY2DiskUsageList.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classQY2DiskUsageListItem_acf9217fff5f0d9cf317813a893cecb6f_cgraph.png" border="0" usemap="#classQY2DiskUsageListItem_acf9217fff5f0d9cf317813a893cecb6f_cgraph" alt=""/></div> <map name="classQY2DiskUsageListItem_acf9217fff5f0d9cf317813a893cecb6f_cgraph" id="classQY2DiskUsageListItem_acf9217fff5f0d9cf317813a893cecb6f_cgraph"> <area shape="rect" title="The currently used percentage ( 0..100 ) of this partition." alt="" coords="5,39,165,80"/> <area shape="rect" href="classQY2DiskUsageListItem.html#a873063e412ea65c8fb352339b7cca85a" title="The total size of this partition." alt="" coords="213,5,373,47"/> <area shape="rect" href="classQY2DiskUsageListItem.html#aa9908b17de7cb90674d5736fdc4ec300" title="The currently used size of this partition." alt="" coords="213,71,373,112"/> </map> </div> </div> </div> <a id="aa9908b17de7cb90674d5736fdc4ec300"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa9908b17de7cb90674d5736fdc4ec300">◆ </a></span>usedSize()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual FSize QY2DiskUsageListItem::usedSize </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>The currently used size of this partition. </p> <p>Derived classes need to implement this method. </p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li>/home/iurt/rpmbuild/BUILD/libyui-qt-2.49.11/src/<a class="el" href="QY2DiskUsageList_8h_source.html">QY2DiskUsageList.h</a></li> <li>/home/iurt/rpmbuild/BUILD/libyui-qt-2.49.11/src/<a class="el" href="QY2DiskUsageList_8cc_source.html">QY2DiskUsageList.cc</a></li> </ul> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="classQY2DiskUsageListItem.html">QY2DiskUsageListItem</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li> </ul> </div> </body> </html>