java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QElapsedTimer
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QElapsedTimer extends QtObject implements Cloneable
Fast way to calculate elapsed times
Java wrapper for Qt class QElapsedTimer
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QElapsedTimer.ClockType
Java wrapper for Qt enum QElapsedTimer::ClockType -
Constructor Summary
Constructors Modifier Constructor Description QElapsedTimer()
protected
QElapsedTimer(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description static QElapsedTimer.ClockType
clockType()
QElapsedTimer
clone()
long
elapsed()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.boolean
hasExpired(long timeout)
int
hashCode()
void
invalidate()
static boolean
isMonotonic()
boolean
isValid()
long
msecsSinceReference()
long
msecsTo(QElapsedTimer other)
long
nsecsElapsed()
long
restart()
long
secsTo(QElapsedTimer other)
void
start()
-
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
-