java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QVersionNumber
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QVersionNumber>
Contains a version number with an arbitrary number of segments
Java wrapper for Qt's class QVersionNumber
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQVersionNumber
(int maj) QVersionNumber
(int... args) QVersionNumber
(int maj, int min) QVersionNumber
(int maj, int min, int mic) protected
Constructor for internal use only.QVersionNumber
(Collection<Integer> seg) -
Method Summary
Modifier and TypeMethodDescriptionclone()
static QVersionNumber
commonPrefix
(QVersionNumber v1, QVersionNumber v2) static int
compare
(QVersionNumber v1, QVersionNumber v2) int
compareTo
(QVersionNumber other) boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.static QVersionNumber
fromString
(String string) Overloaded function forfromString(java.lang.String, int[])
withsuffixIndex = null
.static QVersionNumber
fromString
(String string, int[] suffixIndex) int
hashCode()
final boolean
final boolean
isNull()
final boolean
isPrefixOf
(QVersionNumber other) final int
final int
final int
final QVersionNumber
void
readFrom
(QDataStream in) final int
segmentAt
(int index) final int
segments()
final String
toString()
void
writeTo
(QDataStream out) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QVersionNumber
public QVersionNumber() -
QVersionNumber
-
QVersionNumber
public QVersionNumber(int maj) -
QVersionNumber
public QVersionNumber(int maj, int min) -
QVersionNumber
public QVersionNumber(int maj, int min, int mic) -
QVersionNumber
public QVersionNumber(int... args) -
QVersionNumber
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
isNormalized
-
isNull
-
isPrefixOf
-
majorVersion
-
microVersion
-
minorVersion
-
normalized
-
writeTo
-
readFrom
-
segmentAt
-
segmentCount
-
segments
-
toString
-
commonPrefix
-
compare
-
fromString
Overloaded function for
fromString(java.lang.String, int[])
withsuffixIndex = null
. -
fromString
-
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<QVersionNumber>
-
hashCode
-
clone
-