Crossfire Server, Trunk
MimeUtils.h File Reference
#include <QString>
#include <QList>
#include <QMimeData>
#include <QDataStream>
#include <QIODevice>
#include "AssetsCollection.h"
+ Include dependency graph for MimeUtils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 MimeUtils
 

Functions

void MimeUtils::addMime (QMimeData *data, const QString &mime, const QString &name)
 
void MimeUtils::addQuestStep (QMimeData *data, QString code, int index)
 
template<class T >
static QList< T * > MimeUtils::extract (const QMimeData *data, const QString &mime, AssetsCollection< T > *assets)
 
QList< QPair< QString, int > > MimeUtils::extractQuestSteps (const QMimeData *data)
 

Variables

static const char * MimeUtils::Archetype = "x-crossfire/archetype"
 
static const char * MimeUtils::QuestStep = "x-crossfire/quest-step"
 
static const char * MimeUtils::TreasureList = "x-crossfire/treasure-list"