mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 04:15:31 +00:00
22 lines
No EOL
448 B
C++
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;
|
|
} |