Add Mac OS 10.8 QSysInfo enums

Change-Id: I79ce06ead836478ff6816e6631742db91ba256fe
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Morten Sorvig 2012-05-25 11:51:54 +02:00 committed by Qt by Nokia
parent 5c632708da
commit df1fc82e23
2 changed files with 4 additions and 1 deletions

View File

@ -1016,6 +1016,7 @@ bool qSharedBuild()
\value MV_LEOPARD Apple codename for MV_10_5 \value MV_LEOPARD Apple codename for MV_10_5
\value MV_SNOWLEOPARD Apple codename for MV_10_6 \value MV_SNOWLEOPARD Apple codename for MV_10_6
\value MV_LION Apple codename for MV_10_7 \value MV_LION Apple codename for MV_10_7
\value MV_MOUNTAINLION Apple codename for MV_10_8
\sa WinVersion \sa WinVersion
*/ */

View File

@ -132,6 +132,7 @@ public:
MV_10_5 = 0x0007, MV_10_5 = 0x0007,
MV_10_6 = 0x0008, MV_10_6 = 0x0008,
MV_10_7 = 0x0009, MV_10_7 = 0x0009,
MV_10_8 = 0x000A,
/* codenames */ /* codenames */
MV_CHEETAH = MV_10_0, MV_CHEETAH = MV_10_0,
@ -141,7 +142,8 @@ public:
MV_TIGER = MV_10_4, MV_TIGER = MV_10_4,
MV_LEOPARD = MV_10_5, MV_LEOPARD = MV_10_5,
MV_SNOWLEOPARD = MV_10_6, MV_SNOWLEOPARD = MV_10_6,
MV_LION = MV_10_7 MV_LION = MV_10_7,
MV_MOUNTAINLION = MV_10_8
}; };
static const MacVersion MacintoshVersion; static const MacVersion MacintoshVersion;
static MacVersion macVersion(); static MacVersion macVersion();