The COM object is a QAxObject with the CLSID .
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(Application()));
Or call the function directly:
QAxObject * result = object->querySubObject("Application()");
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(MathInterface()));
Or call the function directly:
IMathInterface* result = object->dynamicCall("MathInterface()").toInt();
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(Metadata()));
Or call the function directly:
QAxObject * result = object->querySubObject("Metadata()");
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(Parent()));
Or call the function directly:
QAxObject * result = object->querySubObject("Parent()");
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(bool, QString)), object, SLOT(SetRelativeAndURL(bool, QString)));
Or call the function directly:
QVariantList params = ... object->dynamicCall("SetRelativeAndURL(bool, QString)", params);
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(bool)), object, SLOT(SetRelativePath(bool)));
Or call the function directly:
QVariantList params = ... object->dynamicCall("SetRelativePath(bool)", params);
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(Tag()));
Or call the function directly:
QString result = object->dynamicCall("Tag()").toString();
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(ToString()));
Or call the function directly:
QString result = object->dynamicCall("ToString()").toString();
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(Type()));
Or call the function directly:
__MIDL___MIDL_itf_automation_0262_0004 result = object->dynamicCall("Type()").toInt();
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(X()));
Or call the function directly:
int result = object->dynamicCall("X()").toInt();
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(Y()));
Or call the function directly:
int result = object->dynamicCall("Y()").toInt();
Connect a slot to this signal:
QObject::connect(object, SIGNAL(exception(int, QString, QString, QString)), receiver, SLOT(someSlot(int, QString, QString, QString)));
Connect a slot to this signal:
QObject::connect(object, SIGNAL(propertyChanged(QString)), receiver, SLOT(someSlot(QString)));
Connect a slot to this signal:
QObject::connect(object, SIGNAL(signal(QString, int, void*)), receiver, SLOT(someSlot(QString, int, void*)));
Read this property's value using QObject::property:
QString val = object->property("objectName").toString();Set this property' value using QObject::setProperty:
QString newValue = ... object->setProperty("objectName", newValue);Or using the setObjectName slot.
Read this property's value using QObject::property:
IDispatch* val = object->property("Application").toIDispatch*();
This property is of an unsupported type.
Read this property's value using QObject::property:
IDispatch* val = object->property("Metadata").toIDispatch*();
Read this property's value using QObject::property:
IDispatch* val = object->property("Parent").toIDispatch*();
Read this property's value using QObject::property:
QString val = object->property("Tag").toString();
Read this property's value using QObject::property:
int val = object->property("Type").toInt();
See also __MIDL___MIDL_itf_automation_0262_0004.
Read this property's value using QObject::property:
int val = object->property("X").toInt();
Read this property's value using QObject::property:
int val = object->property("Y").toInt();
Read this property's value using QObject::property:
QString val = object->property("control").toString();Set this property' value using QObject::setProperty:
QString newValue = ... object->setProperty("control", newValue);Or using the setControl slot.