Qt 4.8
Classes | Functions
qaxobject.h File Reference
#include <ActiveQt/qaxbase.h>

Go to the source code of this file.

Classes

class  QAxObject
 The QAxObject class provides a QObject that wraps a COM object. More...
 

Functions

template<>
QAxObjectqobject_cast< QAxObject * > (const QObject *o)
 
template<>
QAxObjectqobject_cast< QAxObject * > (QObject *o)
 

Function Documentation

◆ qobject_cast< QAxObject * >() [1/2]

template<>
QAxObject* qobject_cast< QAxObject *> ( const QObject o)
inline

Definition at line 82 of file qaxobject.h.

84 {
85  void *result = o ? const_cast<QObject *>(o)->qt_metacast("QAxObject") : 0;
86  return (QAxObject*)(result);
87 }
The QAxObject class provides a QObject that wraps a COM object.
Definition: qaxobject.h:54
The QObject class is the base class of all Qt objects.
Definition: qobject.h:111

◆ qobject_cast< QAxObject * >() [2/2]

template<>
QAxObject* qobject_cast< QAxObject *> ( QObject o)
inline

Definition at line 92 of file qaxobject.h.

94 {
95  void *result = o ? o->qt_metacast("QAxObject") : 0;
96  return (QAxObject*)(result);
97 }
The QAxObject class provides a QObject that wraps a COM object.
Definition: qaxobject.h:54