mirror of
https://github.com/YACReader/yacreader
synced 2025-07-25 08:25:03 -04:00
added support for deleting labels/lists
This commit is contained in:
@ -114,6 +114,7 @@ ReadingListItem *ReadingListItem::child(int row)
|
||||
void ReadingListItem::appendChild(ReadingListItem *item)
|
||||
{
|
||||
childItems.append(item);
|
||||
item->parent = this;
|
||||
return; //TODO
|
||||
|
||||
item->parent = this;
|
||||
@ -151,6 +152,11 @@ void ReadingListItem::appendChild(ReadingListItem *item)
|
||||
|
||||
}
|
||||
|
||||
void ReadingListItem::removeChild(ReadingListItem *item)
|
||||
{
|
||||
childItems.removeOne(item);
|
||||
}
|
||||
|
||||
qulonglong ReadingListItem::getId() const
|
||||
{
|
||||
if(itemData.count()>1)
|
||||
|
Reference in New Issue
Block a user