summaryrefslogtreecommitdiffstats
path: root/src/render/renderstates/qdepthtest.h
diff options
context:
space:
mode:
authorRobert Brock <robert.brock@kdab.com>2016-02-25 15:10:58 +0000
committerRobert Brock <robert.brock@kdab.com>2016-02-26 10:41:38 +0000
commit50e51c827b6cf22e8387631833add6af01d51843 (patch)
tree2440a7ef659446d7287ef44df71415a1dc3a31b7 /src/render/renderstates/qdepthtest.h
parent7e2f9d42eebe13182918d832577c4f5ed96ab87b (diff)
QDepthTest rename func to depthFunction
As per API review Change-Id: Iea3cbdb16618b248e221817000b71822a588bf6a Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/renderstates/qdepthtest.h')
-rw-r--r--src/render/renderstates/qdepthtest.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/render/renderstates/qdepthtest.h b/src/render/renderstates/qdepthtest.h
index 770955d34..4a7b25f33 100644
--- a/src/render/renderstates/qdepthtest.h
+++ b/src/render/renderstates/qdepthtest.h
@@ -52,10 +52,10 @@ class QDepthTestPrivate;
class QT3DRENDERSHARED_EXPORT QDepthTest : public QRenderState
{
Q_OBJECT
- Q_PROPERTY(DepthFunc func READ func WRITE setFunc NOTIFY funcChanged)
+ Q_PROPERTY(DepthFunction depthFunction READ depthFunction WRITE setDepthFunction NOTIFY depthFunctionChanged)
public:
- enum DepthFunc {
+ enum DepthFunction {
Never = 0x0200,
Always = 0x0207,
Less = 0x0201,
@@ -65,18 +65,18 @@ public:
Greater = 0x0204,
NotEqual = 0x0205
};
- Q_ENUM(DepthFunc)
+ Q_ENUM(DepthFunction)
explicit QDepthTest(Qt3DCore::QNode *parent = 0);
~QDepthTest();
- DepthFunc func() const;
+ DepthFunction depthFunction() const;
public Q_SLOTS:
- void setFunc(DepthFunc func);
+ void setDepthFunction(DepthFunction depthFunction);
Q_SIGNALS:
- void funcChanged(DepthFunc func);
+ void depthFunctionChanged(DepthFunction depthFunction);
protected:
void copy(const Qt3DCore::QNode *ref) Q_DECL_OVERRIDE;