⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 quuid.html

📁 qtopiaphone英文帮助,用于初学者和开发人员,初学者可以用来学习,开发人员可以用来资料查询.
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- /home/edba/dist/qtopia/main-Sunday/qtopia/src/libraries/qtopia/quuid.cpp:23 --><html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>QUuid Class</title><style type="text/css"><!--h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }a:link { color: #004faf; text-decoration: none }a:visited { color: #672967; text-decoration: none }body { background: #ffffff; color: black; }--></style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="200" align="left" valign="top"><a href="index.html"><img height="27" width="472" src="dochead.png" border="0"></a><br><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" align="center" size=32>Qtopia</font>   <a href="index.html">Home</a> - <a href="qtopiaclasses.html">Classes</a> - <a href="qtopiaannotated.html">Annotated</a> - <a href="qtopiafunctions.html">Functions</a> - <a href="qtindex.html">Qt Embedded</a></td><td align="right" valign="top">  <table border="0" cellpadding="0" cellspacing="0" width="137">  <tr>  <td><a href="http://www.trolltech.com/company/about/trolls.html"><img height="100" width="100" src="face.png" border="0"></a></td>  <td><img height="100" width="100" src="qtlogo.png" align="top" border="0"></td>  </tr>  </table></td></tr></table><h1 align=center>QUuid Class Reference</h1><p>The QUuid class defines a Universally Unique Identifier (UUID).<a href="#details">More...</a><p><tt>#include &lt;<a href="quuid-h.html">quuid.h</a>&gt;</tt><p><a href="quuid-members.html">List of all member functions.</a><h2>Public Members</h2><ul><li><div class=fn><a href="#QUuid"><b>QUuid</b></a> ()</div></li><li><div class=fn><a href="#QUuid-2"><b>QUuid</b></a> ( uint&nbsp;l, ushort&nbsp;w1, ushort&nbsp;w2, uchar&nbsp;b1, uchar&nbsp;b2, uchar&nbsp;b3, uchar&nbsp;b4, uchar&nbsp;b5, uchar&nbsp;b6, uchar&nbsp;b7, uchar&nbsp;b8 )</div></li><li><div class=fn><a href="#QUuid-3"><b>QUuid</b></a> ( const&nbsp;QUuid&nbsp;&amp;&nbsp;orig )</div></li><li><div class=fn><a href="#QUuid-4"><b>QUuid</b></a> ( const&nbsp;QString&nbsp;&amp;&nbsp;text )</div></li><li><div class=fn>QString <a href="#toString"><b>toString</b></a> () const</div></li><li><div class=fn>bool <a href="#isNull"><b>isNull</b></a> () const</div></li><li><div class=fn>QUuid &amp; <a href="#operator-eq"><b>operator=</b></a> ( const&nbsp;QUuid&nbsp;&amp;&nbsp;uuid )</div></li><li><div class=fn>bool <a href="#operator-eq-eq"><b>operator==</b></a> ( const&nbsp;QUuid&nbsp;&amp;&nbsp;other ) const</div></li><li><div class=fn>bool <a href="#operator!-eq"><b>operator!=</b></a> ( const&nbsp;QUuid&nbsp;&amp;&nbsp;other ) const</div></li><li><div class=fn>bool <a href="#operator-lt"><b>operator&lt;</b></a> ( const&nbsp;QUuid&nbsp;&amp;&nbsp;other ) const</div></li><li><div class=fn>bool <a href="#operator-gt"><b>operator&gt;</b></a> ( const&nbsp;QUuid&nbsp;&amp;&nbsp;other ) const</div></li></ul><hr><a name="details"></a><h2>Detailed Description</h2>The QUuid class defines a Universally Unique Identifier (UUID).<p> This class is temporarily copied from Qt 3.0.<p> <p>See also <a href="qtopiaemb.html">Qtopia Classes</a>.<hr><h2>Member Function Documentation</h2><h3 class=fn><a name="QUuid"></a>QUuid::QUuid ()</h3><p> Creates the null UUID {00000000-0000-0000-0000-000000000000}.<h3 class=fn><a name="QUuid-2"></a>QUuid::QUuid ( uint&nbsp;l, ushort&nbsp;w1, ushort&nbsp;w2, uchar&nbsp;b1, uchar&nbsp;b2, uchar&nbsp;b3, uchar&nbsp;b4, uchar&nbsp;b5, uchar&nbsp;b6, uchar&nbsp;b7, uchar&nbsp;b8 )</h3><p> Creates an UUID with the value specified by the parameters, <em>l</em>, <em>w1</em>, <em>w2</em>, <em>b1</em>, <em>b2</em>, <em>b3</em>, <em>b4</em>, <em>b5</em>, <em>b6</em>, <em>b7</em>, <em>b8</em>.<p> Example:<pre>  // {67C8770B-44F1-410A-AB9A-F9B5446F13EE}  QUuid IID_MyInterface( 0x67c8770b, 0x44f1, 0x410a, 0xab, 0x9a, 0xf9, 0xb5, 0x44, 0x6f, 0x13, 0xee )  </pre> <h3 class=fn><a name="QUuid-3"></a>QUuid::QUuid ( const&nbsp;<a href="quuid.html">QUuid</a>&nbsp;&amp;&nbsp;orig )</h3><p> Creates a copy of the QUuid <em>orig</em>.<h3 class=fn><a name="QUuid-4"></a>QUuid::QUuid ( const&nbsp;QString&nbsp;&amp;&nbsp;text )</h3>Creates a QUuid object from the string <em>text</em>. Right now, the functioncan only convert the format {12345678-1234-1234-1234-123456789ABC} andwill create the null UUID when the conversion fails.<h3 class=fn>bool <a name="isNull"></a>QUuid::isNull () const</h3>Returns TRUE if this is the null UUID {00000000-0000-0000-0000-000000000000}, otherwise returns FALSE.<h3 class=fn>bool <a name="operator!-eq"></a>QUuid::operator!= ( const&nbsp;<a href="quuid.html">QUuid</a>&nbsp;&amp;&nbsp;other ) const</h3><p> Returns TRUE if this QUuid and the <em>other</em> QUuid are different, otherwise returns FALSE.<h3 class=fn>bool <a name="operator-lt"></a>QUuid::operator&lt; ( const&nbsp;<a href="quuid.html">QUuid</a>&nbsp;&amp;&nbsp;other ) const</h3> Returns TRUE if the QUuid is smaller than<em>other</em>.<p> First availability: Qtopia 1.6<h3 class=fn><a href="quuid.html">QUuid</a>&nbsp;&amp; <a name="operator-eq"></a>QUuid::operator= ( const&nbsp;<a href="quuid.html">QUuid</a>&nbsp;&amp;&nbsp;uuid )</h3><p> Assigns the value of <em>uuid</em> to this QUuid object.<h3 class=fn>bool <a name="operator-eq-eq"></a>QUuid::operator== ( const&nbsp;<a href="quuid.html">QUuid</a>&nbsp;&amp;&nbsp;other ) const</h3><p> Returns TRUE if this QUuid and the <em>other</em> QUuid are identical, otherwise returns FALSE.<h3 class=fn>bool <a name="operator-gt"></a>QUuid::operator&gt; ( const&nbsp;<a href="quuid.html">QUuid</a>&nbsp;&amp;&nbsp;other ) const</h3> Returns TRUE if the QUuid is larger than<em>other</em>.<p> First availability: Qtopia 1.6<h3 class=fn>QString <a name="toString"></a>QUuid::toString () const</h3>QString <a href="#toString">QUuid::toString</a>() const<p> Returns a string in {12345678-1234-1234-1234-123456789ABC} format.<!-- eof --><hr><p>This file is part of the <a href="../index.html">Qtopia</a> platform,copyright &copy; 1995-2004<a href="http://www.trolltech.com/">Trolltech</a>, all rights reserved.<p><address><hr><div align="center"><table width="100%" cellspacing="0" border="0"><tr><td>Copyright &copy; 2001-2004 Trolltech<td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a><td align="right"><div align="right">Qtopia version 2.0.0</div></table></div></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -