43 #ifndef QT_NO_WIN_ACTIVEQT 45 #include <ActiveQt/qaxfactory.h> 53 IDispatch *dispatch = 0;
57 wrapper =
new QAxObject(dispatch,
object);
65 #endif // QT_NO_WIN_ACTIVEQT #define QT_END_NAMESPACE
This macro expands to.
QAxFactory * qAxFactory()
QString objectName
the name of this object
The QAxObject class provides a QObject that wraps a COM object.
The QObject class is the base class of all Qt objects.
void setObjectName(const QString &name)
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual bool createObjectWrapper(QObject *object, IDispatch **wrapper)
Reimplement this function to provide the COM object for object in wrapper.
QAxBase * qax_create_object_wrapper(QObject *object)
The QAxBase class is an abstract class that provides an API to initialize and access a COM object...