diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2015-02-07 13:00:27 +0100 |
---|---|---|
committer | Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> | 2015-02-08 12:18:52 +0000 |
commit | e768d96e8bc161211b2d4ad377f3fb250f270a9b (patch) | |
tree | ffff4da772e6edee99b405660363b8192b20e49d /src/gui/text/qfontdatabase.h | |
parent | ba7cedb058455942dda337223a170b4f9566f0ef (diff) |
QtGui: use Q_ENUM instead of Q_ENUMS
Change-Id: I92ac2ea218e9134aa36ecb179b8ae790a2dba56a
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/gui/text/qfontdatabase.h')
-rw-r--r-- | src/gui/text/qfontdatabase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qfontdatabase.h b/src/gui/text/qfontdatabase.h index 4e1ab501ba..b63cdb7c61 100644 --- a/src/gui/text/qfontdatabase.h +++ b/src/gui/text/qfontdatabase.h @@ -51,8 +51,6 @@ class QFontDatabasePrivate; class Q_GUI_EXPORT QFontDatabase { Q_GADGET - Q_ENUMS(WritingSystem) - Q_ENUMS(SystemFont) public: // do not re-order or delete entries from this enum without updating the // QPF2 format and makeqpf!! @@ -98,6 +96,7 @@ public: WritingSystemsCount }; + Q_ENUM(WritingSystem) enum SystemFont { GeneralFont, @@ -105,6 +104,7 @@ public: TitleFont, SmallestReadableFont }; + Q_ENUM(SystemFont) static QList<int> standardSizes(); |