![]() |
Crossfire Resources Editor
|
Functions | |
| void | addMime (QMimeData *data, const QString &mime, const QString &name) |
| void | addQuestStep (QMimeData *data, QString code, int index) |
| template<class T > | |
| static QList< T * > | extract (const QMimeData *data, const QString &mime, AssetsCollection< T > *assets) |
| QList< QPair< QString, int > > | extractQuestSteps (const QMimeData *data) |
Variables | |
| static const char * | Archetype = "x-crossfire/archetype" |
| static const char * | QuestStep = "x-crossfire/quest-step" |
| static const char * | TreasureList = "x-crossfire/treasure-list" |
| void MimeUtils::addMime | ( | QMimeData * | data, |
| const QString & | mime, | ||
| const QString & | name | ||
| ) |
Definition at line 17 of file MimeUtils.cpp.
Referenced by ArchetypeWrapper::drag().
Here is the caller graph for this function:| void MimeUtils::addQuestStep | ( | QMimeData * | data, |
| QString | code, | ||
| int | index | ||
| ) |
Definition at line 24 of file MimeUtils.cpp.
References QuestStep.
Referenced by QuestStepWrapper::drag().
Here is the caller graph for this function:
|
static |
Definition at line 31 of file MimeUtils.h.
Referenced by TreasureListWrapper::drop(), TreasureWrapper::drop(), and TreasurePanel::dropEvent().
Here is the caller graph for this function:| QList< QPair< QString, int > > MimeUtils::extractQuestSteps | ( | const QMimeData * | data | ) |
Definition at line 31 of file MimeUtils.cpp.
References QuestStep.
Referenced by QuestWrapper::drop().
Here is the caller graph for this function:
|
static |
Definition at line 24 of file MimeUtils.h.
Referenced by TreasureListWrapper::canDrop(), TreasureWrapper::canDrop(), ArchetypeWrapper::drag(), TreasurePanel::dragEnterEvent(), TreasureListWrapper::drop(), TreasureWrapper::drop(), and TreasurePanel::dropEvent().
|
static |
Definition at line 26 of file MimeUtils.h.
Referenced by addQuestStep(), QuestStepWrapper::canDrop(), QuestWrapper::canDrop(), and extractQuestSteps().
|
static |
Definition at line 25 of file MimeUtils.h.
Referenced by TreasureListWrapper::canDrop(), TreasureWrapper::canDrop(), TreasureListWrapper::drag(), TreasurePanel::dragEnterEvent(), TreasureListWrapper::drop(), TreasureWrapper::drop(), and TreasurePanel::dropEvent().