forked from blue/squawk
Roster improovements
This commit is contained in:
parent
7b30228249
commit
76f9ece344
7 changed files with 265 additions and 18 deletions
|
@ -82,3 +82,17 @@ QVariant Models::Item::data(int column) const
|
|||
}
|
||||
return name;
|
||||
}
|
||||
|
||||
void Models::Item::removeChild(int index)
|
||||
{
|
||||
childItems.erase(childItems.begin() + index);
|
||||
}
|
||||
|
||||
void Models::Item::setParent(Models::Item* p_parent)
|
||||
{
|
||||
parent = p_parent;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue