summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/engine/q3dlight.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-06-02 14:07:41 +0200
committerUlf Hermann <ulf.hermann@qt.io>2021-06-11 10:24:41 +0200
commit8691caff2b685aba4b1e83292de6c4d34775ec0b (patch)
treeea88d7292aeb1463bc9cae1c36f90afe8cb9c14f /src/datavisualization/engine/q3dlight.h
parente0713ad6f89eac8a4e7cbb5adfaf4daf6a91ca3c (diff)
Modernize and update to latest CMake API
Use declarative registration for QML types, and separate the backing library from the plugin. Also, bump the revision numbers to account for Qt6 and drop the "2" from the source directory name. Change-Id: Ib48f90ad32a3624e7c31f1d2af9fcd92f069ee7f Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/datavisualization/engine/q3dlight.h')
-rw-r--r--src/datavisualization/engine/q3dlight.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datavisualization/engine/q3dlight.h b/src/datavisualization/engine/q3dlight.h
index 8c0a65a0..94067ac4 100644
--- a/src/datavisualization/engine/q3dlight.h
+++ b/src/datavisualization/engine/q3dlight.h
@@ -39,7 +39,7 @@ class Q3DLightPrivate;
class QT_DATAVISUALIZATION_EXPORT Q3DLight : public Q3DObject
{
Q_OBJECT
- Q_PROPERTY(bool autoPosition READ isAutoPosition WRITE setAutoPosition NOTIFY autoPositionChanged REVISION 1)
+ Q_PROPERTY(bool autoPosition READ isAutoPosition WRITE setAutoPosition NOTIFY autoPositionChanged REVISION(1, 3))
public:
explicit Q3DLight(QObject *parent = nullptr);
@@ -49,7 +49,7 @@ public:
bool isAutoPosition();
Q_SIGNALS:
- Q_REVISION(1) void autoPositionChanged(bool autoPosition);
+ Q_REVISION(1, 3) void autoPositionChanged(bool autoPosition);
private:
QScopedPointer<Q3DLightPrivate> d_ptr;