summaryrefslogtreecommitdiffstats
path: root/examples/activeqt/opengl/glbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/activeqt/opengl/glbox.h')
-rw-r--r--examples/activeqt/opengl/glbox.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/activeqt/opengl/glbox.h b/examples/activeqt/opengl/glbox.h
index 53e3487..5c09912 100644
--- a/examples/activeqt/opengl/glbox.h
+++ b/examples/activeqt/opengl/glbox.h
@@ -48,14 +48,19 @@
#define GLBOX_H
#include <QtOpenGL>
+#include <QOpenGLFunctions_1_1>
//! [0]
#include <QAxBindable>
class GLBox : public QGLWidget,
+ public QOpenGLFunctions_1_1,
public QAxBindable
{
Q_OBJECT
-//! [0] //! [1]
+ Q_CLASSINFO("ClassID", "{5fd9c22e-ed45-43fa-ba13-1530bb6b03e0}")
+ Q_CLASSINFO("InterfaceID", "{33b051af-bb25-47cf-a390-5cfd2987d26a}")
+ Q_CLASSINFO("EventsID", "{8c996c29-eafa-46ac-a6f9-901951e765b5}")
+ //! [0] //! [1]
public: