 |
Crossfire Resources Editor
|
Go to the documentation of this file.
18 setProperty(
tipProperty, tr(
"Display all Python scripts used in maps."));
28 QList<ScriptFile*> list;
52 QHash<QString, ScriptFile*>::iterator script =
myScripts.begin();
55 if ((*script)->removeMap(map))
bool forMap(const CREMapInformation *map) const
QHash< QString, ScriptFile * > myScripts
static const char * tipProperty
QList< ScriptFile * > scriptsForMap(CREMapInformation *map)
Base class for all assets that can be displayed or edited by CRE.
void removeMap(CREMapInformation *map)
Remove scripts linked to a map.
ScriptFileManager(AssetWrapper *parent)
QList< ScriptFile * > scripts() const
Information about a script file.
ScriptFile * getFile(const QString &path)
Get information about a script path.
void addHook(HookInformation *hook)
void markModified(ChangeType change, int extra=0)
virtual ~ScriptFileManager()
void addHook(const QString &file, HookInformation *hook)