com.trolltech.qt
Class QtInfo

java.lang.Object
  extended by com.trolltech.qt.QtInfo

public class QtInfo
extends java.lang.Object

This class contains static functions to query information about the Qt library Qt Jambi links against.


Constructor Summary
QtInfo()
           
 
Method Summary
static int majorVersion()
           
static int minorVersion()
           
static int patchVersion()
           
static int version()
          Returns the Qt version as a hexadecimal coded integer on the format 0x00MMmmpp, where MM is major version, mm is minor version and pp is patch version.
static java.lang.String versionString()
          Returns The Qt version as a string on the form Major.Minor.Patch, e.g 4.1.2
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QtInfo

public QtInfo()
Method Detail

versionString

public static java.lang.String versionString()
Returns The Qt version as a string on the form Major.Minor.Patch, e.g 4.1.2

Returns:
The Qt version string

version

public static int version()
Returns the Qt version as a hexadecimal coded integer on the format 0x00MMmmpp, where MM is major version, mm is minor version and pp is patch version.

Returns:
the Qt version as a hexadecimal coded integer

majorVersion

public static int majorVersion()
Returns:
Qt's major version

minorVersion

public static int minorVersion()
Returns:
Qt's minor version

patchVersion

public static int patchVersion()
Returns:
Qt's patch version