Crossfire Server, Trunk
|
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.
References navar-midane_time::data, and give::name.
Referenced by ArchetypeWrapper::drag().
void MimeUtils::addQuestStep | ( | QMimeData * | data, |
QString | code, | ||
int | index | ||
) |
Definition at line 24 of file MimeUtils.cpp.
References navar-midane_time::data, npc_dialog::index, and QuestStep.
Referenced by QuestStepWrapper::drag().
|
static |
Definition at line 31 of file MimeUtils.h.
References navar-midane_time::data, AssetsCollection< T, Key >::find(), and give::name.
Referenced by TreasureListWrapper::drop(), TreasureWrapper::drop(), and TreasurePanel::dropEvent().
QList< QPair< QString, int > > MimeUtils::extractQuestSteps | ( | const QMimeData * | data | ) |
Definition at line 31 of file MimeUtils.cpp.
References navar-midane_time::data, npc_dialog::index, give::name, and QuestStep.
Referenced by QuestWrapper::drop().
|
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().