summaryrefslogtreecommitdiffstats
path: root/src/render/renderstates/qstencilopseparate.h
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@theqtcompany.com>2015-12-08 11:50:37 +0200
committerTomi Korpipää <tomi.korpipaa@theqtcompany.com>2015-12-09 05:18:19 +0000
commit0e15154c9f0d982096a551efc53fd363d2b2f68d (patch)
tree4917ca73c44a92297db7cc3dbd72d2716481ccc7 /src/render/renderstates/qstencilopseparate.h
parent036ea9fcfdd343c805e1a900528e7a2367d6c373 (diff)
Added parameters to signals and made setters Q_SLOTS
Change-Id: Icec2f9f207221e35ffdeeb594bb9b4dc6ef890f1 Task-number: QTBUG-49797 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/renderstates/qstencilopseparate.h')
-rw-r--r--src/render/renderstates/qstencilopseparate.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/render/renderstates/qstencilopseparate.h b/src/render/renderstates/qstencilopseparate.h
index cc21ebaad..6b82b7c9e 100644
--- a/src/render/renderstates/qstencilopseparate.h
+++ b/src/render/renderstates/qstencilopseparate.h
@@ -81,20 +81,20 @@ public:
StencilFaceMode faceMode() const;
- void setStencilFail(StencilOp op);
StencilOp stencilFail() const;
-
- void setDepthFail(StencilOp op);
StencilOp depthFail() const;
+ StencilOp stencilDepthPass() const;
+public Q_SLOTS:
+ void setStencilFail(StencilOp op);
+ void setDepthFail(StencilOp op);
void setStencilDepthPass(StencilOp op);
- StencilOp stencilDepthPass() const;
Q_SIGNALS:
- void stencilFailChanged();
- void depthFailChanged();
- void stencilDepthPassChanged();
- void faceModeChanged();
+ void stencilFailChanged(StencilOp stencilFail);
+ void depthFailChanged(StencilOp depthFail);
+ void stencilDepthPassChanged(StencilOp stencilDepthPass);
+ void faceModeChanged(StencilFaceMode faceMode);
private:
explicit QStencilOpSeparate(StencilFaceMode mode, QObject *parent = 0);