- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QDeadlineTimer>
Marks a deadline in the future
Java wrapper for Qt class QDeadlineTimer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQDeadlineTimer::ForeverConstant
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQDeadlineTimer(io.qt.core.Qt.TimerType)
withtype_ = io.qt.core.Qt.TimerType.CoarseTimer
.QDeadlineTimer
(long msecs) Overloaded constructor forQDeadlineTimer(long, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
.QDeadlineTimer
(long msecs, Qt.TimerType type) Overloaded constructor forQDeadlineTimer(io.qt.core.QDeadlineTimer.ForeverConstant, io.qt.core.Qt.TimerType)
withtype_ = io.qt.core.Qt.TimerType.CoarseTimer
.QDeadlineTimer
(QDeadlineTimer.ForeverConstant arg__1, Qt.TimerType type_) QDeadlineTimer
(Qt.TimerType type_) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addMSecs
(long msecs) Delegate forplusAssign(long)
.static QDeadlineTimer
addNSecs
(QDeadlineTimer dt, long nsecs) clone()
Creates and returns a copy of this object.int
compareTo
(QDeadlineTimer other) static QDeadlineTimer
current()
Overloaded function forcurrent(io.qt.core.Qt.TimerType)
withtimerType = io.qt.core.Qt.TimerType.CoarseTimer
.static QDeadlineTimer
current
(Qt.TimerType timerType) final long
deadline()
final long
boolean
final boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QDeadlineTimer)
.final boolean
final QDeadlineTimer
minus
(long msecs) final void
minusAssign
(long msecs) final void
plusAssign
(long msecs) final long
final long
final void
setDeadline
(long msecs) Overloaded function forsetDeadline(long, io.qt.core.Qt.TimerType)
withtimerType = io.qt.core.Qt.TimerType.CoarseTimer
.final void
setDeadline
(long msecs, Qt.TimerType timerType) final void
setPreciseDeadline
(long secs) Overloaded function forsetPreciseDeadline(long, long, io.qt.core.Qt.TimerType)
final void
setPreciseDeadline
(long secs, long nsecs) Overloaded function forsetPreciseDeadline(long, long, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
.final void
setPreciseDeadline
(long secs, long nsecs, Qt.TimerType type) final void
setPreciseRemainingTime
(long secs) Overloaded function forsetPreciseRemainingTime(long, long, io.qt.core.Qt.TimerType)
final void
setPreciseRemainingTime
(long secs, long nsecs) Overloaded function forsetPreciseRemainingTime(long, long, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
.final void
setPreciseRemainingTime
(long secs, long nsecs, Qt.TimerType type) final void
setRemainingTime
(long msecs) Overloaded function forsetRemainingTime(long, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
.final void
setRemainingTime
(long msecs, Qt.TimerType type) final void
setTimerType
(Qt.TimerType type) final void
subtractMSecs
(long msecs) Delegate forminusAssign(long)
.final void
swap
(QDeadlineTimer other) final Qt.TimerType
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QDeadlineTimer
-
QDeadlineTimer
-
QDeadlineTimer
-
QDeadlineTimer
Overloaded constructor for
QDeadlineTimer(io.qt.core.QDeadlineTimer.ForeverConstant, io.qt.core.Qt.TimerType)
withtype_ = io.qt.core.Qt.TimerType.CoarseTimer
. -
QDeadlineTimer
public QDeadlineTimer()Overloaded constructor for
QDeadlineTimer(io.qt.core.Qt.TimerType)
withtype_ = io.qt.core.Qt.TimerType.CoarseTimer
. -
QDeadlineTimer
public QDeadlineTimer(long msecs) Overloaded constructor for
QDeadlineTimer(long, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
.
-
-
Method Details
-
deadline
-
deadlineNSecs
-
hasExpired
-
isForever
-
plusAssign
-
minus
-
minusAssign
-
remainingTime
-
remainingTimeNSecs
-
setDeadline
-
setPreciseDeadline
-
setPreciseRemainingTime
-
setRemainingTime
-
setTimerType
-
swap
-
timerType
-
addNSecs
-
current
-
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QDeadlineTimer>
-
hashCode
Returns the objects's hash code computed byqHash(QDeadlineTimer)
. -
clone
Creates and returns a copy of this object.
-
addMSecs
Delegate for
plusAssign(long)
. -
subtractMSecs
Delegate for
minusAssign(long)
. -
setDeadline
Overloaded function for
setDeadline(long, io.qt.core.Qt.TimerType)
withtimerType = io.qt.core.Qt.TimerType.CoarseTimer
. -
setPreciseDeadline
Overloaded function for
setPreciseDeadline(long, long, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
. -
setPreciseDeadline
Overloaded function for
setPreciseDeadline(long, long, io.qt.core.Qt.TimerType)
with:
nsecs = 0
type = io.qt.core.Qt.TimerType.CoarseTimer
-
setPreciseRemainingTime
Overloaded function for
setPreciseRemainingTime(long, long, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
. -
setPreciseRemainingTime
Overloaded function for
setPreciseRemainingTime(long, long, io.qt.core.Qt.TimerType)
with:
nsecs = 0
type = io.qt.core.Qt.TimerType.CoarseTimer
-
setRemainingTime
Overloaded function for
setRemainingTime(long, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
. -
current
Overloaded function for
current(io.qt.core.Qt.TimerType)
withtimerType = io.qt.core.Qt.TimerType.CoarseTimer
.
-