aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qtquicktemplates2global_p.h
diff options
context:
space:
mode:
authorJan Arve Sæther <jan-arve.saether@qt.io>2021-01-14 18:46:17 +0100
committerJan Arve Sæther <jan-arve.saether@qt.io>2021-02-02 09:45:11 +0100
commit180dbd050173d20c99f730eeacf2b0376fcb895e (patch)
tree30829dd47722419ec96bce940d5da382252349c8 /src/quicktemplates2/qtquicktemplates2global_p.h
parent950f8bff7cbbdbd472234fd32ef659c9d0e8ba7c (diff)
a11y: Fix ordering on header, content item and footer in Page
Because of the previous behavior, the footer could be read aloud by the screen reader before the content item. And even worse, the footer could be read aloud even before the header in some cases. This made it hard for visually impaired people to use the application. The Page type was used by the Dialog type, so it also affected that. Fixes: QTBUG-75042 Change-Id: Ic3e8ec3f7dcf18af9262b1d35c986835c8da6900 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 4b1acb290dc8869d0d2d1250dc1ed415d6b6e202)
Diffstat (limited to 'src/quicktemplates2/qtquicktemplates2global_p.h')
-rw-r--r--src/quicktemplates2/qtquicktemplates2global_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quicktemplates2/qtquicktemplates2global_p.h b/src/quicktemplates2/qtquicktemplates2global_p.h
index cec648d3..4bf6488a 100644
--- a/src/quicktemplates2/qtquicktemplates2global_p.h
+++ b/src/quicktemplates2/qtquicktemplates2global_p.h
@@ -64,6 +64,8 @@ QT_BEGIN_NAMESPACE
# define Q_QUICKTEMPLATES2_PRIVATE_EXPORT
#endif
+Q_QUICKTEMPLATES2_PRIVATE_EXPORT void QQuickTemplates_initializeModule();
+
QT_END_NAMESPACE
#endif // QTQUICKTEMPLATES2GLOBAL_P_H