diff options
author | Tomi Korpipää <tomi.korpipaa@theqtcompany.com> | 2015-12-08 11:50:37 +0200 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@theqtcompany.com> | 2015-12-09 05:18:19 +0000 |
commit | 0e15154c9f0d982096a551efc53fd363d2b2f68d (patch) | |
tree | 4917ca73c44a92297db7cc3dbd72d2716481ccc7 /src/render/renderstates/qpolygonoffset.h | |
parent | 036ea9fcfdd343c805e1a900528e7a2367d6c373 (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/renderstates/qpolygonoffset.h')
-rw-r--r-- | src/render/renderstates/qpolygonoffset.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/render/renderstates/qpolygonoffset.h b/src/render/renderstates/qpolygonoffset.h index acc93dd54..7065d2cfb 100644 --- a/src/render/renderstates/qpolygonoffset.h +++ b/src/render/renderstates/qpolygonoffset.h @@ -56,14 +56,15 @@ public: ~QPolygonOffset(); float factor() const; - void setFactor(float factor); - float units() const; + +public Q_SLOTS: + void setFactor(float factor); void setUnits(float units); Q_SIGNALS: - void factorChanged(float newFactor); - void unitsChanged(float newUnits); + void factorChanged(float factor); + void unitsChanged(float units); protected: void copy(const Qt3DCore::QNode *ref) Q_DECL_OVERRIDE; |