Crossfire Server, Trunk
|
#include <RandomMap.h>
Public Member Functions | |
virtual QString | displayName () const override |
const CREMapInformation * | map () const |
const RMParms * | parameters () const |
RandomMap (CREMapInformation *parent, int x, int y, const char *parameters) | |
int | x () const |
int | y () const |
Public Member Functions inherited from AssetWrapper | |
AssetWrapper (AssetWrapper *parent, const QString &panelName="empty") | |
virtual bool | canDrag () const |
virtual bool | canDrop (const QMimeData *, int) const |
virtual AssetWrapper * | child (int) |
virtual int | childIndex (AssetWrapper *) |
virtual int | childrenCount () const |
virtual QIcon | displayIcon () const |
virtual QString | displayPanelName () const |
AssetWrapper * | displayParent () const |
virtual void | drag (QMimeData *) const |
virtual void | drop (const QMimeData *, int) |
virtual void | fillMenu (QMenu *) |
void | markModified (ChangeType change, int extra=0) |
AssetWrapper * | self () |
void | setDisplayParent (AssetWrapper *parent) |
virtual PossibleUse | uses (const AssetWrapper *, std::string &) const |
virtual | ~AssetWrapper () override |
Private Attributes | |
CREMapInformation * | myMap |
RMParms | myParameters |
int | myX |
int | myY |
Additional Inherited Members | |
Public Types inherited from AssetWrapper | |
enum | ChangeType { AssetUpdated, BeforeChildAdd, AfterChildAdd, BeforeChildRemove, AfterChildRemove, BeforeLayoutChange, AfterLayoutChange } |
enum | PossibleUse { Uses, ChildrenMayUse, DoesntUse } |
Public Slots inherited from AssetWrapper | |
virtual void | removeChild (AssetWrapper *) |
Signals inherited from AssetWrapper | |
void | dataModified (AssetWrapper *asset, AssetWrapper::ChangeType type, int extra) |
void | modified () |
Static Public Member Functions inherited from AssetWrapper | |
static bool | compareByDisplayName (const AssetWrapper *left, const AssetWrapper *right) |
Static Public Attributes inherited from AssetWrapper | |
static const char * | tipProperty = "_cre_internal" |
Protected Member Functions inherited from AssetWrapper | |
virtual void | wasModified (AssetWrapper *asset, ChangeType type, int extra) |
Protected Attributes inherited from AssetWrapper | |
QString | myPanelName |
AssetWrapper * | myParent |
Properties inherited from AssetWrapper | |
QString | displayName |
AssetWrapper | self |
Definition at line 24 of file RandomMap.h.
RandomMap::RandomMap | ( | CREMapInformation * | parent, |
int | x, | ||
int | y, | ||
const char * | parameters | ||
) |
Definition at line 15 of file RandomMap.cpp.
References myMap, myParameters, myX, myY, parameters(), set_random_map_variable(), x(), and y().
|
inlineoverridevirtual |
Implements AssetWrapper.
Definition at line 29 of file RandomMap.h.
References myMap, and CREMapInformation::path.
const CREMapInformation * RandomMap::map | ( | ) | const |
Definition at line 24 of file RandomMap.cpp.
References myMap.
Referenced by CRERandomMapPanel::updateItem().
const RMParms * RandomMap::parameters | ( | ) | const |
Definition at line 39 of file RandomMap.cpp.
References myParameters.
Referenced by RandomMap(), CREMapInformationManager::storeCache(), and CRERandomMapPanel::updateItem().
int RandomMap::x | ( | ) | const |
Definition at line 29 of file RandomMap.cpp.
References myX.
Referenced by RandomMap(), CREMapInformationManager::storeCache(), and CRERandomMapPanel::updateItem().
int RandomMap::y | ( | ) | const |
Definition at line 34 of file RandomMap.cpp.
References myY.
Referenced by RandomMap(), CREMapInformationManager::storeCache(), and CRERandomMapPanel::updateItem().
|
private |
Definition at line 37 of file RandomMap.h.
Referenced by displayName(), map(), and RandomMap().
|
private |
Definition at line 40 of file RandomMap.h.
Referenced by parameters(), and RandomMap().
|
private |
Definition at line 38 of file RandomMap.h.
Referenced by RandomMap(), and x().
|
private |
Definition at line 39 of file RandomMap.h.
Referenced by RandomMap(), and y().