mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +00:00
27 lines
699 B
C++
27 lines
699 B
C++
/*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>
|
|
#include <QVariant>
|
|
|
|
namespace CSMWorld
|
|
{
|
|
class UniversalId;
|
|
class TableMimeData : public QMimeData
|
|
{
|
|
public:
|
|
TableMimeData(UniversalId& UniversalId);
|
|
~TableMimeData();
|
|
virtual QStringList formats() const;
|
|
UniversalId& getId();
|
|
|
|
private:
|
|
QStringList mSupportedFormats;
|
|
UniversalId& mUniversalId;
|
|
};
|
|
}
|
|
#endif // TABLEMIMEDATA_H
|