36 if (mimetype ==
formats().first())
49 return QStringList() <<
"application/x-State";
57 if (mimetype ==
"application/x-State")
67 return QMimeData::retrieveData(mimetype, preferredType);
bool hasFormat(const QString &mimetype) const override
QStringList formats() const override
statechartmodel::StatePtr getState() const
void setProxyName(const QString &value)
AbstractStateMimeData(statechartmodel::StatePtr state)
const QString & getProxyName() const
QVariant retrieveData(const QString &mimetype, QVariant::Type preferredType) const override
void setState(const statechartmodel::StatePtr &value)
statechartmodel::StatePtr state
std::shared_ptr< State > StatePtr
This file offers overloads of toIce() and fromIce() functions for STL container types.