java.lang.Object
io.qt.core.QtGlobal
File includes the fundamental global declarations. It is included by most other Qt header files
Java wrapper for Qt's namespace QtGlobal
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte
qAbs
(byte t) static double
qAbs
(double t) static float
qAbs
(float t) static int
qAbs
(int t) See qAbs<int>(int)static long
qAbs
(long t) static short
qAbs
(short t) static byte
qBound
(byte min, byte val, byte max) static double
qBound
(double min, double val, double max) static float
qBound
(float min, float val, float max) static int
qBound
(int min, int val, int max) static long
qBound
(long min, long val, long max) static short
qBound
(short min, short val, short max) static boolean
qFuzzyCompare
(double p1, double p2) static boolean
qFuzzyCompare
(float p1, float p2) static boolean
qFuzzyIsNull
(double d) static boolean
qFuzzyIsNull
(float f) static <T> int
qHash
(T object) See qHash(T,o)static <T> int
qHash
(T object, int seed) See qHash(T,int)static int
qIntCast
(double f) static int
qIntCast
(float f) static boolean
qIsNull
(double d) static boolean
qIsNull
(float f) static byte
qMax
(byte a, byte b) static double
qMax
(double a, double b) static float
qMax
(float a, float b) static int
qMax
(int a, int b) static long
qMax
(long a, long b) static short
qMax
(short a, short b) static byte
qMin
(byte a, byte b) static double
qMin
(double a, double b) static float
qMin
(float a, float b) static int
qMin
(int a, int b) static long
qMin
(long a, long b) static short
qMin
(short a, short b) static int
qrand()
Deprecated.use QRandomGenerator insteadstatic int
qRound
(double d) See qRound(double)static int
qRound
(float d) See qRound(float)static long
qRound64
(double d) See qRound64(double)static long
qRound64
(float d) See qRound64(float)static void
qsrand
(int seed) Deprecated.use QRandomGenerator instead
-
Method Details
-
qAbs
public static double qAbs(double t) -
qAbs
public static float qAbs(float t) -
qAbs
public static int qAbs(int t) See qAbs<int>(int)
-
qAbs
public static long qAbs(long t) -
qAbs
public static short qAbs(short t) -
qAbs
public static byte qAbs(byte t) -
qBound
public static double qBound(double min, double val, double max) -
qBound
public static float qBound(float min, float val, float max) -
qBound
public static int qBound(int min, int val, int max) -
qBound
public static long qBound(long min, long val, long max) -
qBound
public static short qBound(short min, short val, short max) -
qBound
public static byte qBound(byte min, byte val, byte max) -
qFuzzyCompare
public static boolean qFuzzyCompare(double p1, double p2) -
qFuzzyCompare
public static boolean qFuzzyCompare(float p1, float p2) -
qFuzzyIsNull
public static boolean qFuzzyIsNull(double d) -
qFuzzyIsNull
public static boolean qFuzzyIsNull(float f) -
qIntCast
public static int qIntCast(double f) -
qIntCast
public static int qIntCast(float f) -
qIsNull
public static boolean qIsNull(double d) -
qIsNull
public static boolean qIsNull(float f) -
qMax
public static double qMax(double a, double b) -
qMax
public static float qMax(float a, float b) -
qMax
public static int qMax(int a, int b) -
qMax
public static long qMax(long a, long b) -
qMax
public static short qMax(short a, short b) -
qMax
public static byte qMax(byte a, byte b) -
qMin
public static double qMin(double a, double b) -
qMin
public static float qMin(float a, float b) -
qMin
public static int qMin(int a, int b) -
qMin
public static long qMin(long a, long b) -
qMin
public static short qMin(short a, short b) -
qMin
public static byte qMin(byte a, byte b) -
qRound
public static int qRound(double d) See qRound(double)
-
qRound
public static int qRound(float d) See qRound(float)
-
qRound64
public static long qRound64(double d) See qRound64(double)
-
qRound64
public static long qRound64(float d) See qRound64(float)
-
qrand
Deprecated.use QRandomGenerator insteadSee qrand()
-
qsrand
Deprecated.use QRandomGenerator insteadSee qsrand(uint)
-
qHash
See qHash(T,o)
- Throws:
UnsupportedOperationException
-
qHash
See qHash(T,int)
- Throws:
UnsupportedOperationException
-