java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.core.QElapsedTimer
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Fast way to calculate elapsed times
Java wrapper for Qt's 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 the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.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 the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-