- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QOperatingSystemVersion>
Information about the operating system version
Java wrapper for Qt's class QOperatingSystemVersion
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QOperatingSystemVersion::OSTypeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQOperatingSystemVersion
(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
Constructor for internal use only. -
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 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()
int
compareTo
(QOperatingSystemVersion other) static QOperatingSystemVersion
current()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.static QOperatingSystemVersion
Kotlin property getter.int
hashCode()
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()
type()
final QVersionNumber
version()
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
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
-
version
-
current
-
currentType
-
getAndroid10
Kotlin property getter. In Java use
Android10()
instead. -
Android10
Version corresponding to Android 10 (version 10.0, API level 29)
-
getAndroid11
Kotlin property getter. In Java use
Android11()
instead. -
Android11
Version corresponding to Android 11 (version 11.0, API level 30)
-
getAndroidJellyBean
Kotlin property getter. In Java use
AndroidJellyBean()
instead. -
AndroidJellyBean
Version corresponding to Android Jelly Bean (version 4.1, API level 16)
-
getAndroidJellyBean_MR1
Kotlin property getter. In Java use
AndroidJellyBean_MR1()
instead. -
AndroidJellyBean_MR1
Version corresponding to Android Jelly Bean, maintenance release 1 (version 4.2, API level 17)
-
getAndroidJellyBean_MR2
Kotlin property getter. In Java use
AndroidJellyBean_MR2()
instead. -
AndroidJellyBean_MR2
Version corresponding to Android Jelly Bean, maintenance release 2 (version 4.3, API level 18)
-
getAndroidKitKat
Kotlin property getter. In Java use
AndroidKitKat()
instead. -
AndroidKitKat
Version corresponding to Android KitKat (versions 4.4 & 4.4W, API levels 19 & 20)
-
getAndroidLollipop
Kotlin property getter. In Java use
AndroidLollipop()
instead. -
AndroidLollipop
Version corresponding to Android Lollipop (version 5.0, API level 21)
-
getAndroidLollipop_MR1
Kotlin property getter. In Java use
AndroidLollipop_MR1()
instead. -
AndroidLollipop_MR1
Version corresponding to Android Lollipop, maintenance release 1 (version 5.1, API level 22)
-
getAndroidMarshmallow
Kotlin property getter. In Java use
AndroidMarshmallow()
instead. -
AndroidMarshmallow
Version corresponding to Android Marshmallow (version 6.0, API level 23)
-
getAndroidNougat
Kotlin property getter. In Java use
AndroidNougat()
instead. -
AndroidNougat
Version corresponding to Android Nougat (version 7.0, API level 24)
-
getAndroidNougat_MR1
Kotlin property getter. In Java use
AndroidNougat_MR1()
instead. -
AndroidNougat_MR1
Version corresponding to Android Nougat, maintenance release 1 (version 7.0, API level 25)
-
getAndroidOreo
Kotlin property getter. In Java use
AndroidOreo()
instead. -
AndroidOreo
Version corresponding to Android Oreo (version 8.0, API level 26)
-
getAndroidOreo_MR1
Kotlin property getter. In Java use
AndroidOreo_MR1()
instead. -
AndroidOreo_MR1
Version corresponding to Android Oreo_MR1 (version 8.1, API level 27)
-
getAndroidPie
Kotlin property getter. In Java use
AndroidPie()
instead. -
AndroidPie
Version corresponding to Android Pie (version 9.0, API level 28)
-
getMacOSBigSur
Kotlin property getter. In Java use
MacOSBigSur()
instead. -
MacOSBigSur
Version corresponding to macOS Big Sur
-
getMacOSCatalina
Kotlin property getter. In Java use
MacOSCatalina()
instead. -
MacOSCatalina
Version corresponding to macOS Catalina (version 10.15)
-
getMacOSHighSierra
Kotlin property getter. In Java use
MacOSHighSierra()
instead. -
MacOSHighSierra
Version corresponding to macOS High Sierra (version 10.13)
-
getMacOSMojave
Kotlin property getter. In Java use
MacOSMojave()
instead. -
MacOSMojave
Version corresponding to macOS Mojave (version 10.14)
-
getMacOSSierra
Kotlin property getter. In Java use
MacOSSierra()
instead. -
MacOSSierra
Version corresponding to macOS Sierra (version 10.12)
-
getOSXElCapitan
Kotlin property getter. In Java use
OSXElCapitan()
instead. -
OSXElCapitan
Version corresponding to OS X El Capitan (version 10.11)
-
getOSXMavericks
Kotlin property getter. In Java use
OSXMavericks()
instead. -
OSXMavericks
Version corresponding to OS X Mavericks (version 10.9)
-
getOSXYosemite
Kotlin property getter. In Java use
OSXYosemite()
instead. -
OSXYosemite
Version corresponding to OS X Yosemite (version 10.10)
-
getWindows10
Kotlin property getter. In Java use
Windows10()
instead. -
Windows10
Version corresponding to Windows 10 (version 10.0)
-
getWindows7
Kotlin property getter. In Java use
Windows7()
instead. -
Windows7
Version corresponding to Windows 7 (version 6.1)
-
getWindows8
Kotlin property getter. In Java use
Windows8()
instead. -
Windows8
Version corresponding to Windows 8 (version 6.2)
-
getWindows8_1
Kotlin property getter. In Java use
Windows8_1()
instead. -
Windows8_1
Version corresponding to Windows 8.1 (version 6.3)
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
compareTo
- Specified by:
compareTo
in interfaceComparable<QOperatingSystemVersion>
-
hashCode
-
toString
-
clone
-