Qt Jambi Home

com.trolltech.qt.core
Enum QLibraryInfo.LibraryLocation

java.lang.Object
  extended by java.lang.Enum<QLibraryInfo.LibraryLocation>
      extended by com.trolltech.qt.core.QLibraryInfo.LibraryLocation
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable<QLibraryInfo.LibraryLocation>
Enclosing class:
QLibraryInfo

public static enum QLibraryInfo.LibraryLocation
extends java.lang.Enum<QLibraryInfo.LibraryLocation>
implements QtEnumerator

This enum type is used to specify a specific location specifier.

ConstantValueDescription
PrefixPath0The default prefix for all paths.
DocumentationPath1The location for documentation upon install.
HeadersPath2The location for all headers.
LibrariesPath3The location of installed librarires.
BinariesPath4The location of installed Qt binaries (tools and applications).
PluginsPath5The location of installed Qt plugins.
DataPath6The location of general Qt data.
TranslationsPath7The location of translation information for Qt strings.
SettingsPath8The location for Qt settings.
ExamplesPath10The location for examples upon install.
DemosPath9The location for demos upon install.

See Also:
location

Enum Constant Summary
BinariesPath
          The location of installed Qt binaries (tools and applications).
DataPath
          The location of general Qt data.
DemosPath
          The location for demos upon install.
DocumentationPath
          The location for documentation upon install.
ExamplesPath
          The location for examples upon install.
HeadersPath
          The location for all headers.
LibrariesPath
          The location of installed librarires.
PluginsPath
          The location of installed Qt plugins.
PrefixPath
          The default prefix for all paths.
SettingsPath
          The location for Qt settings.
TranslationsPath
          The location of translation information for Qt strings.
 
Method Summary
static QLibraryInfo.LibraryLocation resolve(int value)
           
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QLibraryInfo.LibraryLocation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static QLibraryInfo.LibraryLocation[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PrefixPath

public static final QLibraryInfo.LibraryLocation PrefixPath

The default prefix for all paths.


DocumentationPath

public static final QLibraryInfo.LibraryLocation DocumentationPath

The location for documentation upon install.


HeadersPath

public static final QLibraryInfo.LibraryLocation HeadersPath

The location for all headers.


LibrariesPath

public static final QLibraryInfo.LibraryLocation LibrariesPath

The location of installed librarires.


BinariesPath

public static final QLibraryInfo.LibraryLocation BinariesPath

The location of installed Qt binaries (tools and applications).


PluginsPath

public static final QLibraryInfo.LibraryLocation PluginsPath

The location of installed Qt plugins.


DataPath

public static final QLibraryInfo.LibraryLocation DataPath

The location of general Qt data.


TranslationsPath

public static final QLibraryInfo.LibraryLocation TranslationsPath

The location of translation information for Qt strings.


SettingsPath

public static final QLibraryInfo.LibraryLocation SettingsPath

The location for Qt settings.


DemosPath

public static final QLibraryInfo.LibraryLocation DemosPath

The location for demos upon install.


ExamplesPath

public static final QLibraryInfo.LibraryLocation ExamplesPath

The location for examples upon install.

Method Detail

values

public static QLibraryInfo.LibraryLocation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (QLibraryInfo.LibraryLocation c : QLibraryInfo.LibraryLocation.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static QLibraryInfo.LibraryLocation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()
Description copied from interface: QtEnumerator
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

resolve

public static QLibraryInfo.LibraryLocation resolve(int value)

Qt Jambi Home