1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 15:39:02 +00:00
OpenMW/apps/opencs/model/world/tablemimedata.hpp

31 lines
739 B
C++
Raw Normal View History

/*This class provides way to construct mimedata object holding the reference to the
* universalid. universalid is used in the majority of the tables to store type, id, argument types*/
#ifndef TABLEMIMEDATA_H
#define TABLEMIMEDATA_H
#include <qt4/QtCore/QMimeData>
2014-02-04 10:40:48 +00:00
#include <QStringList>
#include "universalid.hpp"
class QStringList;
namespace CSMWorld
{
class UniversalId;
class TableMimeData : public QMimeData
{
public:
2014-02-04 10:40:48 +00:00
TableMimeData(UniversalId id);
~TableMimeData();
virtual QStringList formats() const;
UniversalId& getId();
private:
QStringList mSupportedFormats;
2014-02-04 10:40:48 +00:00
UniversalId mUniversalId;
};
}
#endif // TABLEMIMEDATA_H