43 #ifndef QT_NO_WIN_ACTIVEQT 149 if (!
qstrcmp(cname,
"QAxObject"))
return (
void*)
this;
151 return QObject::qt_metacast(cname);
167 id = QObject::qt_metacall(call,
id, v);
199 if (!
verbs().contains(verb))
208 HRESULT hres = ole->DoVerb(index, 0, 0, 0, 0, 0);
216 #endif // QT_NO_WIN_ACTIVEQT QStringList verbs() const
Returns the list of verbs that the COM object can execute.
#define QT_END_NAMESPACE
This macro expands to.
virtual const QMetaObject * metaObject() const
The metaobject is generated on the fly from the information provided by the IDispatch and ITypeInfo i...
QAxObject(QObject *parent=0)
Creates an empty COM object and propagates parent to the QObject constructor.
int qt_metacall(QMetaObject::Call, int, void **)
static const QMetaObject staticMetaObject
This variable stores the meta-object for the class.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
bool doVerb(const QString &verb)
Requests the COM object to perform the action verb.
const QMetaObject * metaObject() const
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual int qt_metacall(QMetaObject::Call, int, void **)
void connectNotify()
Connects to all event interfaces of the object.
bool setControl(const QString &)
void * qt_metacast(const char *)
long indexOfVerb(const QString &verb) const
const char * className() const
QObject * parent() const
Returns a pointer to the parent object.
int qstrcmp(const QByteArray &str1, const char *str2)
long queryInterface(const QUuid &, void **) const
Requests the interface uuid from the COM object and sets the value of iface to the provided interface...
virtual void clear()
Disconnects and destroys the COM object.
~QAxObject()
Releases the COM object and destroys the QAxObject, cleaning up all allocated resources.
The QAxBase class is an abstract class that provides an API to initialize and access a COM object...
const QMetaObject * parentMetaObject() const