summaryrefslogtreecommitdiffstats
path: root/src/render/geometry/qplanemesh.h
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/qplanemesh.h
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/qplanemesh.h')
-rw-r--r--src/render/geometry/qplanemesh.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/render/geometry/qplanemesh.h b/src/render/geometry/qplanemesh.h
index 0a730ca6a..e5db1a099 100644
--- a/src/render/geometry/qplanemesh.h
+++ b/src/render/geometry/qplanemesh.h
@@ -56,19 +56,19 @@ public:
explicit QPlaneMesh(Qt3DCore::QNode *parent = 0);
~QPlaneMesh();
- void setWidth(float width);
float width() const;
-
- void setHeight(float height);
float height() const;
+ QSize meshResolution() const;
+public Q_SLOTS:
+ void setWidth(float width);
+ void setHeight(float height);
void setMeshResolution(const QSize &resolution);
- QSize meshResolution() const;
Q_SIGNALS:
- void widthChanged();
- void heightChanged();
- void meshResolutionChanged();
+ void meshResolutionChanged(const QSize &meshResolution);
+ void widthChanged(float width);
+ void heightChanged(float height);
private:
// As this is a default provided geometry renderer, no one should be able