MCPcopy Create free account
hub / github.com/begla/Intrinsic / mimeData

Method mimeData

IntrinsicEd/src/IntrinsicEdNodeViewTreeWidget.cpp:514–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

512}
513
514QMimeData* IntrinsicEdNodeViewTreeWidget::mimeData(
515 const QList<QTreeWidgetItem*> items) const
516{
517 if (!items.empty())
518 {
519 SingleNodeMimeData* mimeData = new SingleNodeMimeData();
520 mimeData->node = items[0];
521
522 return mimeData;
523 }
524
525 return nullptr;
526}
527
528bool IntrinsicEdNodeViewTreeWidget::dropMimeData(QTreeWidgetItem* p_Parent,
529 int p_Index,

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected