summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/ios/qiosbackingstore.mm
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2012-11-04 17:19:09 +0100
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-02-27 23:55:33 +0100
commit3020d06fdb9fd4e539876c9fb1945b50d55cc21d (patch)
tree39bcbcc1f25d45f6e7efd04e0fcca4ce68de5078 /src/plugins/platforms/ios/qiosbackingstore.mm
parent9c8ce6afb0bb19e0cb5902b65efbd1a1b55344eb (diff)
iOS: Change member variable style to be consistent with Qt's de facto standard
Change-Id: Idd65ad9cbb77114466c5b69a799b98a7fee5068f Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'src/plugins/platforms/ios/qiosbackingstore.mm')
-rw-r--r--src/plugins/platforms/ios/qiosbackingstore.mm12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/platforms/ios/qiosbackingstore.mm b/src/plugins/platforms/ios/qiosbackingstore.mm
index 32ddce38d2..20f7c1f2d1 100644
--- a/src/plugins/platforms/ios/qiosbackingstore.mm
+++ b/src/plugins/platforms/ios/qiosbackingstore.mm
@@ -63,7 +63,7 @@ class EAGLPaintDevice : public QGLPaintDevice
{
public:
EAGLPaintDevice(QWindow *window)
- :QGLPaintDevice(), mWindow(window)
+ :QGLPaintDevice(), m_window(window)
{
#if defined(QT_OPENGL_ES_2)
helper = [[PaintDeviceHelper alloc] init];
@@ -83,17 +83,17 @@ public:
void setFramebuffer(GLuint buffer) { m_thisFBO = buffer; }
int devType() const { return QInternal::OpenGL; }
- QSize size() const { return mWindow->geometry().size(); }
+ QSize size() const { return m_window->geometry().size(); }
QGLContext* context() const {
// Todo: siplify this:
return QGLContext::fromOpenGLContext(
- static_cast<QIOSWindow *>(mWindow->handle())->glContext()->context());
+ static_cast<QIOSWindow *>(m_window->handle())->glContext()->context());
}
QPaintEngine *paintEngine() const { return qt_qgl_paint_engine(); }
private:
- QWindow *mWindow;
+ QWindow *m_window;
PaintDeviceHelper *helper;
};
@@ -112,13 +112,13 @@ private:
QT_BEGIN_NAMESPACE
QIOSBackingStore::QIOSBackingStore(QWindow *window)
- : QPlatformBackingStore(window), mPaintDevice(new EAGLPaintDevice(window))
+ : QPlatformBackingStore(window), m_paintDevice(new EAGLPaintDevice(window))
{
}
QPaintDevice *QIOSBackingStore::paintDevice()
{
- return mPaintDevice;
+ return m_paintDevice;
}
void QIOSBackingStore::flush(QWindow *window, const QRegion &region, const QPoint &offset)