Crossfire Server, Trunk
|
#include <GameSounds.h>
Public Member Functions | |
virtual AssetWrapper * | child (int child) override |
virtual int | childIndex (AssetWrapper *child) override |
virtual int | childrenCount () const override |
QString | description () const |
virtual QString | displayName () const override |
GameSounds (AssetWrapper *parent) | |
virtual PossibleUse | uses (const AssetWrapper *asset, std::string &) const override |
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 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 | ~AssetWrapper () override |
Static Public Attributes | |
static std::map< QString, std::string > | gameSounds |
Static Public Attributes inherited from AssetWrapper | |
static const char * | tipProperty = "_cre_internal" |
Properties | |
QString | description |
Properties inherited from AssetWrapper | |
QString | displayName |
AssetWrapper | self |
Private Attributes | |
std::vector< GameSound * > | mySounds |
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) |
Protected Member Functions inherited from AssetWrapper | |
virtual void | wasModified (AssetWrapper *asset, ChangeType type, int extra) |
Protected Attributes inherited from AssetWrapper | |
QString | myPanelName |
AssetWrapper * | myParent |
Definition at line 21 of file GameSounds.h.
GameSounds::GameSounds | ( | AssetWrapper * | parent | ) |
Definition at line 43 of file GameSounds.cpp.
References gameSounds, mySounds, and AssetWrapper::tipProperty.
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 58 of file GameSounds.cpp.
References mySounds.
Referenced by childIndex().
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 62 of file GameSounds.cpp.
References child(), and mySounds.
|
inlineoverridevirtual |
QString GameSounds::description | ( | ) | const |
|
inlineoverridevirtual |
Implements AssetWrapper.
Definition at line 28 of file GameSounds.h.
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 50 of file GameSounds.cpp.
References AssetWrapper::ChildrenMayUse, and AssetWrapper::DoesntUse.
|
static |
Definition at line 36 of file GameSounds.h.
Referenced by GameSounds(), and SoundsDialog::soundType().
|
private |
Definition at line 39 of file GameSounds.h.
Referenced by child(), childIndex(), childrenCount(), and GameSounds().
|
read |
Definition at line 24 of file GameSounds.h.