22 void TulipItemDelegate::registerCreator(tlp::TulipItemEditorCreator *c) {
23 int id = qMetaTypeId<T>();
25 if (_creators.contains(
id))
32 void TulipItemDelegate::unregisterCreator() {
33 int id = qMetaTypeId<T>();
35 if (_creators.contains(
id))
40 tlp::TulipItemEditorCreator* TulipItemDelegate::creator()
const {
41 return creator(qMetaTypeId<T>());