diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2013-11-07 13:43:02 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-07 18:40:33 +0100 |
commit | 8aab8ccc0ffba504078deb7b4371d2f98c834df3 (patch) | |
tree | a243f04984102b8d7ec5af777d3d49f37c50ef54 /header.LGPL-ONLY | |
parent | 42670c7c45db8032a15607124d177c8f454d6f5a (diff) |
Dialogs: provide the StandardButton->ButtonRole mapping in QPA
As the QPlatformMessageDialogHelper will be implemented repeatedly,
it's useful to have this mapping in one place for reuse. Also, since
we do not guarantee that either accepted() or rejected() will be
emitted for every possible button on a QtQuick MessageDialog, it's
useful for the QtQuick.Dialogs module to have access to this mapping
to interpret individual button presses and emit the role-specific
signals such as yes(), apply(), help(), etc.
Change-Id: I7be753080794adabb784df9b95ac04aa1c29151c
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Diffstat (limited to 'header.LGPL-ONLY')
0 files changed, 0 insertions, 0 deletions