summaryrefslogtreecommitdiffstats
path: root/src/render/lights/qdirectionallight.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/lights/qdirectionallight.h')
-rw-r--r--src/render/lights/qdirectionallight.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render/lights/qdirectionallight.h b/src/render/lights/qdirectionallight.h
index c2af37ea5..bffb601a5 100644
--- a/src/render/lights/qdirectionallight.h
+++ b/src/render/lights/qdirectionallight.h
@@ -53,11 +53,13 @@ class QT3DRENDERSHARED_EXPORT QDirectionalLight : public QLight
public:
explicit QDirectionalLight(Qt3DCore::QNode *parent = 0);
- void setDirection(const QVector3D &direction);
QVector3D direction() const;
+public Q_SLOTS:
+ void setDirection(const QVector3D &direction);
+
Q_SIGNALS:
- void directionChanged();
+ void directionChanged(const QVector3D &direction);
protected:
QDirectionalLight(QDirectionalLightPrivate &dd, Qt3DCore::QNode *parent = 0);