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 namespace QtGlobal
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte
qAbs
(byte t) SeeqAbs<T>(T)
static double
qAbs
(double t) SeeqAbs<T>(T)
static float
qAbs
(float t) SeeqAbs<T>(T)
static int
qAbs
(int t) SeeqAbs<T>(T)
static long
qAbs
(long t) SeeqAbs<T>(T)
static short
qAbs
(short t) SeeqAbs<T>(T)
static byte
qBound
(byte min, byte val, byte max) SeeqBound<T>(T,
T, T) static double
qBound
(double min, double val, double max) SeeqBound<T>(T,
T, T) static float
qBound
(float min, float val, float max) SeeqBound<T>(T,
T, T) static int
qBound
(int min, int val, int max) SeeqBound<T>(T,
T, T) static long
qBound
(long min, long val, long max) SeeqBound<T>(T,
T, T) static short
qBound
(short min, short val, short max) SeeqBound<T>(T,
T, T) 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) SeeqHash(T,0)
static <T> int
qHash
(T object, int seed) SeeqHash(T,int)
static int
qIntCast
(double f) SeeqIntCast(double)
static int
qIntCast
(float f) SeeqIntCast(float)
static boolean
qIsNull
(double d) SeeqIsNull(double)
static boolean
qIsNull
(float f) SeeqIsNull(float)
static byte
qMax
(byte a, byte b) SeeqMax<T>(T,
T) static double
qMax
(double a, double b) SeeqMax<T>(T,
T) static float
qMax
(float a, float b) SeeqMax<T>(T,
T) static int
qMax
(int a, int b) SeeqMax<T>(T,
T) static long
qMax
(long a, long b) SeeqMax<T>(T,
T) static short
qMax
(short a, short b) SeeqMax<T>(T,
T) static byte
qMin
(byte a, byte b) SeeqMin<T>(T,
T) static double
qMin
(double a, double b) SeeqMin<T>(T,
T) static float
qMin
(float a, float b) SeeqMin<T>(T,
T) static int
qMin
(int a, int b) SeeqMin<T>(T,
T) static long
qMin
(long a, long b) SeeqMin<T>(T,
T) static short
qMin
(short a, short b) SeeqMin<T>(T,
T) static int
qrand()
Seeqrand()
static int
qRound
(double d) SeeqRound(double)
static int
qRound
(float d) SeeqRound(float)
static long
qRound64
(double d) SeeqRound64(double)
static long
qRound64
(float d) SeeqRound64(float)
static void
qsrand
(int seed) Seeqsrand(uint)
-
Method Details
-
qAbs
public static double qAbs(double t) See
qAbs<T>(T)
- Parameters:
t
-- Returns:
-
qAbs
public static float qAbs(float t) See
qAbs<T>(T)
- Parameters:
t
-- Returns:
-
qAbs
public static short qAbs(short t) See
qAbs<T>(T)
- Parameters:
t
-- Returns:
-
qAbs
public static int qAbs(int t) See
qAbs<T>(T)
- Parameters:
t
-- Returns:
-
qAbs
public static long qAbs(long t) See
qAbs<T>(T)
- Parameters:
t
-- Returns:
-
qAbs
public static byte qAbs(byte t) See
qAbs<T>(T)
- Parameters:
t
-- Returns:
-
qBound
public static double qBound(double min, double val, double max) See
qBound<T>(T,
T, T) - Parameters:
min
-val
-max
-- Returns:
-
qBound
public static float qBound(float min, float val, float max) See
qBound<T>(T,
T, T) - Parameters:
min
-val
-max
-- Returns:
-
qBound
public static short qBound(short min, short val, short max) See
qBound<T>(T,
T, T) - Parameters:
min
-val
-max
-- Returns:
-
qBound
public static int qBound(int min, int val, int max) See
qBound<T>(T,
T, T) - Parameters:
min
-val
-max
-- Returns:
-
qBound
public static long qBound(long min, long val, long max) See
qBound<T>(T,
T, T) - Parameters:
min
-val
-max
-- Returns:
-
qBound
public static byte qBound(byte min, byte val, byte max) See
qBound<T>(T,
T, T) - Parameters:
min
-val
-max
-- Returns:
-
qFuzzyCompare
public static boolean qFuzzyCompare(double p1, double p2) - Parameters:
p1
-p2
-- Returns:
- Since:
- This function was introduced in Qt 4.4.
-
qFuzzyCompare
public static boolean qFuzzyCompare(float p1, float p2) - Parameters:
p1
-p2
-- Returns:
- Since:
- This function was introduced in Qt 4.4.
-
qFuzzyIsNull
public static boolean qFuzzyIsNull(double d) - Parameters:
d
-- Returns:
- Since:
- This function was introduced in Qt 4.4.
-
qFuzzyIsNull
public static boolean qFuzzyIsNull(float f) - Parameters:
f
-- Returns:
- Since:
- This function was introduced in Qt 4.4.
-
qIntCast
public static int qIntCast(double f) See
qIntCast(double)
- Parameters:
f
-- Returns:
-
qIntCast
public static int qIntCast(float f) See
qIntCast(float)
- Parameters:
f
-- Returns:
-
qIsNull
public static boolean qIsNull(double d) See
qIsNull(double)
- Parameters:
d
-- Returns:
-
qIsNull
public static boolean qIsNull(float f) See
qIsNull(float)
- Parameters:
f
-- Returns:
-
qMax
public static double qMax(double a, double b) See
qMax<T>(T,
T) - Parameters:
a
-b
-- Returns:
-
qMax
public static float qMax(float a, float b) See
qMax<T>(T,
T) - Parameters:
a
-b
-- Returns:
-
qMax
public static short qMax(short a, short b) See
qMax<T>(T,
T) - Parameters:
a
-b
-- Returns:
-
qMax
public static int qMax(int a, int b) See
qMax<T>(T,
T) - Parameters:
a
-b
-- Returns:
-
qMax
public static long qMax(long a, long b) See
qMax<T>(T,
T) - Parameters:
a
-b
-- Returns:
-
qMax
public static byte qMax(byte a, byte b) See
qMax<T>(T,
T) - Parameters:
a
-b
-- Returns:
-
qMin
public static double qMin(double a, double b) See
qMin<T>(T,
T) - Parameters:
a
-b
-- Returns:
-
qMin
public static float qMin(float a, float b) See
qMin<T>(T,
T) - Parameters:
a
-b
-- Returns:
-
qMin
public static short qMin(short a, short b) See
qMin<T>(T,
T) - Parameters:
a
-b
-- Returns:
-
qMin
public static int qMin(int a, int b) See
qMin<T>(T,
T) - Parameters:
a
-b
-- Returns:
-
qMin
public static long qMin(long a, long b) See
qMin<T>(T,
T) - Parameters:
a
-b
-- Returns:
-
qMin
public static byte qMin(byte a, byte b) See
qMin<T>(T,
T) - Parameters:
a
-b
-- Returns:
-
qRound
public static int qRound(double d) See
qRound(double)
- Parameters:
d
-- Returns:
-
qRound
public static int qRound(float d) See
qRound(float)
- Parameters:
d
-- Returns:
-
qRound64
public static long qRound64(double d) See
qRound64(double)
- Parameters:
d
-- Returns:
-
qRound64
public static long qRound64(float d) See
qRound64(float)
- Parameters:
d
-- Returns:
-
qrand
public static int qrand()See
qrand()
- Returns:
- Since:
- This function was introduced in Qt 4.2.
-
qsrand
public static void qsrand(int seed) See
qsrand(uint)
- Parameters:
seed
-- Since:
- This function was introduced in Qt 4.2.
-
qHash
See
qHash(T,0)
- Throws:
UnsupportedOperationException
-
qHash
See
qHash(T,int)
- Throws:
UnsupportedOperationException
-