17#ifndef QGSPROJECTITEM_H
18#define QGSPROJECTITEM_H
43 SIP_PYOBJECT __repr__();
45 QString str = QStringLiteral(
"<QgsProjectItem: \"%1\" %2>" ).arg( sipCpp->name(), sipCpp->path() );
46 sipRes = PyUnicode_FromString( str.toUtf8().constData() );
Base class for all items in the model.
virtual QgsMimeDataUtils::UriList mimeUris() const
Returns mime URIs for the data item, most data providers will only return a single URI but some data ...
QList< QgsMimeDataUtils::Uri > UriList
Data item that can be used to represent QGIS projects.
bool hasDragEnabled() const override
Returns true if the item may be dragged.