QDialog: Add Q_ENUM to DialogCode

This helps the dynamic Python bindings project.

Change-Id: Ibe2c06f4a4e5fd9c3ca41884d811990ec9328b80
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
Friedemann Kleint 2024-04-25 16:05:40 +02:00
parent efd00066b4
commit ca843efbf6
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ public:
~QDialog();
enum DialogCode { Rejected, Accepted };
Q_ENUM(DialogCode)
int result() const;