22QgsModelDesignerInputsTreeWidget::QgsModelDesignerInputsTreeWidget( QWidget *parent )
23 : QTreeWidget( parent )
28#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
29QMimeData *QgsModelDesignerInputsTreeWidget::mimeData(
const QList<QTreeWidgetItem *> items )
const
31QMimeData *QgsModelDesignerInputsTreeWidget::mimeData(
const QList<QTreeWidgetItem *> &items )
const
37 std::unique_ptr< QMimeData > res = std::make_unique< QMimeData >();
38 const QString text = items.value( 0 )->data( 0, Qt::UserRole ).toString();