From f66a3608c02ce662ac80fd31f6d64afd819075ad Mon Sep 17 00:00:00 2001 From: Anant Kamath Date: Fri, 12 Apr 2013 03:12:04 +0530 Subject: [PATCH] Fixed exporting flags to QML --- src/declarativeimports/locale/locale_p.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/declarativeimports/locale/locale_p.h b/src/declarativeimports/locale/locale_p.h index 4503c7010..f28110efe 100644 --- a/src/declarativeimports/locale/locale_p.h +++ b/src/declarativeimports/locale/locale_p.h @@ -671,6 +671,7 @@ public: }; Q_DECLARE_FLAGS(DateTimeComponents, DateTimeComponent) + Q_FLAGS(DateTimeComponents) /** * Format for date string. @@ -709,6 +710,7 @@ public: }; Q_DECLARE_FLAGS(DateTimeFormatOptions, DateTimeFormatOption) + Q_FLAGS(DateTimeFormatOptions) /** * Returns a string formatted to the current locale's conventions @@ -756,6 +758,7 @@ public: }; Q_DECLARE_FLAGS(TimeFormatOptions, TimeFormatOption) + Q_FLAGS(TimeFormatOptions) /** * @@ -937,6 +940,7 @@ public: }; Q_DECLARE_FLAGS(TimeProcessingOptions, TimeProcessingOption) + Q_FLAGS(TimeProcessingOptions) /** *