2014-02-01 18:06:41 +00:00
|
|
|
#include "tablemimedata.hpp"
|
2014-02-04 08:13:40 +00:00
|
|
|
#include "universalid.hpp"
|
|
|
|
|
2014-02-04 10:40:48 +00:00
|
|
|
CSMWorld::TableMimeData::TableMimeData (UniversalId id) :
|
|
|
|
mUniversalId(id)
|
2014-02-04 08:13:40 +00:00
|
|
|
{
|
2014-02-04 10:40:48 +00:00
|
|
|
mSupportedFormats << QString::fromStdString("application/Type_" + id.getTypeName());
|
2014-02-04 08:13:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|