summaryrefslogtreecommitdiffstats
path: root/src/render/renderstates/qpolygonoffset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/renderstates/qpolygonoffset.h')
-rw-r--r--src/render/renderstates/qpolygonoffset.h9
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;