diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-08-06 18:24:20 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-08-06 20:14:55 +0000 |
commit | be355391235c3174aaae0ae3c7f507d3209ba514 (patch) | |
tree | 03c016bd59156bba7b277199f8b82c34c6b803c3 /src/gui/kernel/qguiapplication.cpp | |
parent | f271dd8f960ad9f61697dfa57b26c4071441cadc (diff) |
Use consistent naming of QPA screen change callbacks in QGuiApplication
Change-Id: I76be8a993e5d71e472faf9a5770b4c1128e8a4c6
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/kernel/qguiapplication.cpp')
-rw-r--r-- | src/gui/kernel/qguiapplication.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp index 2ef689b5b9..e81c88cc71 100644 --- a/src/gui/kernel/qguiapplication.cpp +++ b/src/gui/kernel/qguiapplication.cpp @@ -1858,19 +1858,19 @@ void QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePriv static_cast<QWindowSystemInterfacePrivate::CloseEvent *>(e)); break; case QWindowSystemInterfacePrivate::ScreenOrientation: - QGuiApplicationPrivate::reportScreenOrientationChange( + QGuiApplicationPrivate::processScreenOrientationChange( static_cast<QWindowSystemInterfacePrivate::ScreenOrientationEvent *>(e)); break; case QWindowSystemInterfacePrivate::ScreenGeometry: - QGuiApplicationPrivate::reportGeometryChange( + QGuiApplicationPrivate::processScreenGeometryChange( static_cast<QWindowSystemInterfacePrivate::ScreenGeometryEvent *>(e)); break; case QWindowSystemInterfacePrivate::ScreenLogicalDotsPerInch: - QGuiApplicationPrivate::reportLogicalDotsPerInchChange( + QGuiApplicationPrivate::processScreenLogicalDotsPerInchChange( static_cast<QWindowSystemInterfacePrivate::ScreenLogicalDotsPerInchEvent *>(e)); break; case QWindowSystemInterfacePrivate::ScreenRefreshRate: - QGuiApplicationPrivate::reportRefreshRateChange( + QGuiApplicationPrivate::processScreenRefreshRateChange( static_cast<QWindowSystemInterfacePrivate::ScreenRefreshRateEvent *>(e)); break; case QWindowSystemInterfacePrivate::ThemeChange: @@ -2901,7 +2901,7 @@ void QGuiApplicationPrivate::processTouchEvent(QWindowSystemInterfacePrivate::To } } -void QGuiApplicationPrivate::reportScreenOrientationChange(QWindowSystemInterfacePrivate::ScreenOrientationEvent *e) +void QGuiApplicationPrivate::processScreenOrientationChange(QWindowSystemInterfacePrivate::ScreenOrientationEvent *e) { // This operation only makes sense after the QGuiApplication constructor runs if (QCoreApplication::startingUp()) @@ -2938,7 +2938,7 @@ void QGuiApplicationPrivate::reportScreenOrientationChange(QScreen *s) QCoreApplication::sendEvent(QCoreApplication::instance(), &event); } -void QGuiApplicationPrivate::reportGeometryChange(QWindowSystemInterfacePrivate::ScreenGeometryEvent *e) +void QGuiApplicationPrivate::processScreenGeometryChange(QWindowSystemInterfacePrivate::ScreenGeometryEvent *e) { // This operation only makes sense after the QGuiApplication constructor runs if (QCoreApplication::startingUp()) @@ -2981,7 +2981,7 @@ void QGuiApplicationPrivate::reportGeometryChange(QWindowSystemInterfacePrivate: } } -void QGuiApplicationPrivate::reportLogicalDotsPerInchChange(QWindowSystemInterfacePrivate::ScreenLogicalDotsPerInchEvent *e) +void QGuiApplicationPrivate::processScreenLogicalDotsPerInchChange(QWindowSystemInterfacePrivate::ScreenLogicalDotsPerInchEvent *e) { // This operation only makes sense after the QGuiApplication constructor runs if (QCoreApplication::startingUp()) @@ -2996,7 +2996,7 @@ void QGuiApplicationPrivate::reportLogicalDotsPerInchChange(QWindowSystemInterfa emit s->logicalDotsPerInchChanged(s->logicalDotsPerInch()); } -void QGuiApplicationPrivate::reportRefreshRateChange(QWindowSystemInterfacePrivate::ScreenRefreshRateEvent *e) +void QGuiApplicationPrivate::processScreenRefreshRateChange(QWindowSystemInterfacePrivate::ScreenRefreshRateEvent *e) { // This operation only makes sense after the QGuiApplication constructor runs if (QCoreApplication::startingUp()) |