33 typedef std::vector<YTableCell *> YTableCellCollection;
34 typedef YTableCellCollection::iterator YTableCellIterator;
35 typedef YTableCellCollection::const_iterator YTableCellConstIterator;
78 const std::string & label_1 = std::string(),
79 const std::string & label_2 = std::string(),
80 const std::string & label_3 = std::string(),
81 const std::string & label_4 = std::string(),
82 const std::string & label_5 = std::string(),
83 const std::string & label_6 = std::string(),
84 const std::string & label_7 = std::string(),
85 const std::string & label_8 = std::string(),
86 const std::string & label_9 = std::string() );
121 YTableCellConstIterator
cellsBegin()
const {
return _cells.begin(); }
126 YTableCellIterator
cellsEnd() {
return _cells.end(); }
127 YTableCellConstIterator
cellsEnd()
const {
return _cells.end(); }
157 std::string iconName(
int index )
const;
163 bool hasIconName(
int index )
const;
176 std::string iconName()
const {
return ""; }
178 void setLabel (
const std::string & ) {}
179 void setIconName (
const std::string & ) {}
186 YTableCellCollection _cells;
233 const std::string & label,
253 std::string
label()
const {
return _label; }
262 void setLabel(
const std::string & newLabel ) { _label = newLabel; }
281 void setIconName(
const std::string & newIconName ) { _iconName = newIconName; }
312 std::string _iconName;
319 #endif // YTableItem_h