summaryrefslogtreecommitdiffstats
path: root/src/render/geometry/qcuboidgeometry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/geometry/qcuboidgeometry.h')
-rw-r--r--src/render/geometry/qcuboidgeometry.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/render/geometry/qcuboidgeometry.h b/src/render/geometry/qcuboidgeometry.h
index 2c9ef0c03..6118aa123 100644
--- a/src/render/geometry/qcuboidgeometry.h
+++ b/src/render/geometry/qcuboidgeometry.h
@@ -68,12 +68,6 @@ public:
void updateIndices();
void updateVertices();
- void setXExtent(float xExtent);
- void setYExtent(float yExtent);
- void setZExtent(float zExtent);
- void setYZMeshResolution(const QSize &resolution);
- void setXZMeshResolution(const QSize &resolution);
- void setXYMeshResolution(const QSize &resolution);
float xExtent() const;
float yExtent() const;
@@ -88,14 +82,22 @@ public:
QAttribute *tangentAttribute() const;
QAttribute *indexAttribute() const;
+public Q_SLOTS:
+ void setXExtent(float xExtent);
+ void setYExtent(float yExtent);
+ void setZExtent(float zExtent);
+ void setYZMeshResolution(const QSize &resolution);
+ void setXZMeshResolution(const QSize &resolution);
+ void setXYMeshResolution(const QSize &resolution);
+
Q_SIGNALS:
- void xExtentChanged();
- void yExtentChanged();
- void zExtentChanged();
+ void xExtentChanged(float xExtent);
+ void yExtentChanged(float yExtent);
+ void zExtentChanged(float zExtent);
- void yzMeshResolutionChanged();
- void xzMeshResolutionChanged();
- void xyMeshResolutionChanged();
+ void yzMeshResolutionChanged(const QSize &yzMeshResolution);
+ void xzMeshResolutionChanged(const QSize &xzMeshResolution);
+ void xyMeshResolutionChanged(const QSize &xyMeshResolution);
protected:
QCuboidGeometry(QCuboidGeometryPrivate &dd, QNode *parent = Q_NULLPTR);