java.lang.Object
io.qt.internal.QtJambiObject
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
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionstatic QElapsedTimer.ClockType
clone()
final long
elapsed()
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
hasExpired
(long timeout) int
hashCode()
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() -
QElapsedTimer
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
elapsed
-
hasExpired
-
invalidate
-
isValid
-
msecsSinceReference
-
msecsTo
-
nsecsElapsed
-
restart
-
secsTo
-
start
-
clockType
-
isMonotonic
public static boolean isMonotonic() -
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. -
hashCode
-
clone
-