openmw-tes3coop/apps/opencs/model/world/tablemimedata.cpp

22 lines
448 B
C++
Raw Normal View History

#include "tablemimedata.hpp"
#include "universalid.hpp"
2014-02-04 10:40:48 +00:00
CSMWorld::TableMimeData::TableMimeData (UniversalId id) :
mUniversalId(id)
{
2014-02-04 10:40:48 +00:00
mSupportedFormats << QString::fromStdString("application/Type_" + id.getTypeName());
}
QStringList CSMWorld::TableMimeData::formats() const
{
return QMimeData::formats();
}
CSMWorld::TableMimeData::~TableMimeData()
{
}
CSMWorld::UniversalId& CSMWorld::TableMimeData::getId()
{
return mUniversalId;
2014-02-04 10:40:48 +00:00
}