- 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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QDeadlineTimer.ForeverConstant
SeeQDeadlineTimer::
Forever -
Constructor Summary
ConstructorDescriptionQDeadlineTimer
(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_) QDeadlineTimer
(Temporal timePoint) Overloaded constructor forQDeadlineTimer(java.time.temporal.Temporal, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
.QDeadlineTimer
(TemporalAmount remaining) Overloaded constructor forQDeadlineTimer(java.time.temporal.TemporalAmount, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
.QDeadlineTimer
(TemporalAmount remaining, Qt.TimerType type) QDeadlineTimer
(Temporal timePoint, Qt.TimerType type) -
Method Summary
Modifier and TypeMethodDescriptionfinal QDeadlineTimer
addMSecs
(long msecs) static QDeadlineTimer
addNSecs
(QDeadlineTimer dt, long nsecs) static QDeadlineTimer
addNSecs
(QDeadlineTimer.ForeverConstant dt, long nsecs) Overloaded function foraddNSecs(io.qt.core.QDeadlineTimer, long)
.final void
assign
(QDeadlineTimer other) SeeQDeadlineTimer::
operator=(QDeadlineTimer) final void
Overloaded function forassign(io.qt.core.QDeadlineTimer)
.final void
final void
assign
(TemporalAmount remaining) 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 <T extends Temporal>
TSeeQDeadlineTimer::
deadline()const final long
final boolean
equals
(QDeadlineTimer d2) final boolean
Overloaded function forequals(io.qt.core.QDeadlineTimer)
.boolean
final boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QDeadlineTimer)
.final boolean
final QDeadlineTimer
minus
(long msecs) final long
minus
(QDeadlineTimer dt2) final long
Overloaded function forminus(io.qt.core.QDeadlineTimer)
.final QDeadlineTimer
plus
(long msecs) Seeoperator+(QDeadlineTimer,
qint64) final QDeadlineTimer
plus
(TemporalAmount remaining) Seeoperator+(QDeadlineTimer,
std::chrono::duration) final long
final Duration
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) void
setDeadline
(Temporal timePoint) Overloaded method forsetDeadline(java.time.temporal.Temporal, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
.void
setDeadline
(Temporal timePoint, Qt.TimerType type) 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) void
setRemainingTime
(TemporalAmount remaining) Overloaded method forsetRemainingTime(java.time.temporal.TemporalAmount, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
.void
setRemainingTime
(TemporalAmount remaining, Qt.TimerType type) final void
setTimerType
(Qt.TimerType type) final QDeadlineTimer
subtractMSecs
(long msecs) final void
swap
(QDeadlineTimer other) final Qt.TimerType
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
Forever
See
QDeadlineTimer::
Forever
-
-
Constructor Details
-
QDeadlineTimer
public QDeadlineTimer() -
QDeadlineTimer
-
QDeadlineTimer
-
QDeadlineTimer
-
QDeadlineTimer
Overloaded constructor for
QDeadlineTimer(java.time.temporal.TemporalAmount, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
. -
QDeadlineTimer
-
QDeadlineTimer
Overloaded constructor for
QDeadlineTimer(java.time.temporal.Temporal, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
. -
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(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
-
plus
See
operator+(QDeadlineTimer,
qint64) -
addMSecs
-
minus
-
minus
-
subtractMSecs
-
assign
See
QDeadlineTimer::
operator=(QDeadlineTimer) -
equals
-
remainingTime
-
remainingTimeAsDuration
-
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)
. -
setRemainingTime
Overloaded method for
setRemainingTime(java.time.temporal.TemporalAmount, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
. -
setRemainingTime
-
setDeadline
Overloaded method for
setDeadline(java.time.temporal.Temporal, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
. -
setDeadline
-
assign
-
assign
-
plus
See
operator+(QDeadlineTimer,
std::chrono::duration) -
deadline
See
QDeadlineTimer::
deadline()const -
clone
Creates and returns a copy of this object.
-
minus
Overloaded function for
minus(io.qt.core.QDeadlineTimer)
. -
assign
Overloaded function for
assign(io.qt.core.QDeadlineTimer)
. -
equals
Overloaded function for
equals(io.qt.core.QDeadlineTimer)
. -
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
. -
addNSecs
Overloaded function for
addNSecs(io.qt.core.QDeadlineTimer, long)
. -
current
Overloaded function for
current(io.qt.core.Qt.TimerType)
withtimerType = io.qt.core.Qt.TimerType.CoarseTimer
.
-