aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/platform/qquickplatformmessagedialog.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-08-15 13:18:51 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-08-15 12:47:05 +0000
commit082cf8ebe15f22699a54e1b82f5bff7a12c29d3f (patch)
tree97db1760a8beec4b74567890ed1d62a0ca919197 /src/imports/platform/qquickplatformmessagedialog.cpp
parent8773fdb215709a6680070a462082a42aa3b82585 (diff)
Platform dialogs: revise the names of the protected helper methods
Change-Id: I4b65c7623a34d016243e626146437d2fa20fd93b Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/imports/platform/qquickplatformmessagedialog.cpp')
-rw-r--r--src/imports/platform/qquickplatformmessagedialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/imports/platform/qquickplatformmessagedialog.cpp b/src/imports/platform/qquickplatformmessagedialog.cpp
index b9395eba..59e617ba 100644
--- a/src/imports/platform/qquickplatformmessagedialog.cpp
+++ b/src/imports/platform/qquickplatformmessagedialog.cpp
@@ -345,7 +345,7 @@ void QQuickPlatformMessageDialog::setButtons(QPlatformDialogHelper::StandardButt
emit buttonsChanged();
}
-QPlatformDialogHelper *QQuickPlatformMessageDialog::createHelper()
+QPlatformDialogHelper *QQuickPlatformMessageDialog::onCreate()
{
QPlatformDialogHelper *dialog = QGuiApplicationPrivate::platformTheme()->createPlatformDialogHelper(QPlatformTheme::MessageDialog);
#ifdef QT_WIDGETS_LIB
@@ -361,10 +361,10 @@ QPlatformDialogHelper *QQuickPlatformMessageDialog::createHelper()
return dialog;
}
-void QQuickPlatformMessageDialog::applyOptions(QPlatformDialogHelper *handle)
+void QQuickPlatformMessageDialog::onShow(QPlatformDialogHelper *dialog)
{
m_options->setWindowTitle(title());
- if (QPlatformMessageDialogHelper *messageDialog = qobject_cast<QPlatformMessageDialogHelper *>(handle))
+ if (QPlatformMessageDialogHelper *messageDialog = qobject_cast<QPlatformMessageDialogHelper *>(dialog))
messageDialog->setOptions(m_options);
}