Kross
manager.h
Go to the documentation of this file.
132 void registerMetaTypeHandler(const QByteArray& typeName, MetaTypeHandler::FunctionPtr* handler);
145 void registerMetaTypeHandler(const QByteArray& typeName, MetaTypeHandler::FunctionPtr2* handler);
The ActionCollection class manages collections of Action instances.
Definition actioncollection.h:46
The Action class is an abstract container to deal with scripts like a single standalone script file.
Definition action.h:99
The InterpreterInfo class provides abstract information about a Interpreter before the interpreter-ba...
Definition core/interpreter.h:44
The Manager class is a singleton that provides the main entry point to deal with the Kross Scripting ...
Definition manager.h:53
MetaTypeHandler * metaTypeHandler(const QByteArray &typeName) const
Definition manager.cpp:395
void deleteModules()
External modules are dynamically loadable and are normally deleted when the kross library is unloaded...
Definition manager.cpp:364
Interpreter * interpreter(const QString &interpretername) const
Return the Interpreter instance defined by the interpretername.
Definition manager.cpp:271
bool strictTypesEnabled() const
Returns true if strict type handling is enabled.
Definition manager.cpp:415
const QString interpreternameForFile(const QString &file)
Return the name of the Interpreter that feels responsible for the defined file .
Definition manager.cpp:255
void started(Kross::Action *)
This signal is emitted when the execution of a script is started.
void finished(Kross::Action *)
This signal is emitted when the execution of a script is finished.
void registerMetaTypeHandler(const QByteArray &typeName, MetaTypeHandler::FunctionPtr *handler)
Register a handler for custom types.
Definition manager.cpp:400
ActionCollection * actionCollection() const
Definition manager.cpp:285
bool hasHandlerAssigned(const QByteArray &typeName) const
Definition manager.cpp:425
QObject * module(const QString &modulename)
Load and return an external module.
Definition manager.cpp:307
InterpreterInfo * interpreterInfo(const QString &interpretername) const
Definition manager.cpp:250
void addQObject(QObject *obj, const QString &name=QString())
Definition manager.cpp:380
QHash< QString, InterpreterInfo * > interpreterInfos() const
Definition manager.cpp:240
bool hasInterpreterInfo(const QString &interpretername) const
Definition manager.cpp:245
void registerMetaTypeHandler(const QByteArray &typeName, MetaTypeHandler::FunctionPtr2 *handler)
Register a handler for custom types.
Base class for metatype-handlers as used returned by the Kross::Manager::metaTypeHandler() method.
Definition metatype.h:139
QVariant FunctionPtr2(MetaTypeHandler *handler, void *)
Definition metatype.h:142
Definition action.cpp:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.