aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/coreapi
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-06-01 09:58:27 +0200
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-06-01 10:32:12 +0000
commitb34296671b0a1a314153cefd817c06478839d65d (patch)
tree30478f10a99e64762f789258202caa308af8b571 /src/quick/scenegraph/coreapi
parent6f6983aed09a8dce72848b0cf3e3540a04306b08 (diff)
Change graphicsAPI to graphicsApi
Change-Id: I065f17abd1cb71cd8d6ead76abf7a544eb7a99c0 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quick/scenegraph/coreapi')
-rw-r--r--src/quick/scenegraph/coreapi/qsgrendererinterface.cpp4
-rw-r--r--src/quick/scenegraph/coreapi/qsgrendererinterface.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/quick/scenegraph/coreapi/qsgrendererinterface.cpp b/src/quick/scenegraph/coreapi/qsgrendererinterface.cpp
index b680dbe3d5..2920a187e2 100644
--- a/src/quick/scenegraph/coreapi/qsgrendererinterface.cpp
+++ b/src/quick/scenegraph/coreapi/qsgrendererinterface.cpp
@@ -63,7 +63,7 @@ QT_BEGIN_NAMESPACE
*/
/*!
- \enum QSGRenderNode::GraphicsAPI
+ \enum QSGRenderNode::GraphicsApi
\value Unknown An unknown graphics API is in use
\value Software The Qt Quick 2D Renderer is in use
\value OpenGL OpenGL ES 2.0 or higher
@@ -84,7 +84,7 @@ QSGRendererInterface::~QSGRendererInterface()
}
/*!
- \fn QSGRenderNode::GraphicsAPI QSGRenderNode::graphicsAPI() const
+ \fn QSGRenderNode::GraphicsApi QSGRenderNode::graphicsApi() const
Returns the graphics API that is in use by the Qt Quick scenegraph.
diff --git a/src/quick/scenegraph/coreapi/qsgrendererinterface.h b/src/quick/scenegraph/coreapi/qsgrendererinterface.h
index a34b4b3c26..75b79336fd 100644
--- a/src/quick/scenegraph/coreapi/qsgrendererinterface.h
+++ b/src/quick/scenegraph/coreapi/qsgrendererinterface.h
@@ -47,7 +47,7 @@ QT_BEGIN_NAMESPACE
class Q_QUICK_EXPORT QSGRendererInterface
{
public:
- enum GraphicsAPI {
+ enum GraphicsApi {
Unknown,
Software,
OpenGL,
@@ -62,7 +62,7 @@ public:
virtual ~QSGRendererInterface();
- virtual GraphicsAPI graphicsAPI() const = 0;
+ virtual GraphicsApi graphicsApi() const = 0;
virtual void *getResource(Resource resource) const;
virtual void *getResource(const char *resource) const;