Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2443

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QUuid" doc="/**
&lt;p&gt;The &lt;a href=&quot;QUuid.html#QUuid(int, char, char, byte, byte, byte, byte, byte, byte, byte, byte)&quot;&gt;&lt;tt&gt;QUuid&lt;/tt&gt;&lt;/a&gt; class stores a Universally Unique Identifier (UUID).&lt;/p&gt;
&lt;p&gt;For objects or declarations that must be uniquely identified, UUIDs (also known as GUIDs) are widely used in order to assign a fixed and easy to compare value to the object or declaration. The 128-bit value of a UUID is generated by an algorithm that guarantees that the value is unique.&lt;/p&gt;
&lt;p&gt;In Qt, UUIDs are wrapped by the &lt;a href=&quot;QUuid.html#QUuid(int, char, char, byte, byte, byte, byte, byte, byte, byte, byte)&quot;&gt;&lt;tt&gt;QUuid&lt;/tt&gt;&lt;/a&gt; struct which provides convenience functions for handling UUIDs. Most platforms provide a tool to generate new UUIDs, for example, &lt;tt&gt;uuidgen&lt;/tt&gt; and &lt;tt&gt;guidgen&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;UUIDs generated by &lt;a href=&quot;QUuid.html#QUuid(int, char, char, byte, byte, byte, byte, byte, byte, byte, byte)&quot;&gt;&lt;tt&gt;QUuid&lt;/tt&gt;&lt;/a&gt;, are based on the &lt;tt&gt;Random&lt;/tt&gt; version of the &lt;tt&gt;DCE&lt;/tt&gt; (Distributed Computing Environment) standard.&lt;/p&gt;
&lt;p&gt;UUIDs can be constructed from numeric values or from strings, or using the static &lt;a href=&quot;QUuid.html#createUuid()&quot;&gt;&lt;tt&gt;createUuid&lt;/tt&gt;&lt;/a&gt; function. They can be converted to a string with &lt;a href=&quot;QUuid.html#toString()&quot;&gt;&lt;tt&gt;toString&lt;/tt&gt;&lt;/a&gt;. UUIDs have a &lt;a href=&quot;QUuid.html#variant()&quot;&gt;&lt;tt&gt;variant&lt;/tt&gt;&lt;/a&gt; and a &lt;a href=&quot;QUuid.html#version()&quot;&gt;&lt;tt&gt;version&lt;/tt&gt;&lt;/a&gt;, and null UUIDs return true from &lt;a href=&quot;QUuid.html#isNull()&quot;&gt;&lt;tt&gt;isNull&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */">
    <method name="public QUuid(java.lang.String arg__1)" doc="/**
&lt;p&gt;Creates a &lt;a href=&quot;QUuid.html#QUuid(int, char, char, byte, byte, byte, byte, byte, byte, byte, byte)&quot;&gt;&lt;tt&gt;QUuid&lt;/tt&gt;&lt;/a&gt; object from the string &lt;tt&gt;arg__1&lt;/tt&gt;. The function can only convert a string in the format {HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH} (where 'H' stands for a hex digit). If the conversion fails a null UUID is created.&lt;/p&gt;
 */"/>
    <method name="public QUuid()" doc="/**
&lt;p&gt;Creates the null UUID {00000000-0000-0000-0000-000000000000}.&lt;/p&gt;
 */"/>
    <method name="public QUuid(int l, char w1, char w2, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7, byte b8)" doc="/**
&lt;p&gt;Creates a UUID with the value specified by the parameters, &lt;tt&gt;l&lt;/tt&gt;, &lt;tt&gt;w1&lt;/tt&gt;, &lt;tt&gt;w2&lt;/tt&gt;, &lt;tt&gt;b1&lt;/tt&gt;, &lt;tt&gt;b2&lt;/tt&gt;, &lt;tt&gt;b3&lt;/tt&gt;, &lt;tt&gt;b4&lt;/tt&gt;, &lt;tt&gt;b5&lt;/tt&gt;, &lt;tt&gt;b6&lt;/tt&gt;, &lt;tt&gt;b7&lt;/tt&gt;, &lt;tt&gt;b8&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;&lt;span class=&quot;comment&quot;&gt;    // {67C8770B-44F1-410A-AB9A-F9B5446F13EE}&lt;/span&gt;
    QUuid IID_MyInterface(0x67c8770b, 0x44f1, 0x410a, 0xab, 0x9a, 0xf9, 0xb5, 0x44, 0x6f, 0x13, 0xee)&lt;/pre&gt;
 */"/>
    <method name="public final boolean isNull()" doc="/**
