22 #include <dtkCoreSupport/dtkAbstractData.h>
23 #include <dtkCoreSupport/dtkGlobal.h>
28 class axlInspectorObjectControllerPrivate
31 QHash<dtkAbstractData *, axlInspectorObjectManagerTreeItem *> items;
52 return d->items.key(item);
57 return d->items.value(data);
66 if ((item->text(0)) == dataname)
76 return d->items.values();
81 return d->items.keys();
87 qDebug() << DTK_PRETTY_FUNCTION <<
" no data !";
92 qDebug() << DTK_PRETTY_FUNCTION <<
" no item !";
96 d->items.insert(data, item);
105 return d->items.size();
110 d->items.remove(data);
115 foreach(dtkAbstractData *
data, dataToRemoved)
116 d->items.remove(data);
122 return "axlInspectorObjectController";
bool insert(dtkAbstractData *data, axlInspectorObjectManagerTreeItem *item)
void remove(dtkAbstractData *data)
QList< dtkAbstractData * > datas(void)
virtual QString description(void) const
dtkAbstractData * data(axlInspectorObjectManagerTreeItem *item)
void onDataRemoved(QList< dtkAbstractData * > dataToRemoved)
virtual ~axlInspectorObjectController(void)
axlInspectorObjectController(void)
axlInspectorObjectManagerTreeItem * item(dtkAbstractData *data)
QList< axlInspectorObjectManagerTreeItem * > items(void)