- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Information about the operating system version
Java wrapper for Qt class QOperatingSystemVersion
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQOperatingSystemVersion::OSType
-
Constructor Summary
ConstructorDescriptionQOperatingSystemVersion
(QOperatingSystemVersion.OSType osType, int vmajor) Overloaded constructor forQOperatingSystemVersion(io.qt.core.QOperatingSystemVersion.OSType, int, int, int)
QOperatingSystemVersion
(QOperatingSystemVersion.OSType osType, int vmajor, int vminor) Overloaded constructor forQOperatingSystemVersion(io.qt.core.QOperatingSystemVersion.OSType, int, int, int)
withvmicro = -1
.QOperatingSystemVersion
(QOperatingSystemVersion.OSType osType, int vmajor, int vminor, int vmicro) -
Method Summary
Modifier and TypeMethodDescriptionstatic QOperatingSystemVersion
Version corresponding to Android 10 (version 10.0, API level 29)static QOperatingSystemVersion
Version corresponding to Android 11 (version 11.0, API level 30)static QOperatingSystemVersion
Version corresponding to Android 12 (version 12.0, API level 31)static QOperatingSystemVersion
Version corresponding to Android 12L (version 12.0, API level 32)static QOperatingSystemVersion
Version corresponding to Android 13 (version 13.0, API level 33)static QOperatingSystemVersion
Version corresponding to Android Jelly Bean (version 4.1, API level 16)static QOperatingSystemVersion
Version corresponding to Android Jelly Bean, maintenance release 1 (version 4.2, API level 17)static QOperatingSystemVersion
Version corresponding to Android Jelly Bean, maintenance release 2 (version 4.3, API level 18)static QOperatingSystemVersion
Version corresponding to Android KitKat (versions 4.4 & 4.4W, API levels 19 & 20)static QOperatingSystemVersion
Version corresponding to Android Lollipop (version 5.0, API level 21)static QOperatingSystemVersion
Version corresponding to Android Lollipop, maintenance release 1 (version 5.1, API level 22)static QOperatingSystemVersion
Version corresponding to Android Marshmallow (version 6.0, API level 23)static QOperatingSystemVersion
Version corresponding to Android Nougat (version 7.0, API level 24)static QOperatingSystemVersion
Version corresponding to Android Nougat, maintenance release 1 (version 7.0, API level 25)static QOperatingSystemVersion
Version corresponding to Android Oreo (version 8.0, API level 26)static QOperatingSystemVersion
Version corresponding to Android Oreo_MR1 (version 8.1, API level 27)static QOperatingSystemVersion
Version corresponding to Android Pie (version 9.0, API level 28)clone()
Creates and returns a copy of this object.static QOperatingSystemVersion
current()
final boolean
equals
(QOperatingSystemVersion value2) Seeoperator==(QOperatingSystemVersion,
QOperatingSystemVersion) boolean
Seeoperator==(QOperatingSystemVersion,
QOperatingSystemVersion) int
hashCode()
Returns the objects's hash code computed byqHash(QOperatingSystemVersion)
.final boolean
isAnyOfType
(QOperatingSystemVersion.OSType ... types) static QOperatingSystemVersion
Version corresponding to macOS Big Sur (version 11)static QOperatingSystemVersion
Version corresponding to macOS Catalina (version 10.15)static QOperatingSystemVersion
Version corresponding to macOS High Sierra (version 10.13)static QOperatingSystemVersion
Version corresponding to macOS Mojave (version 10.14)static QOperatingSystemVersion
Version corresponding to macOS Monterey (version 12)static QOperatingSystemVersion
Version corresponding to macOS Sierra (version 10.12)static QOperatingSystemVersion
Version corresponding to macOS Sonoma (version 14)static QOperatingSystemVersion
Version corresponding to macOS Ventura (version 13)final int
final int
final int
final String
name()
static QOperatingSystemVersion
Version corresponding to OS X El Capitan (version 10.11)static QOperatingSystemVersion
Version corresponding to OS X Mavericks (version 10.9)static QOperatingSystemVersion
Version corresponding to OS X Yosemite (version 10.10)final int
toString()
Seeoperator<<(QDebug,
QOperatingSystemVersion) type()
final QVersionNumber
version()
static QOperatingSystemVersion
Version corresponding to general Windows 10 (version 10.0)static QOperatingSystemVersion
Version corresponding to Windows 10 October 2018 Update Version 1809 (version 10.0.17763)static QOperatingSystemVersion
Version corresponding to Windows 10 May 2019 Update Version 1903 (version 10.0.18362)static QOperatingSystemVersion
Version corresponding to Windows 10 November 2019 Update Version 1909 (version 10.0.18363)static QOperatingSystemVersion
Version corresponding to Windows 10 May 2020 Update Version 2004 (version 10.0.19041)static QOperatingSystemVersion
Version corresponding to Windows 10 October 2020 Update Version 20H2 (version 10.0.19042)static QOperatingSystemVersion
Version corresponding to Windows 10 May 2021 Update Version 21H1 (version 10.0.19043)static QOperatingSystemVersion
Version corresponding to Windows 10 November 2021 Update Version 21H2 (version 10.0.19044)static QOperatingSystemVersion
Version corresponding to Windows 10 October 2022 Update Version 22H2 (version 10.0.19045)static QOperatingSystemVersion
Version corresponding to the initial release of Windows 11 (version 10.0.22000)static QOperatingSystemVersion
Version corresponding to Windows 11 Version 21H2 (version 10.0.22000)static QOperatingSystemVersion
Version corresponding to Windows 11 Version 22H2 (version 10.0.22621)static QOperatingSystemVersion
Windows7()
Version corresponding to Windows 7 (version 6.1)static QOperatingSystemVersion
Windows8()
Version corresponding to Windows 8 (version 6.2)static QOperatingSystemVersion
Version corresponding to Windows 8.1 (version 6.3)Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QOperatingSystemVersion
- Parameters:
other
-
-
QOperatingSystemVersion
public QOperatingSystemVersion(QOperatingSystemVersion.OSType osType, int vmajor, int vminor, int vmicro) - Parameters:
osType
-vmajor
-vminor
-vmicro
-
-
QOperatingSystemVersion
Overloaded constructor for
QOperatingSystemVersion(io.qt.core.QOperatingSystemVersion.OSType, int, int, int)
withvmicro = -1
. -
QOperatingSystemVersion
Overloaded constructor for
QOperatingSystemVersion(io.qt.core.QOperatingSystemVersion.OSType, int, int, int)
with:
vminor = -1
vmicro = -1
-
-
Method Details
-
isAnyOfType
- Parameters:
types
-- Returns:
-
majorVersion
- Returns:
-
microVersion
- Returns:
-
minorVersion
- Returns:
-
name
- Returns:
-
equals
See
operator==(QOperatingSystemVersion,
QOperatingSystemVersion) - Parameters:
value2
-- Returns:
-
segmentCount
- Returns:
-
type
- Returns:
-
version
- Returns:
- Since:
- This function was introduced in Qt 6.1.
-
current
- Returns:
-
currentType
- Returns:
-
Android10
Version corresponding to Android 10 (version 10.0, API level 29)
- Returns:
- Since:
- This function was introduced in Qt 6.1.
-
Android11
Version corresponding to Android 11 (version 11.0, API level 30)
- Returns:
- Since:
- This function was introduced in Qt 6.1.
-
Android12
Version corresponding to Android 12 (version 12.0, API level 31)
- Returns:
- Since:
- This function was introduced in Qt 6.5.
-
Android12L
Version corresponding to Android 12L (version 12.0, API level 32)
- Returns:
- Since:
- This function was introduced in Qt 6.5.
-
Android13
Version corresponding to Android 13 (version 13.0, API level 33)
- Returns:
- Since:
- This function was introduced in Qt 6.5.
-
AndroidJellyBean
Version corresponding to Android Jelly Bean (version 4.1, API level 16)
- Returns:
-
AndroidJellyBean_MR1
Version corresponding to Android Jelly Bean, maintenance release 1 (version 4.2, API level 17)
- Returns:
-
AndroidJellyBean_MR2
Version corresponding to Android Jelly Bean, maintenance release 2 (version 4.3, API level 18)
- Returns:
-
AndroidKitKat
Version corresponding to Android KitKat (versions 4.4 & 4.4W, API levels 19 & 20)
- Returns:
-
AndroidLollipop
Version corresponding to Android Lollipop (version 5.0, API level 21)
- Returns:
-
AndroidLollipop_MR1
Version corresponding to Android Lollipop, maintenance release 1 (version 5.1, API level 22)
- Returns:
-
AndroidMarshmallow
Version corresponding to Android Marshmallow (version 6.0, API level 23)
- Returns:
-
AndroidNougat
Version corresponding to Android Nougat (version 7.0, API level 24)
- Returns:
-
AndroidNougat_MR1
Version corresponding to Android Nougat, maintenance release 1 (version 7.0, API level 25)
- Returns:
-
AndroidOreo
Version corresponding to Android Oreo (version 8.0, API level 26)
- Returns:
-
AndroidOreo_MR1
Version corresponding to Android Oreo_MR1 (version 8.1, API level 27)
- Returns:
- Since:
- This function was introduced in Qt 6.1.
-
AndroidPie
Version corresponding to Android Pie (version 9.0, API level 28)
- Returns:
- Since:
- This function was introduced in Qt 6.1.
-
MacOSBigSur
Version corresponding to macOS Big Sur (version 11)
- Returns:
- Since:
- This function was introduced in Qt 6.0.
-
MacOSCatalina
Version corresponding to macOS Catalina (version 10.15)
- Returns:
-
MacOSHighSierra
Version corresponding to macOS High Sierra (version 10.13)
- Returns:
-
MacOSMojave
Version corresponding to macOS Mojave (version 10.14)
- Returns:
-
MacOSMonterey
Version corresponding to macOS Monterey (version 12)
- Returns:
- Since:
- This function was introduced in Qt 6.3.
-
MacOSSierra
Version corresponding to macOS Sierra (version 10.12)
- Returns:
-
MacOSSonoma
Version corresponding to macOS Sonoma (version 14)
- Returns:
- Since:
- This function was introduced in Qt 6.5.
-
MacOSVentura
Version corresponding to macOS Ventura (version 13)
- Returns:
- Since:
- This function was introduced in Qt 6.4.
-
OSXElCapitan
Version corresponding to OS X El Capitan (version 10.11)
- Returns:
-
OSXMavericks
Version corresponding to OS X Mavericks (version 10.9)
- Returns:
-
OSXYosemite
Version corresponding to OS X Yosemite (version 10.10)
- Returns:
-
Windows10
Version corresponding to general Windows 10 (version 10.0)
- Returns:
-
Windows10_1809
Version corresponding to Windows 10 October 2018 Update Version 1809 (version 10.0.17763)
- Returns:
- Since:
- This function was introduced in Qt 6.3.
-
Windows10_1903
Version corresponding to Windows 10 May 2019 Update Version 1903 (version 10.0.18362)
- Returns:
- Since:
- This function was introduced in Qt 6.3.
-
Windows10_1909
Version corresponding to Windows 10 November 2019 Update Version 1909 (version 10.0.18363)
- Returns:
- Since:
- This function was introduced in Qt 6.3.
-
Windows10_2004
Version corresponding to Windows 10 May 2020 Update Version 2004 (version 10.0.19041)
- Returns:
- Since:
- This function was introduced in Qt 6.3.
-
Windows10_20H2
Version corresponding to Windows 10 October 2020 Update Version 20H2 (version 10.0.19042)
- Returns:
- Since:
- This function was introduced in Qt 6.3.
-
Windows10_21H1
Version corresponding to Windows 10 May 2021 Update Version 21H1 (version 10.0.19043)
- Returns:
- Since:
- This function was introduced in Qt 6.3.
-
Windows10_21H2
Version corresponding to Windows 10 November 2021 Update Version 21H2 (version 10.0.19044)
- Returns:
- Since:
- This function was introduced in Qt 6.3.
-
Windows10_22H2
Version corresponding to Windows 10 October 2022 Update Version 22H2 (version 10.0.19045)
- Returns:
- Since:
- This function was introduced in Qt 6.5.
-
Windows11
Version corresponding to the initial release of Windows 11 (version 10.0.22000)
- Returns:
- Since:
- This function was introduced in Qt 6.3.
-
Windows11_21H2
Version corresponding to Windows 11 Version 21H2 (version 10.0.22000)
- Returns:
- Since:
- This function was introduced in Qt 6.4.
-
Windows11_22H2
Version corresponding to Windows 11 Version 22H2 (version 10.0.22621)
- Returns:
- Since:
- This function was introduced in Qt 6.4.
-
Windows7
Version corresponding to Windows 7 (version 6.1)
- Returns:
-
Windows8
Version corresponding to Windows 8 (version 6.2)
- Returns:
-
Windows8_1
Version corresponding to Windows 8.1 (version 6.3)
- Returns:
-
equals
See
operator==(QOperatingSystemVersion,
QOperatingSystemVersion) -
hashCode
Returns the objects's hash code computed byqHash(QOperatingSystemVersion)
. -
toString
See
operator<<(QDebug,
QOperatingSystemVersion) -
clone
Creates and returns a copy of this object.
See
QOperatingSystemVersion::
QOperatingSystemVersion(QOperatingSystemVersion)
-