32 SessionItem* result = catalog().createItemPtr(model_name).release();
46 return catalog().validTopItemTypes();
Defines class ItemCatalog.
Defines class ItemFactory.
Defines class SessionItem.
Catalog of SessionItems. A single instance is created and used in ItemFactory.cpp.
bool insertItem(int row, SessionItem *item, const QString &tag="")
Insert item into given tag into given row.
QStringList ValidTopItemTypes()
retrieve list of all possible item types suitable for
SessionItem * CreateEmptyItem()
create empty SessionItem that serves as a root item
SessionItem * CreateItem(const QString &model_name, SessionItem *parent=nullptr)
create SessionItem of specific type and parent