summaryrefslogtreecommitdiffstats
path: root/src/datavisualization
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2013-09-13 08:46:43 +0300
committerTomi Korpipää <tomi.korpipaa@digia.com>2013-09-13 08:52:12 +0300
commitbf50e48feddf827b387f5ae3de2199ea284157a7 (patch)
tree37570dbc79e95ec0fbc309c2c7e1da4ddb2a6c4c /src/datavisualization
parent77ac34f3584bd4712c303cac7ec1486c1ef74b4b (diff)
Q3DBox doc issue (hack) fix
Task-number: QTRD-2275 Change-Id: I51f472e6e9936527ca2f6bfd348fa7a605b48593 Change-Id: I51f472e6e9936527ca2f6bfd348fa7a605b48593 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'src/datavisualization')
-rw-r--r--src/datavisualization/engine/q3dbox.cpp3
-rw-r--r--src/datavisualization/engine/q3dbox.h8
2 files changed, 6 insertions, 5 deletions
diff --git a/src/datavisualization/engine/q3dbox.cpp b/src/datavisualization/engine/q3dbox.cpp
index 0ce7f9a7..43f3e90e 100644
--- a/src/datavisualization/engine/q3dbox.cpp
+++ b/src/datavisualization/engine/q3dbox.cpp
@@ -18,14 +18,15 @@
#include "datavisualizationglobal_p.h"
#include "q3dbox.h"
-#include <QtGui/QMatrix4x4>
#include <QtCore/QList>
QT_DATAVISUALIZATION_BEGIN_NAMESPACE
/*!
\class Q3DBox
+ \inmodule QtDataVisualization
\brief The Q3DBox class represents an axis-aligned box in 3D space.
+ \since 1.0.0
Q3DBox can be used to represent the bounding box of objects in a 3D
scene so that they can be easily culled if they are out of view.
diff --git a/src/datavisualization/engine/q3dbox.h b/src/datavisualization/engine/q3dbox.h
index fce6948f..aa63ec39 100644
--- a/src/datavisualization/engine/q3dbox.h
+++ b/src/datavisualization/engine/q3dbox.h
@@ -20,11 +20,13 @@
#define Q3DBOX_H
#include <QtDataVisualization/qdatavisualizationenums.h>
-#include <QMatrix4x4>
-#include <QVector3D>
+#include <QtGui/QMatrix4x4>
+#include <QtGui/QVector3D>
QT_DATAVISUALIZATION_BEGIN_NAMESPACE
+class Q3DBox; // Needed to circumvent an issue with qdoc. If this line is removed, make docs will not work for this.
+
class QT_DATAVISUALIZATION_EXPORT Q3DBox
{
public:
@@ -177,8 +179,6 @@ QT_DATAVISUALIZATION_EXPORT QDataStream &operator<<(QDataStream &stream, const Q
QT_DATAVISUALIZATION_EXPORT QDataStream &operator>>(QDataStream &stream, Q3DBox &box);
#endif
-//Q_DECLARE_METATYPE(Q3DBox)
-
QT_DATAVISUALIZATION_END_NAMESPACE
#endif