summaryrefslogtreecommitdiffstats
path: root/src/datavis3d/utils/objecthelper_p.h
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2013-04-12 07:44:19 +0300
committerTomi Korpipää <tomi.korpipaa@digia.com>2013-04-12 10:27:11 +0300
commit624666518e9e2d5628ab042f30e70ca747fb4da7 (patch)
tree9f96a208a1cf47032428be1f79e71e52e7a3643c /src/datavis3d/utils/objecthelper_p.h
parent67937ecf379b3fc04e58cd94d4bf31356c5f4b16 (diff)
Implemented label printing using opengl (QPainter version ifdeffed, either one can be used)
Change-Id: Id7d6761b0ad447c7f4f18f0933d065f190ad82b6 Change-Id: Id7d6761b0ad447c7f4f18f0933d065f190ad82b6 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com> Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'src/datavis3d/utils/objecthelper_p.h')
-rw-r--r--src/datavis3d/utils/objecthelper_p.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/datavis3d/utils/objecthelper_p.h b/src/datavis3d/utils/objecthelper_p.h
index 17f2d294..73523fbf 100644
--- a/src/datavis3d/utils/objecthelper_p.h
+++ b/src/datavis3d/utils/objecthelper_p.h
@@ -47,10 +47,10 @@
QTCOMMERCIALDATAVIS3D_BEGIN_NAMESPACE
-class ObjectHelper
+class ObjectHelper: protected QOpenGLFunctions
{
public:
- ObjectHelper(QOpenGLFunctions *parent, const QString &objectFile = QString());
+ ObjectHelper(const QString &objectFile = QString());
~ObjectHelper();
void setObjectFile(const QString &objectFile);
@@ -64,8 +64,6 @@ class ObjectHelper
GLuint indexCount();
private:
- QOpenGLFunctions *m_caller;
-
QString m_objectFile;
GLuint m_vertexbuffer;