1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 04:15:31 +00:00
openmw-tes3mp/apps/opencs/model/world/tablemimedata.cpp
2014-02-04 11:40:48 +01:00

22 lines
No EOL
448 B
C++

#include "tablemimedata.hpp"
#include "universalid.hpp"
CSMWorld::TableMimeData::TableMimeData (UniversalId id) :
mUniversalId(id)
{
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;
}