Go to the documentation of this file.
13 #ifndef TREASURE_LIST_WRAPPER_H
14 #define TREASURE_LIST_WRAPPER_H
17 #include <QStringList>
46 virtual bool canDrag()
const override {
return true; }
47 virtual void drag(QMimeData *
data)
const override;
48 virtual bool canDrop(
const QMimeData *
data,
int row)
const override;
49 virtual void drop(
const QMimeData *
data,
int row)
override;
treasurelist * myWrappedItem
ResourcesManager * myResources
virtual void wasModified(AssetWrapper *asset, ChangeType type, int extra) override
static QIcon getTreasureIcon()
void setSingleItem(bool isSingle)
virtual void drag(QMimeData *data) const override
virtual AssetWrapper * child(int child) override
virtual PossibleUse uses(const AssetWrapper *, std::string &) const override
virtual QIcon displayIcon() const override
virtual void removeChild(AssetWrapper *child) override
virtual int childrenCount() const override
bool isSingleItem() const
virtual bool canDrop(const QMimeData *data, int row) const override
static QIcon getTreasureOneIcon()
virtual QString displayName() const override
virtual void drop(const QMimeData *data, int row) override
virtual int childIndex(AssetWrapper *child) override
virtual bool canDrag() const override