diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2012-05-09 12:54:38 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-10 06:56:04 +0200 |
commit | d223b30c42a9a8d42a8dd35b2d93615e646b4f1e (patch) | |
tree | a85c9bbe9e2431c52862e5acc86d88d7785b5c95 /src/widgets/dialogs/qdialog.cpp | |
parent | 75552c8f62dcfb8012c306b37c79ec629448d780 (diff) |
qpa: Clean up QPlatformDialogHelper API
Remove the _sys suffix from all members of QPlatformDialogHelper and its
subclasses. The QPlatform* class prefix already implies that these
methods are system specific, we don't need the method suffix as well.
Change-Id: I5ad1f928fab3a989992951acc244915e7fa48d32
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/widgets/dialogs/qdialog.cpp')
-rw-r--r-- | src/widgets/dialogs/qdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/dialogs/qdialog.cpp b/src/widgets/dialogs/qdialog.cpp index 29a8576e6b..b0cc35340d 100644 --- a/src/widgets/dialogs/qdialog.cpp +++ b/src/widgets/dialogs/qdialog.cpp @@ -108,9 +108,9 @@ bool QDialogPrivate::setNativeDialogVisible(bool visible) if (visible) { Q_Q(QDialog); helperPrepareShow(helper); - nativeDialogInUse = helper->show_sys(q->windowFlags(), q->windowModality(), parentWindow()); + nativeDialogInUse = helper->show(q->windowFlags(), q->windowModality(), parentWindow()); } else { - helper->hide_sys(); + helper->hide(); } } return nativeDialogInUse; @@ -126,7 +126,7 @@ QVariant QDialogPrivate::styleHint(QPlatformDialogHelper::StyleHint hint) const void QDialogPrivate::deleteNativeDialog() { if (QPlatformDialogHelper *helper = platformHelper()) { - helper->deleteNativeDialog_sys(); + helper->deleteNativeDialog(); nativeDialogInUse = false; } } @@ -528,7 +528,7 @@ int QDialog::exec() QPointer<QDialog> guard = this; if (d->nativeDialogInUse) { - d->platformHelper()->exec_sys(); + d->platformHelper()->exec(); } else { QEventLoop eventLoop; d->eventLoop = &eventLoop; |