summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2024-05-19 16:29:31 +0200
committerAleix Pol <aleixpol@kde.org>2024-05-22 02:31:44 +0200
commit423ae2de96360619b5233ecb6a0be56b61ec58a3 (patch)
treef67ca4e99c6e324a968ce7b9e4932c0f4e735d72 /src/gui
parent26a81bd4fb1f382b2b1652566652301cfe1270a2 (diff)
a11y: Make AnnouncementPriority a Q_ENUM
It makes it possible to have it used from QML. Change-Id: Ie4a1ef432f2a06e1d4bbe106bd41b5843e24d8bb Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/accessible/qaccessible_base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/accessible/qaccessible_base.h b/src/gui/accessible/qaccessible_base.h
index 1a7b75c7f5..1ca3dadc36 100644
--- a/src/gui/accessible/qaccessible_base.h
+++ b/src/gui/accessible/qaccessible_base.h
@@ -372,6 +372,7 @@ public:
Polite,
Assertive
};
+ Q_ENUM(AnnouncementPriority)
typedef QAccessibleInterface*(*InterfaceFactory)(const QString &key, QObject*);
typedef void(*UpdateHandler)(QAccessibleEvent *event);