- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QOperatingSystemVersion>
Information about the operating system version
Java wrapper for Qt class QOperatingSystemVersion
- Since:
- This class was introduced in Qt 5.9.
-
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 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)clone()
Creates and returns a copy of this object.int
compareTo
(QOperatingSystemVersion other) Seeoperator<(QOperatingSystemVersion,
QOperatingSystemVersion) 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 Surstatic 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 Sierra (version 10.12)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()
static QOperatingSystemVersion
Version corresponding to Windows 10 (version 10.0)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
See
QOperatingSystemVersion::
isAnyOfType(std::initializer_list<QOperatingSystemVersion::OSType>)const - Parameters:
types
-- Returns:
-
majorVersion
- Returns:
-
microVersion
- Returns:
-
minorVersion
- Returns:
-
name
- Returns:
-
equals
See
operator==(QOperatingSystemVersion,
QOperatingSystemVersion) - Parameters:
value2
-- Returns:
-
segmentCount
- Returns:
-
type
- Returns:
-
current
- Returns:
-
currentType
- Returns:
- Since:
- This function was introduced in Qt 5.10.
-
AndroidJellyBean
Version corresponding to Android Jelly Bean (version 4.1, API level 16)
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
AndroidJellyBean_MR1
Version corresponding to Android Jelly Bean, maintenance release 1 (version 4.2, API level 17)
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
AndroidJellyBean_MR2
Version corresponding to Android Jelly Bean, maintenance release 2 (version 4.3, API level 18)
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
AndroidKitKat
Version corresponding to Android KitKat (versions 4.4 & 4.4W, API levels 19 & 20)
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
AndroidLollipop
Version corresponding to Android Lollipop (version 5.0, API level 21)
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
AndroidLollipop_MR1
Version corresponding to Android Lollipop, maintenance release 1 (version 5.1, API level 22)
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
AndroidMarshmallow
Version corresponding to Android Marshmallow (version 6.0, API level 23)
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
AndroidNougat
Version corresponding to Android Nougat (version 7.0, API level 24)
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
AndroidNougat_MR1
Version corresponding to Android Nougat, maintenance release 1 (version 7.0, API level 25)
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
AndroidOreo
Version corresponding to Android Oreo (version 8.0, API level 26)
- Returns:
- Since:
- This function was introduced in Qt 5.9.2.
-
MacOSBigSur
Version corresponding to macOS Big Sur
- Returns:
- Since:
- This function was introduced in Qt 6.0.
-
MacOSCatalina
Version corresponding to macOS Catalina (version 10.15)
- Returns:
- Since:
- This function was introduced in Qt 5.12.5.
-
MacOSHighSierra
Version corresponding to macOS High Sierra (version 10.13)
- Returns:
- Since:
- This function was introduced in Qt 5.9.1.
-
MacOSMojave
Version corresponding to macOS Mojave (version 10.14)
- Returns:
- Since:
- This function was introduced in Qt 5.11.2.
-
MacOSSierra
Version corresponding to macOS Sierra (version 10.12)
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
OSXElCapitan
Version corresponding to OS X El Capitan (version 10.11)
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
OSXMavericks
Version corresponding to OS X Mavericks (version 10.9)
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
OSXYosemite
Version corresponding to OS X Yosemite (version 10.10)
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
Windows10
Version corresponding to Windows 10 (version 10.0)
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
Windows7
Version corresponding to Windows 7 (version 6.1)
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
Windows8
Version corresponding to Windows 8 (version 6.2)
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
Windows8_1
Version corresponding to Windows 8.1 (version 6.3)
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
equals
See
operator==(QOperatingSystemVersion,
QOperatingSystemVersion) -
compareTo
See
operator<(QOperatingSystemVersion,
QOperatingSystemVersion) - Specified by:
compareTo
in interfaceComparable<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)
-