26 #define YUILogComponent "ui"
29 #include "YUISymbols.h"
30 #include "YPartitionSplitter.h"
39 const std::string & usedLabel,
40 const std::string & freeLabel,
41 const std::string & newPartLabel,
42 const std::string & freeFieldLabel,
43 const std::string & newPartFieldLabel )
44 : usedSize ( usedSize )
45 , totalFreeSize ( totalFreeSize )
46 , minNewPartSize ( minNewPartSize )
47 , minFreeSize ( minFreeSize )
48 , usedLabel ( usedLabel )
49 , freeLabel ( freeLabel )
50 , newPartLabel ( newPartLabel )
51 , freeFieldLabel ( freeFieldLabel )
52 , newPartFieldLabel ( newPartFieldLabel )
59 std::string usedLabel;
60 std::string freeLabel;
61 std::string newPartLabel;
62 std::string freeFieldLabel;
63 std::string newPartFieldLabel;
75 const std::string & usedLabel,
76 const std::string & freeLabel,
77 const std::string & newPartLabel,
78 const std::string & freeFieldLabel,
79 const std::string & newPartFieldLabel )
92 YUI_CHECK_NEW( priv );
105 int YPartitionSplitter::usedSize()
const
107 return priv->usedSize;
111 int YPartitionSplitter::totalFreeSize()
const
113 return priv->totalFreeSize;
117 int YPartitionSplitter::minNewPartSize()
const
119 return priv->minNewPartSize;
123 int YPartitionSplitter::minFreeSize()
const
125 return priv->minFreeSize;
129 std::string YPartitionSplitter::usedLabel()
const
131 return priv->usedLabel;
135 std::string YPartitionSplitter::freeLabel()
const
137 return priv->freeLabel;
141 std::string YPartitionSplitter::newPartLabel()
const
143 return priv->newPartLabel;
147 std::string YPartitionSplitter::freeFieldLabel()
const
149 return priv->freeFieldLabel;
153 std::string YPartitionSplitter::newPartFieldLabel()
const
155 return priv->newPartFieldLabel;
169 propSet.
add(
YProperty( YUIProperty_Value, YStringProperty ) );
182 if ( propertyName == YUIProperty_Value )
setValue( val.integerVal() );