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

Go to the source code of this file.

Classes

class  QAxWidget
 The QAxWidget class is a QWidget that wraps an ActiveX control. More...
 

Functions

template<>
QAxWidgetqobject_cast< QAxWidget * > (const QObject *o)
 
template<>
QAxWidgetqobject_cast< QAxWidget * > (QObject *o)
 

Function Documentation

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

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

Definition at line 104 of file qaxwidget.h.

106 {
107  void *result = o ? const_cast<QObject *>(o)->qt_metacast("QAxWidget") : 0;
108  return (QAxWidget*)(result);
109 }
The QObject class is the base class of all Qt objects.
Definition: qobject.h:111
The QAxWidget class is a QWidget that wraps an ActiveX control.
Definition: qaxwidget.h:60

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

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

Definition at line 114 of file qaxwidget.h.

116 {
117  void *result = o ? o->qt_metacast("QAxWidget") : 0;
118  return (QAxWidget*)(result);
119 }
The QAxWidget class is a QWidget that wraps an ActiveX control.
Definition: qaxwidget.h:60