- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QOperatingSystemVersion>
public class QOperatingSystemVersion extends QtObject implements Comparable<QOperatingSystemVersion>, Cloneable
Information about the operating system version
Java wrapper for Qt class QOperatingSystemVersion
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QOperatingSystemVersion.OSType
Java wrapper for Qt enum QOperatingSystemVersion::OSType -
Constructor Summary
Constructors Modifier Constructor Description QOperatingSystemVersion(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)
protected
QOperatingSystemVersion(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description static QOperatingSystemVersion
AndroidJellyBean()
Version corresponding to Android Jelly Bean (version 4.1, API level 16)static QOperatingSystemVersion
AndroidJellyBean_MR1()
Version corresponding to Android Jelly Bean, maintenance release 1 (version 4.2, API level 17)static QOperatingSystemVersion
AndroidJellyBean_MR2()
Version corresponding to Android Jelly Bean, maintenance release 2 (version 4.3, API level 18)static QOperatingSystemVersion
AndroidKitKat()
Version corresponding to Android KitKat (versions 4.4 & 4.4W, API levels 19 & 20)static QOperatingSystemVersion
AndroidLollipop()
Version corresponding to Android Lollipop (version 5.0, API level 21)static QOperatingSystemVersion
AndroidLollipop_MR1()
Version corresponding to Android Lollipop, maintenance release 1 (version 5.1, API level 22)static QOperatingSystemVersion
AndroidMarshmallow()
Version corresponding to Android Marshmallow (version 6.0, API level 23)static QOperatingSystemVersion
AndroidNougat()
Version corresponding to Android Nougat (version 7.0, API level 24)static QOperatingSystemVersion
AndroidNougat_MR1()
Version corresponding to Android Nougat, maintenance release 1 (version 7.0, API level 25)static QOperatingSystemVersion
AndroidOreo()
Version corresponding to Android Oreo (version 8.0, API level 26)QOperatingSystemVersion
clone()
int
compareTo(QOperatingSystemVersion other)
static QOperatingSystemVersion
current()
static QOperatingSystemVersion.OSType
currentType()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
boolean
isAnyOfType(QOperatingSystemVersion.OSType... types)
static QOperatingSystemVersion
MacOSBigSur()
Version corresponding to macOS Big Surstatic QOperatingSystemVersion
MacOSCatalina()
Version corresponding to macOS Catalina (version 10.15)static QOperatingSystemVersion
MacOSHighSierra()
Version corresponding to macOS High Sierra (version 10.13)static QOperatingSystemVersion
MacOSMojave()
Version corresponding to macOS Mojave (version 10.14)static QOperatingSystemVersion
MacOSSierra()
Version corresponding to macOS Sierra (version 10.12)int
majorVersion()
int
microVersion()
int
minorVersion()
String
name()
static QOperatingSystemVersion
OSXElCapitan()
Version corresponding to OS X El Capitan (version 10.11)static QOperatingSystemVersion
OSXMavericks()
Version corresponding to OS X Mavericks (version 10.9)static QOperatingSystemVersion
OSXYosemite()
Version corresponding to OS X Yosemite (version 10.10)int
segmentCount()
String
toString()
QOperatingSystemVersion.OSType
type()
static QOperatingSystemVersion
Windows10()
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
Windows8_1()
Version corresponding to Windows 8.1 (version 6.3)
-
Constructor Details
-
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
-
QOperatingSystemVersion
public QOperatingSystemVersion(QOperatingSystemVersion.OSType osType, int vmajor, int vminor, int vmicro) -
QOperatingSystemVersion
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
isAnyOfType
-
majorVersion
-
microVersion
-
minorVersion
-
name
-
segmentCount
-
type
-
current
-
currentType
-
AndroidJellyBean
Version corresponding to Android Jelly Bean (version 4.1, API level 16)
-
AndroidJellyBean_MR1
Version corresponding to Android Jelly Bean, maintenance release 1 (version 4.2, API level 17)
-
AndroidJellyBean_MR2
Version corresponding to Android Jelly Bean, maintenance release 2 (version 4.3, API level 18)
-
AndroidKitKat
Version corresponding to Android KitKat (versions 4.4 & 4.4W, API levels 19 & 20)
-
AndroidLollipop
Version corresponding to Android Lollipop (version 5.0, API level 21)
-
AndroidLollipop_MR1
Version corresponding to Android Lollipop, maintenance release 1 (version 5.1, API level 22)
-
AndroidMarshmallow
Version corresponding to Android Marshmallow (version 6.0, API level 23)
-
AndroidNougat
Version corresponding to Android Nougat (version 7.0, API level 24)
-
AndroidNougat_MR1
Version corresponding to Android Nougat, maintenance release 1 (version 7.0, API level 25)
-
AndroidOreo
Version corresponding to Android Oreo (version 8.0, API level 26)
-
MacOSBigSur
Version corresponding to macOS Big Sur
-
MacOSCatalina
Version corresponding to macOS Catalina (version 10.15)
-
MacOSHighSierra
Version corresponding to macOS High Sierra (version 10.13)
-
MacOSMojave
Version corresponding to macOS Mojave (version 10.14)
-
MacOSSierra
Version corresponding to macOS Sierra (version 10.12)
-
OSXElCapitan
Version corresponding to OS X El Capitan (version 10.11)
-
OSXMavericks
Version corresponding to OS X Mavericks (version 10.9)
-
OSXYosemite
Version corresponding to OS X Yosemite (version 10.10)
-
Windows10
Version corresponding to Windows 10 (version 10.0)
-
Windows7
Version corresponding to Windows 7 (version 6.1)
-
Windows8
Version corresponding to Windows 8 (version 6.2)
-
Windows8_1
Version corresponding to Windows 8.1 (version 6.3)
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
compareTo
- Specified by:
compareTo
in interfaceComparable<QOperatingSystemVersion>
-
hashCode
-
toString
-
clone
-