Module qtjambi
Package io.qt.core

Class QtGlobal

java.lang.Object
io.qt.core.QtGlobal

public final class QtGlobal extends Object

File includes the fundamental global declarations. It is included by most other Qt header files

Java wrapper for Qt namespace QtGlobal

  • Method Details

    • qAbs

      public static double qAbs(double t)
      Parameters:
      t -
      Returns:
    • qAbs

      public static float qAbs(float t)
      Parameters:
      t -
      Returns:
    • qAbs

      public static short qAbs(short t)
      Parameters:
      t -
      Returns:
    • qAbs

      public static int qAbs(int t)
      Parameters:
      t -
      Returns:
    • qAbs

      public static long qAbs(long t)
      Parameters:
      t -
      Returns:
    • qAbs

      public static byte qAbs(byte t)
      Parameters:
      t -
      Returns:
    • qBound

      public static double qBound(double min, double val, double max)
      Parameters:
      min -
      val -
      max -
      Returns:
    • qBound

      public static float qBound(float min, float val, float max)
      Parameters:
      min -
      val -
      max -
      Returns:
    • qBound

      public static short qBound(short min, short val, short max)
      Parameters:
      min -
      val -
      max -
      Returns:
    • qBound

      public static int qBound(int min, int val, int max)
      Parameters:
      min -
      val -
      max -
      Returns:
    • qBound

      public static long qBound(long min, long val, long max)
      Parameters:
      min -
      val -
      max -
      Returns:
    • qBound

      public static byte qBound(byte min, byte val, byte max)
      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)
      Parameters:
      a -
      b -
      Returns:
    • qMax

      public static float qMax(float a, float b)
      Parameters:
      a -
      b -
      Returns:
    • qMax

      public static short qMax(short a, short b)
      Parameters:
      a -
      b -
      Returns:
    • qMax

      public static int qMax(int a, int b)
      Parameters:
      a -
      b -
      Returns:
    • qMax

      public static long qMax(long a, long b)
      Parameters:
      a -
      b -
      Returns:
    • qMax

      public static byte qMax(byte a, byte b)
      Parameters:
      a -
      b -
      Returns:
    • qMin

      public static double qMin(double a, double b)
      Parameters:
      a -
      b -
      Returns:
    • qMin

      public static float qMin(float a, float b)
      Parameters:
      a -
      b -
      Returns:
    • qMin

      public static short qMin(short a, short b)
      Parameters:
      a -
      b -
      Returns:
    • qMin

      public static int qMin(int a, int b)
      Parameters:
      a -
      b -
      Returns:
    • qMin

      public static long qMin(long a, long b)
      Parameters:
      a -
      b -
      Returns:
    • qMin

      public static byte qMin(byte a, byte b)
      Parameters:
      a -
      b -
      Returns:
    • qRound

      public static int qRound(double d)
      Parameters:
      d -
      Returns:
    • qRound

      public static int qRound(float d)
      Parameters:
      d -
      Returns:
    • qRound64

      public static long qRound64(double d)
      Parameters:
      d -
      Returns:
    • qRound64

      public static long qRound64(float d)
      Parameters:
      d -
      Returns:
    • qrand

      public static int qrand()
      Returns:
      Since:
      This function was introduced in Qt 4.2.
    • qsrand

      public static void qsrand(int seed)
      Parameters:
      seed -
      Since:
      This function was introduced in Qt 4.2.
    • qHash

      public static <T> int qHash(T object) throws UnsupportedOperationException
      Throws:
      UnsupportedOperationException
    • qHash

      public static <T> int qHash(T object, int seed) throws UnsupportedOperationException
      Throws:
      UnsupportedOperationException