44 #include <ActiveQt/qaxobject.h> 54 #ifndef QT_NO_WIN_ACTIVEQT 134 void finished(
const QVariant &result);
136 void stateChanged(
int state);
137 void error(
int code,
const QString &description,
int sourcePosition,
const QString &sourceText);
143 void updateObjects();
161 void addObject(
QAxBase *
object);
162 void addObject(
QObject *
object);
182 static QString scriptFileFilter();
188 void objectDestroyed(
QObject *o);
189 void scriptError(
int code,
const QString &description,
int sourcePosition,
const QString &sourceText);
237 qWarning(
"QAxScriptMananger::addObject: Class %s not exposed through the QAxFactory",
245 #endif // QT_NO_WIN_ACTIVEQT 249 #endif // QAXSCRIPT_H The QVariant class acts like a union for the most common Qt data types.
#define QT_END_NAMESPACE
This macro expands to.
static bool findObject(const QDBusConnectionPrivate::ObjectTreeNode *root, const QString &fullpath, int &usedLength, QDBusConnectionPrivate::ObjectTreeNode &result)
QAxBase * qax_create_object_wrapper(QObject *)
FunctionFlags
This FunctionFlags enum describes formatting for function introspection.
void addItem(const QString &name)
Registers an item with the script engine.
The QString class provides a Unicode character string.
The QAxObject class provides a QObject that wraps a COM object.
The QObject class is the base class of all Qt objects.
~QAxScriptEngine()
Destroys the QAxScriptEngine object, releasing all allocated resources.
QString scriptLanguage() const
Returns the scripting language, for example "VBScript", or "JScript".
bool isValid() const
Returns true if the script engine has been initialized correctly; otherwise returns false...
QAxScriptManager * script_manager
void addObject(QAxBase *object)
Adds object to the manager.
QLocale::Language language
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool hasIntrospection() const
Returns true if the script engine supports introspection; otherwise returns false.
QAxScriptManagerPrivate * d
QAxScriptEngine * scriptEngine() const
Returns a pointer to the script engine.
The QStringList class provides a list of strings.
Q_CORE_EXPORT void qWarning(const char *,...)
const T * ptr(const T &t)
The QAxScriptManager class provides a bridge between application objects and script code...
The State element defines configurations of objects and properties.
QAxScriptSite * script_site
void setState(State st)
Sets the state of the script engine to st.
Q_CORE_EXPORT int QT_FASTCALL script(uint ucs4)
QAxScriptEngine(const QString &language, QAxScript *script)
Constructs a QAxScriptEngine object interpreting script code in language provided by the code in scri...
State state() const
Returns the state of the script engine.
QString scriptName() const
Returns the name of the script.
QObject * parent() const
Returns a pointer to the parent object.
#define st(var, type, card)
QAxScriptEngine * script_engine
bool initialize(IUnknown **ptr)
Reimplemented Function
The QAxScript class provides a wrapper around script code.
long queryInterface(const QUuid &, void **) const
Requests the interface uuid from the script engine object and sets the value of iface to the provided...
The QAxScriptEngine class provides a wrapper around a script engine.
The QAxBase class is an abstract class that provides an API to initialize and access a COM object...
virtual const QMetaObject * metaObject() const
Returns a pointer to the meta-object of this object.
The QUuid class stores a Universally Unique Identifier (UUID).
QString scriptCode() const
Returns the script's code, or the null-string if no code has been loaded yet.