- 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 enum QDeadlineTimer::ForeverConstantNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionOverloaded 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_) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QDeadlineTimer
addMSecs
(long msecs) static QDeadlineTimer
addNSecs
(QDeadlineTimer dt, long nsecs) clone()
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
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final boolean
int
hashCode()
final boolean
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 QDeadlineTimer
subtractMSecs
(long msecs) final void
swap
(QDeadlineTimer other) final Qt.TimerType
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QDeadlineTimer
Overloaded constructor for
QDeadlineTimer(io.qt.core.QDeadlineTimer.ForeverConstant, io.qt.core.Qt.TimerType)
withtype_ = io.qt.core.Qt.TimerType.CoarseTimer
. -
QDeadlineTimer
-
QDeadlineTimer
public QDeadlineTimer()Overloaded constructor for
QDeadlineTimer(io.qt.core.Qt.TimerType)
withtype_ = io.qt.core.Qt.TimerType.CoarseTimer
. -
QDeadlineTimer
-
QDeadlineTimer
public QDeadlineTimer(long msecs) Overloaded constructor for
QDeadlineTimer(long, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
. -
QDeadlineTimer
-
QDeadlineTimer
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
deadline
-
deadlineNSecs
-
hasExpired
-
isForever
-
addMSecs
-
subtractMSecs
-
remainingTime
-
remainingTimeNSecs
-
setDeadline
Overloaded function for
setDeadline(long, io.qt.core.Qt.TimerType)
withtimerType = io.qt.core.Qt.TimerType.CoarseTimer
. -
setDeadline
-
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
-
setPreciseDeadline
-
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
-
setPreciseRemainingTime
-
setRemainingTime
Overloaded function for
setRemainingTime(long, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
. -
setRemainingTime
-
setTimerType
-
swap
-
timerType
-
addNSecs
-
current
Overloaded function for
current(io.qt.core.Qt.TimerType)
withtimerType = io.qt.core.Qt.TimerType.CoarseTimer
. -
current
-
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<QDeadlineTimer>
-
hashCode
-
clone
-