diff options
| author | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-02-07 16:29:31 +0100 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-15 21:52:47 +0100 |
| commit | ccb088a6beaff01419ec9325dbd19040f279b6ea (patch) | |
| tree | ae1753ab02284a1fd69b30d6086a40b9faf6fc91 /src/dialogs/qquickabstractmessagedialog.cpp | |
| parent | f212322a6ecb237d5fb53e56c6dafffb87e45f09 (diff) | |
QtQuick.Dialogs: added Dialog: wrapper for arbitrary content
It provides only a button box, so the application developer can
supply the rest of the dialog contents. This is useful for various
kinds of dialogs that prompt the user for input.
[ChangeLog][QtQuickDialogs][Dialog] Dialog is a new wrapper component
for dialogs with standard buttons and custom content items.
Change-Id: I0434bed5f504820dc0a668cb993a94980f99852a
Reviewed-by: Liang Qi <liang.qi@digia.com>
Diffstat (limited to 'src/dialogs/qquickabstractmessagedialog.cpp')
| -rw-r--r-- | src/dialogs/qquickabstractmessagedialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/qquickabstractmessagedialog.cpp b/src/dialogs/qquickabstractmessagedialog.cpp index 2c24c4ba6..ebaed414b 100644 --- a/src/dialogs/qquickabstractmessagedialog.cpp +++ b/src/dialogs/qquickabstractmessagedialog.cpp @@ -169,7 +169,7 @@ void QQuickAbstractMessageDialog::click(QPlatformDialogHelper::StandardButton bu } } -void QQuickAbstractMessageDialog::click(QQuickAbstractMessageDialog::StandardButton button) +void QQuickAbstractMessageDialog::click(QQuickAbstractDialog::StandardButton button) { click(static_cast<QPlatformDialogHelper::StandardButton>(button), static_cast<QPlatformDialogHelper::ButtonRole>( |
