java.lang.Object
io.qt.QtObject
io.qt.core.QElapsedTimer
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Fast way to calculate elapsed times
Java wrapper for Qt class QElapsedTimer
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic QElapsedTimer.ClockType
clone()
Creates and returns a copy of this object.final long
elapsed()
final boolean
equals
(QElapsedTimer other) boolean
final boolean
hasExpired
(long timeout) int
hashCode()
Returns the objects's hash code computed byqHash(QElapsedTimer)
.final void
static boolean
final boolean
isValid()
final long
final long
msecsTo
(QElapsedTimer other) final long
final long
restart()
final long
secsTo
(QElapsedTimer other) final void
start()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QElapsedTimer
public QElapsedTimer()
-
-
Method Details
-
elapsed
-
hasExpired
-
invalidate
-
isValid
-
msecsSinceReference
-
msecsTo
-
nsecsElapsed
-
equals
-
restart
-
secsTo
-
start
-
clockType
-
isMonotonic
public static boolean isMonotonic() -
equals
-
hashCode
Returns the objects's hash code computed byqHash(QElapsedTimer)
. -
clone
Creates and returns a copy of this object.
-