- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QDeadlineTimer>
Marks a deadline in the future
Java wrapper for Qt class QDeadlineTimer
- Since:
- This class was introduced in Qt 5.8.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQDeadlineTimer::ForeverConstant
-
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) QDeadlineTimer
(QDeadlineTimer other) SeeQDeadlineTimer::
QDeadlineTimer(QDeadlineTimer) 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 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)
.static QDeadlineTimer
addNSecs
(Qt.TimerType 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
assign
(Qt.TimerType other) Overloaded function forassign(io.qt.core.QDeadlineTimer)
.clone()
Creates and returns a copy of this object.int
compareTo
(QDeadlineTimer other) Seeoperator<(QDeadlineTimer,
QDeadlineTimer) 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
final boolean
equals
(QDeadlineTimer d2) Seeoperator==(QDeadlineTimer,
QDeadlineTimer) final boolean
Overloaded function forequals(io.qt.core.QDeadlineTimer)
.final boolean
equals
(Qt.TimerType d2) Overloaded function forequals(io.qt.core.QDeadlineTimer)
.boolean
Seeoperator==(QDeadlineTimer,
QDeadlineTimer) final boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QDeadlineTimer)
.final boolean
final QDeadlineTimer
minus
(long msecs) Seeoperator-(QDeadlineTimer,
qint64) final long
minus
(QDeadlineTimer dt2) Seeoperator-(QDeadlineTimer,
QDeadlineTimer) final long
Overloaded function forminus(io.qt.core.QDeadlineTimer)
.final long
minus
(Qt.TimerType dt2) Overloaded function forminus(io.qt.core.QDeadlineTimer)
.final QDeadlineTimer
plus
(long msecs) Seeoperator+(QDeadlineTimer,
qint64) 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) 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 QDeadlineTimer
subtractMSecs
(long msecs) final void
swap
(QDeadlineTimer other) final Qt.TimerType
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QDeadlineTimer
See
QDeadlineTimer::
QDeadlineTimer(QDeadlineTimer) - Parameters:
other
-
-
QDeadlineTimer
- Parameters:
arg__1
-type_
-
-
QDeadlineTimer
- Parameters:
type_
-
-
QDeadlineTimer
- Parameters:
msecs
-type
-
-
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
- Returns:
-
deadlineNSecs
- Returns:
-
hasExpired
- Returns:
-
isForever
- Returns:
-
plus
See
operator+(QDeadlineTimer,
qint64) - Parameters:
msecs
-- Returns:
-
addMSecs
- Parameters:
msecs
-- Returns:
-
minus
See
operator-(QDeadlineTimer,
QDeadlineTimer) - Parameters:
dt2
-- Returns:
-
minus
See
operator-(QDeadlineTimer,
qint64) - Parameters:
msecs
-- Returns:
-
subtractMSecs
- Parameters:
msecs
-- Returns:
-
assign
See
QDeadlineTimer::
operator=(QDeadlineTimer) - Parameters:
other
-
-
equals
See
operator==(QDeadlineTimer,
QDeadlineTimer) - Parameters:
d2
-- Returns:
-
remainingTime
- Returns:
-
remainingTimeAsDuration
- Returns:
-
remainingTimeNSecs
- Returns:
-
setDeadline
- Parameters:
msecs
-timerType
-
-
setPreciseDeadline
- Parameters:
secs
-nsecs
-type
-
-
setPreciseRemainingTime
- Parameters:
secs
-nsecs
-type
-
-
setRemainingTime
- Parameters:
msecs
-type
-
-
setTimerType
- Parameters:
type
-
-
swap
- Parameters:
other
-
-
timerType
- Returns:
-
addNSecs
- Parameters:
dt
-nsecs
-- Returns:
-
current
- Parameters:
timerType
-- Returns:
-
equals
See
operator==(QDeadlineTimer,
QDeadlineTimer) -
compareTo
See
operator<(QDeadlineTimer,
QDeadlineTimer) - 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.
See
QDeadlineTimer::
QDeadlineTimer(QDeadlineTimer) -
minus
Overloaded function for
minus(io.qt.core.QDeadlineTimer)
. -
minus
Overloaded function for
minus(io.qt.core.QDeadlineTimer)
. -
assign
Overloaded function for
assign(io.qt.core.QDeadlineTimer)
. -
assign
Overloaded function for
assign(io.qt.core.QDeadlineTimer)
. -
equals
Overloaded function for
equals(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)
. -
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
.
-