aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/util/qsgsimplematerial.h
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2018-02-13 11:05:22 +0100
committerMartin Smith <martin.smith@qt.io>2018-02-14 07:45:23 +0000
commit874cd47ae427e6f08a6e362f28af5038a2bc9872 (patch)
treeaa5dade6dd422c58a434681d12f9630339eec87c /src/quick/scenegraph/util/qsgsimplematerial.h
parentb704faaa45d3e3ca8bc7ce11aeb1e533a9563a0f (diff)
doc: Add documentation for undocumented things
There were several undocumented elements in the API that clang-qdoc warned about. These are now documented, although original authors might want to contribute better descriptions. A few uses of a macro "qdoc" were corrected to Q_CLANG_QDOC. Change-Id: I4e1d4c5f3266a334d7286e55ed1b113319de2273 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quick/scenegraph/util/qsgsimplematerial.h')
-rw-r--r--src/quick/scenegraph/util/qsgsimplematerial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/util/qsgsimplematerial.h b/src/quick/scenegraph/util/qsgsimplematerial.h
index b5b8815b4a..8a81917bd2 100644
--- a/src/quick/scenegraph/util/qsgsimplematerial.h
+++ b/src/quick/scenegraph/util/qsgsimplematerial.h
@@ -138,7 +138,7 @@ template <typename State>
class QSGSimpleMaterial : public QSGMaterial
{
public:
-#ifndef qdoc
+#ifndef Q_CLANG_QDOC
QSGSimpleMaterial(const State &aState, PtrShaderCreateFunc func)
: m_state(aState)
, m_func(func)