java.lang.Object
io.qt.QtObject
io.qt.multimedia.QMediaTimeRange
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a set of zero or more disjoint time intervals
Java wrapper for Qt's class QMediaTimeRange
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQMediaTimeRange
(long start, long end) QMediaTimeRange
(QMediaTimeInterval arg__1) QMediaTimeRange
(QMediaTimeRange range) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QMediaTimeRange
add
(QMediaTimeRange arg__1) final void
addInterval
(long start, long end) final void
addInterval
(QMediaTimeInterval interval) final void
addTimeRange
(QMediaTimeRange arg__1) final void
assign
(QMediaTimeInterval arg__1) final void
assign
(QMediaTimeRange arg__1) final void
clear()
clone()
final boolean
contains
(long time) final long
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.int
hashCode()
final QList<QMediaTimeInterval>
final boolean
final boolean
isEmpty()
final long
final QMediaTimeRange
minus
(QMediaTimeRange arg__2) final void
minusAssign
(QMediaTimeInterval arg__1) final QMediaTimeRange
plus
(QMediaTimeRange arg__2) final void
plusAssign
(QMediaTimeInterval arg__1) final void
removeInterval
(long start, long end) final void
removeInterval
(QMediaTimeInterval interval) final void
removeTimeRange
(QMediaTimeRange arg__1) final QMediaTimeRange
subtract
(QMediaTimeRange arg__1) toString()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QMediaTimeRange
public QMediaTimeRange() -
QMediaTimeRange
-
QMediaTimeRange
-
QMediaTimeRange
public QMediaTimeRange(long start, long end) -
QMediaTimeRange
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addInterval
-
addInterval
-
addTimeRange
-
clear
-
contains
-
earliestTime
-
intervals
-
isContinuous
-
isEmpty
-
latestTime
-
plus
-
plusAssign
-
add
-
minus
-
minusAssign
-
subtract
-
assign
-
assign
-
removeInterval
-
removeInterval
-
removeTimeRange
-
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. -
hashCode
-
toString
-
clone
-