summaryrefslogtreecommitdiffstats
path: root/src/render/defaults/qnormaldiffusespecularmapmaterial.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/defaults/qnormaldiffusespecularmapmaterial.h')
-rw-r--r--src/render/defaults/qnormaldiffusespecularmapmaterial.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/render/defaults/qnormaldiffusespecularmapmaterial.h b/src/render/defaults/qnormaldiffusespecularmapmaterial.h
index 6f437288d..502656aef 100644
--- a/src/render/defaults/qnormaldiffusespecularmapmaterial.h
+++ b/src/render/defaults/qnormaldiffusespecularmapmaterial.h
@@ -67,6 +67,7 @@ public:
float shininess() const;
float textureScale() const;
+public Q_SLOTS:
void setAmbient(const QColor &ambient);
void setDiffuse(QAbstractTextureProvider *diffuse);
void setNormal(QAbstractTextureProvider *normal);
@@ -75,12 +76,12 @@ public:
void setTextureScale(float textureScale);
Q_SIGNALS:
- void ambientChanged();
- void diffuseChanged();
- void normalChanged();
- void specularChanged();
- void shininessChanged();
- void textureScaleChanged();
+ void ambientChanged(const QColor &ambient);
+ void diffuseChanged(QAbstractTextureProvider *diffuse);
+ void normalChanged(QAbstractTextureProvider *normal);
+ void specularChanged(QAbstractTextureProvider *specular);
+ void shininessChanged(float shininess);
+ void textureScaleChanged(float textureScale);
protected:
QNormalDiffuseSpecularMapMaterial(QNormalDiffuseSpecularMapMaterialPrivate &dd, Qt3DCore::QNode *parent = 0);