- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QDeadlineTimer extends QtObject implements Cloneable
Marks a deadline in the future
Java wrapper for Qt class QDeadlineTimer
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QDeadlineTimer.ForeverConstant
Java wrapper for Qt enum QDeadlineTimer::ForeverConstant -
Constructor Summary
Constructors Modifier Constructor Description QDeadlineTimer()
Overloaded 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.ForeverConstant arg__1)
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
QDeadlineTimer(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QDeadlineTimer
addMSecs(long msecs)
static QDeadlineTimer
addNSecs(QDeadlineTimer dt, long nsecs)
QDeadlineTimer
clone()
static QDeadlineTimer
current()
Overloaded function forcurrent(io.qt.core.Qt.TimerType)
withtimerType = io.qt.core.Qt.TimerType.CoarseTimer
.static QDeadlineTimer
current(Qt.TimerType timerType)
long
deadline()
long
deadlineNSecs()
boolean
hasExpired()
boolean
isForever()
long
remainingTime()
long
remainingTimeNSecs()
void
setDeadline(long msecs)
Overloaded function forsetDeadline(long, io.qt.core.Qt.TimerType)
withtimerType = io.qt.core.Qt.TimerType.CoarseTimer
.void
setDeadline(long msecs, Qt.TimerType timerType)
void
setPreciseDeadline(long secs)
Overloaded function forsetPreciseDeadline(long, long, io.qt.core.Qt.TimerType)
void
setPreciseDeadline(long secs, long nsecs)
Overloaded function forsetPreciseDeadline(long, long, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
.void
setPreciseDeadline(long secs, long nsecs, Qt.TimerType type)
void
setPreciseRemainingTime(long secs)
Overloaded function forsetPreciseRemainingTime(long, long, io.qt.core.Qt.TimerType)
void
setPreciseRemainingTime(long secs, long nsecs)
Overloaded function forsetPreciseRemainingTime(long, long, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
.void
setPreciseRemainingTime(long secs, long nsecs, Qt.TimerType type)
void
setRemainingTime(long msecs)
Overloaded function forsetRemainingTime(long, io.qt.core.Qt.TimerType)
withtype = io.qt.core.Qt.TimerType.CoarseTimer
.void
setRemainingTime(long msecs, Qt.TimerType type)
void
setTimerType(Qt.TimerType type)
QDeadlineTimer
subtractMSecs(long msecs)
void
swap(QDeadlineTimer other)
Qt.TimerType
timerType()
-
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
-
clone
-