applnkset.html
来自「qtopiaphone英文帮助,用于初学者和开发人员,初学者可以用来学习,开发人」· HTML 代码 · 共 157 行
HTML
157 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- /home/edba/dist/qtopia/main-Sunday/qtopia/src/libraries/qtopia/applnk.cpp:1069 --><html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>AppLnkSet 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>AppLnkSet Class Reference</h1><p>The AppLnkSet class is a set of AppLnk objects.<a href="#details">More...</a><p><tt>#include <<a href="applnk-h.html">applnk.h</a>></tt><p>Inherited by <a href="doclnkset.html">DocLnkSet</a>.<p><a href="applnkset-members.html">List of all member functions.</a><h2>Public Members</h2><ul><li><div class=fn><a href="#AppLnkSet"><b>AppLnkSet</b></a> ()</div></li><li><div class=fn><a href="#AppLnkSet-2"><b>AppLnkSet</b></a> ( const QString & directory )</div></li><li><div class=fn><a href="#~AppLnkSet"><b>~AppLnkSet</b></a> ()</div></li><li><div class=fn>const AppLnk * <a href="#find"><b>find</b></a> ( int id ) const</div></li><li><div class=fn>const AppLnk * <a href="#findExec"><b>findExec</b></a> ( const QString & exec ) const</div></li><li><div class=fn>QStringList <a href="#types"><b>types</b></a> () const</div></li><li><div class=fn>QString <a href="#typeName"><b>typeName</b></a> ( const QString & t ) const</div></li><li><div class=fn>QPixmap <a href="#typePixmap"><b>typePixmap</b></a> ( const QString & t ) const</div></li><li><div class=fn>QPixmap <a href="#typeBigPixmap"><b>typeBigPixmap</b></a> ( const QString & t ) const</div></li><li><div class=fn>void <a href="#add"><b>add</b></a> ( AppLnk * f )</div></li><li><div class=fn>bool <a href="#remove"><b>remove</b></a> ( AppLnk * f )</div></li><li><div class=fn>void <a href="#clear"><b>clear</b></a> ()</div></li><li><div class=fn>const QList<AppLnk> & <a href="#children"><b>children</b></a> () const</div></li><li><div class=fn>void <a href="#detachChildren"><b>detachChildren</b></a> ()</div></li></ul><hr><a name="details"></a><h2>Detailed Description</h2>The AppLnkSet class is a set of <a href="applnk.html">AppLnk</a> objects.<p> <p>See also <a href="qtopiaemb.html">Qtopia Classes</a>.<hr><h2>Member Function Documentation</h2><h3 class=fn><a name="AppLnkSet"></a>AppLnkSet::AppLnkSet ()</h3>Constructs an empty AppLnkSet.<h3 class=fn><a name="AppLnkSet-2"></a>AppLnkSet::AppLnkSet ( const QString & directory )</h3>Constructs an AppLnkSet that contains <a href="applnk.html">AppLnk</a> objects representingall the files in the given <em>directory</em> (and any subdirectoriesrecursively).<p> <h3 class=fn><a name="~AppLnkSet"></a>AppLnkSet::~AppLnkSet ()</h3>Destroys the set, deleting all the <a href="applnk.html">AppLnk</a> objects it contains.<p> <p>See also <a href="#detachChildren">detachChildren</a>().<h3 class=fn>void <a name="add"></a>AppLnkSet::add ( <a href="applnk.html">AppLnk</a> * f )</h3>Adds <a href="applnk.html">AppLnk</a> <em>f</em> to the set. The set takes responsibility fordeleting <em>f</em>.<p> <p>See also <a href="#remove">remove</a>().<h3 class=fn>const QList<AppLnk> & <a name="children"></a>AppLnkSet::children () const</h3><p> Returns the members of the set.<h3 class=fn>void <a name="clear"></a>AppLnkSet::clear ()</h3><p> Deletes all AppLnks in the set.<h3 class=fn>void <a name="detachChildren"></a>AppLnkSet::detachChildren ()</h3>Detaches all <a href="applnk.html">AppLnk</a> objects from the set. The set become empty andthe caller becomes responsible for deleting the AppLnk objects.<h3 class=fn>const <a href="applnk.html">AppLnk</a> * <a name="find"></a>AppLnkSet::find ( int id ) const</h3>Returns the <a href="applnk.html">AppLnk</a> with the given <em>id</em>.<h3 class=fn>const <a href="applnk.html">AppLnk</a> * <a name="findExec"></a>AppLnkSet::findExec ( const QString & exec ) const</h3>Returns the <a href="applnk.html">AppLnk</a> with the given <em>exec</em> attribute.<h3 class=fn>bool <a name="remove"></a>AppLnkSet::remove ( <a href="applnk.html">AppLnk</a> * f )</h3>Removes <a href="applnk.html">AppLnk</a> <em>f</em> to the set. The caller becomes responsible fordeleting <em>f</em>. Returns TRUE if <em>f</em> was in the set; otherwisereturns FALSE.<p> <p>See also <a href="#add">add</a>().<h3 class=fn>QPixmap <a name="typeBigPixmap"></a>AppLnkSet::typeBigPixmap ( const QString & t ) const</h3>Returns the large pixmap associated with type <em>t</em>.<p> For applications, games and settings the type is <tt>Application</tt>;for documents the type is the document's MIME type.<h3 class=fn>QString <a name="typeName"></a>AppLnkSet::typeName ( const QString & t ) const</h3>Returns the localized name for type <em>t</em>.<p> For applications, games and settings the type is <tt>Application</tt>;for documents the type is the document's MIME type.<h3 class=fn>QPixmap <a name="typePixmap"></a>AppLnkSet::typePixmap ( const QString & t ) const</h3>Returns the small pixmap associated with type <em>t</em>.<p> For applications, games and settings the type is <tt>Application</tt>;for documents the type is the document's MIME type.<h3 class=fn>QStringList <a name="types"></a>AppLnkSet::types () const</h3><p> Returns the list of <a href="applnk.html#Types">types</a> in the set.<p> For applications, games and settings the type is <tt>Application</tt>;for documents the type is the document's MIME type.<p> <p>See also <a href="applnk.html#type">AppLnk::type</a>(), <a href="#typeName">typeName</a>(), <a href="#typePixmap">typePixmap</a>() and <a href="#typeBigPixmap">typeBigPixmap</a>().<!-- eof --><hr><p>This file is part of the <a href="../index.html">Qtopia</a> platform,copyright © 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 © 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 + =
减小字号Ctrl + -
显示快捷键?