&lt;p&gt;Returns true if this is the null UUID {00000000-0000-0000-0000-000000000000}; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final void writeTo(com.trolltech.qt.core.QDataStream arg__1)"/>
    <method name="public final void readFrom(com.trolltech.qt.core.QDataStream arg__1)"/>
    <method name="public final java.lang.String toString()" doc="/**
&lt;p&gt;Returns the string representation of the uuid.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QUuid.Variant variant()" doc="/**
&lt;p&gt;Returns the variant of the UUID. The null UUID is considered to be of an unknown variant.&lt;/p&gt;

@see &lt;a href=&quot;QUuid.html#version()&quot;&gt;&lt;tt&gt;version&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QUuid.Version version()" doc="/**
&lt;p&gt;Returns the version of the UUID, if the UUID is of the DCE variant; otherwise returns &lt;a href=&quot;QUuid.html#Version-enum&quot;&gt;&lt;tt&gt;VerUnknown&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QUuid.html#variant()&quot;&gt;&lt;tt&gt;variant&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public native static com.trolltech.qt.core.QUuid createUuid()" doc="/**
&lt;p&gt;Returns a new UUID of &lt;tt&gt;DCE&lt;/tt&gt; variant, and &lt;tt&gt;Random&lt;/tt&gt; type. The UUIDs generated are based on the platform specific pseudo-random generator, which is usually not a cryptographic-quality random number generator. Therefore, a UUID is not guaranteed to be unique cross application instances.&lt;/p&gt;
&lt;p&gt;On Windows, the new UUID is extremely likely to be unique on the same or any other system, networked or not.&lt;/p&gt;

@see &lt;a href=&quot;QUuid.html#variant()&quot;&gt;&lt;tt&gt;variant&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QUuid.html#version()&quot;&gt;&lt;tt&gt;version&lt;/tt&gt;&lt;/a&gt; */"/>
    <enum name="Variant" doc="/**
&lt;p&gt;This enum defines the variant of the UUID, which is the scheme which defines the layout of the 128-bits value.&lt;/p&gt;
 */">
        <enum-value name="VarUnknown" doc="/**
&lt;p&gt;Variant is unknown&lt;/p&gt;
 */"/>
        <enum-value name="NCS" doc="/**
&lt;p&gt;Reserved for NCS (Network Computing System) backward compatibility&lt;/p&gt;
 */"/>
        <enum-value name="DCE" doc="/**
&lt;p&gt;Distributed Computing Environment, the scheme used by &lt;a href=&quot;QUuid.html#QUuid(int, char, char, byte, byte, byte, byte, byte, byte, byte, byte)&quot;&gt;&lt;tt&gt;QUuid&lt;/tt&gt;&lt;/a&gt;&lt;/p&gt;
 */"/>
        <enum-value name="Microsoft" doc="/**
&lt;p&gt;Reserved for Microsoft backward compatibility (GUID)&lt;/p&gt;
 */"/>
        <enum-value name="Reserved" doc="/**
&lt;p&gt;Reserved for future definition&lt;/p&gt;
 */"/>
</enum>
    <enum name="Version" doc="/**
&lt;p&gt;This enum defines the version of the UUID.&lt;/p&gt;
 */">
        <enum-value name="VerUnknown" doc="/**
&lt;p&gt;Version is unknown&lt;/p&gt;
 */"/>
        <enum-value name="Time" doc="/**
&lt;p&gt;Time-based, by using timestamp, clock sequence, and MAC network card address (if available) for the node sections&lt;/p&gt;
 */"/>
        <enum-value name="EmbeddedPOSIX" doc="/**
&lt;p&gt;DCE Security version, with embedded POSIX UUIDs&lt;/p&gt;
 */"/>
        <enum-value name="Name" doc="/**
&lt;p&gt;Name-based, by using values from a name for all sections&lt;/p&gt;
 */"/>
        <enum-value name="Random" doc="/**
&lt;p&gt;Random-based, by using random numbers for all sections&lt;/p&gt;
 */"/>
</enum>
    <method name="public final int data1()"/>
    <method name="public final void setData1(int data1)"/>
    <method name="public final char data2()"/>
    <method name="public final void setData2(char data2)"/>
    <method name="public final char data3()"/>
    <method name="public final void setData3(char data3)"/>
    <method name="public final byte[] data4()"/>
    <method name="public final void setData4(byte[] data4)"/>
</class>