summaryrefslogtreecommitdiffstats
path: root/src/render/geometry/qcuboidgeometry.cpp
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@theqtcompany.com>2015-12-08 11:50:37 +0200
committerTomi Korpipää <tomi.korpipaa@theqtcompany.com>2015-12-09 05:18:19 +0000
commit0e15154c9f0d982096a551efc53fd363d2b2f68d (patch)
tree4917ca73c44a92297db7cc3dbd72d2716481ccc7 /src/render/geometry/qcuboidgeometry.cpp
parent036ea9fcfdd343c805e1a900528e7a2367d6c373 (diff)
Added parameters to signals and made setters Q_SLOTS
Change-Id: Icec2f9f207221e35ffdeeb594bb9b4dc6ef890f1 Task-number: QTBUG-49797 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/geometry/qcuboidgeometry.cpp')
-rw-r--r--src/render/geometry/qcuboidgeometry.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/render/geometry/qcuboidgeometry.cpp b/src/render/geometry/qcuboidgeometry.cpp
index e8a305c69..943d2c89a 100644
--- a/src/render/geometry/qcuboidgeometry.cpp
+++ b/src/render/geometry/qcuboidgeometry.cpp
@@ -544,7 +544,7 @@ void QCuboidGeometry::setXExtent(float xExtent)
if (d->m_xExtent != xExtent) {
d->m_xExtent = xExtent;
updateVertices();
- emit xExtentChanged();
+ emit xExtentChanged(xExtent);
}
}
@@ -554,7 +554,7 @@ void QCuboidGeometry::setYExtent(float yExtent)
if (d->m_yExtent != yExtent) {
d->m_yExtent = yExtent;
updateVertices();
- emit yExtentChanged();
+ emit yExtentChanged(yExtent);
}
}
@@ -564,7 +564,7 @@ void QCuboidGeometry::setZExtent(float zExtent)
if (d->m_zExtent != zExtent) {
d->m_zExtent = zExtent;
updateVertices();
- emit zExtentChanged();
+ emit zExtentChanged(zExtent);
}
}
@@ -575,7 +575,7 @@ void QCuboidGeometry::setYZMeshResolution(const QSize &resolution)
d->m_yzFaceResolution = resolution;
updateVertices();
updateIndices();
- emit yzMeshResolutionChanged();
+ emit yzMeshResolutionChanged(resolution);
}
}
@@ -586,7 +586,7 @@ void QCuboidGeometry::setXZMeshResolution(const QSize &resolution)
d->m_xzFaceResolution = resolution;
updateVertices();
updateIndices();
- emit xzMeshResolutionChanged();
+ emit xzMeshResolutionChanged(resolution);
}
}
@@ -597,7 +597,7 @@ void QCuboidGeometry::setXYMeshResolution(const QSize &resolution)
d->m_xyFaceResolution = resolution;
updateVertices();
updateIndices();
- emit xyMeshResolutionChanged();
+ emit xyMeshResolutionChanged(resolution);
}
}