~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/qdesignericoncacheinterface.html

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html
 
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
5
<!-- /tmp/qt-4.0.0-espenr-1119621036935/qt-x11-opensource-desktop-4.0.0/doc/src/qtdesigner.qdoc -->
 
6
<head>
 
7
    <title>Qt 4.0: QDesignerIconCacheInterface Class Reference</title>
 
8
    <style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
 
9
a:link { color: #004faf; text-decoration: none }
 
10
a:visited { color: #672967; text-decoration: none }
 
11
td.postheader { font-family: sans-serif }
 
12
tr.address { font-family: sans-serif }
 
13
body { background: #ffffff; color: black; }</style>
 
14
</head>
 
15
<body>
 
16
<table border="0" cellpadding="0" cellspacing="0" width="100%">
 
17
<tr>
 
18
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></td>
 
19
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="annotated.html"><font color="#004faf">Annotated</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
 
20
<td align="right" valign="top" width="230"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></td></tr></table><h1 align="center">QDesignerIconCacheInterface Class Reference</h1>
 
21
<p>The QDesignerIconCacheInterface provides an interface to <i>Qt Designer</i>'s icon cache. <a href="#details">More...</a></p>
 
22
<pre>#include &lt;QDesignerIconCacheInterface&gt;</pre><p>Part of the <a href="qtdesigner.html">QtDesigner</a> module.</p>
 
23
<p>Inherits <a href="qobject.html">QObject</a>.</p>
 
24
<ul>
 
25
<li><a href="qdesignericoncacheinterface-members.html">List of all members, including inherited members</a></li>
 
26
</ul>
 
27
<a name="public-functions"></a>
 
28
<h3>Public Functions</h3>
 
29
<ul>
 
30
<li><div class="fn"/><b><a href="qdesignericoncacheinterface.html#QDesignerIconCacheInterface">QDesignerIconCacheInterface</a></b> ( QObject * <i>parent</i> )</li>
 
31
<li><div class="fn"/>virtual QList&lt;QIcon&gt; <b><a href="qdesignericoncacheinterface.html#iconList">iconList</a></b> () const = 0</li>
 
32
<li><div class="fn"/>virtual QString <b><a href="qdesignericoncacheinterface.html#iconToFilePath">iconToFilePath</a></b> ( const QIcon &amp; <i>icon</i> ) const = 0</li>
 
33
<li><div class="fn"/>virtual QString <b><a href="qdesignericoncacheinterface.html#iconToQrcPath">iconToQrcPath</a></b> ( const QIcon &amp; <i>icon</i> ) const = 0</li>
 
34
<li><div class="fn"/>virtual QIcon <b><a href="qdesignericoncacheinterface.html#nameToIcon">nameToIcon</a></b> ( const QString &amp; <i>filePath</i>, const QString &amp; <i>qrcPath</i> = QString() ) = 0</li>
 
35
<li><div class="fn"/>virtual QPixmap <b><a href="qdesignericoncacheinterface.html#nameToPixmap">nameToPixmap</a></b> ( const QString &amp; <i>filePath</i>, const QString &amp; <i>qrcPath</i> = QString() ) = 0</li>
 
36
<li><div class="fn"/>virtual QList&lt;QPixmap&gt; <b><a href="qdesignericoncacheinterface.html#pixmapList">pixmapList</a></b> () const = 0</li>
 
37
<li><div class="fn"/>virtual QString <b><a href="qdesignericoncacheinterface.html#pixmapToFilePath">pixmapToFilePath</a></b> ( const QPixmap &amp; <i>pixmap</i> ) const = 0</li>
 
38
<li><div class="fn"/>virtual QString <b><a href="qdesignericoncacheinterface.html#pixmapToQrcPath">pixmapToQrcPath</a></b> ( const QPixmap &amp; <i>pixmap</i> ) const = 0</li>
 
39
<li><div class="fn"/>virtual QString <b><a href="qdesignericoncacheinterface.html#resolveQrcPath">resolveQrcPath</a></b> ( const QString &amp; <i>filePath</i>, const QString &amp; <i>qrcPath</i>, const QString &amp; <i>workingDirectory</i> = QString() ) const = 0</li>
 
40
</ul>
 
41
<ul>
 
42
<li><div class="fn"/>28 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
 
43
</ul>
 
44
<h3>Additional Inherited Members</h3>
 
45
<ul>
 
46
<li><div class="fn"/>1 property inherited from <a href="qobject.html#properties">QObject</a></li>
 
47
<li><div class="fn"/>1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li>
 
48
<li><div class="fn"/>1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
 
49
<li><div class="fn"/>4 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li>
 
50
<li><div class="fn"/>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
 
51
</ul>
 
52
<a name="details"></a>
 
53
<hr />
 
54
<h2>Detailed Description</h2>
 
55
<p>The QDesignerIconCacheInterface provides an interface to <i>Qt Designer</i>'s icon cache.</p>
 
56
<hr />
 
57
<h2>Member Function Documentation</h2>
 
58
<h3 class="fn"><a name="QDesignerIconCacheInterface"></a>QDesignerIconCacheInterface::QDesignerIconCacheInterface ( <a href="qobject.html">QObject</a> * <i>parent</i> )</h3>
 
59
<p>Constructs a new interface with the given <i>parent</i>.</p>
 
60
<h3 class="fn"><a name="iconList"></a><a href="qlist.html">QList</a>&lt;<a href="qicon.html">QIcon</a>&gt; QDesignerIconCacheInterface::iconList () const&nbsp;&nbsp;<tt> [pure virtual]</tt></h3>
 
61
<p>Returns a list of icons provided by the icon cache.</p>
 
62
<h3 class="fn"><a name="iconToFilePath"></a><a href="qstring.html">QString</a> QDesignerIconCacheInterface::iconToFilePath ( const <a href="qicon.html">QIcon</a> &amp; <i>icon</i> ) const&nbsp;&nbsp;<tt> [pure virtual]</tt></h3>
 
63
<p>Returns the file path associated with the given <i>icon</i>. The file path is a path within an application resources.</p>
 
64
<h3 class="fn"><a name="iconToQrcPath"></a><a href="qstring.html">QString</a> QDesignerIconCacheInterface::iconToQrcPath ( const <a href="qicon.html">QIcon</a> &amp; <i>icon</i> ) const&nbsp;&nbsp;<tt> [pure virtual]</tt></h3>
 
65
<p>Returns the path to the resource file that refers to the specified <i>icon</i>. The resource path refers to a local file.</p>
 
66
<h3 class="fn"><a name="nameToIcon"></a><a href="qicon.html">QIcon</a> QDesignerIconCacheInterface::nameToIcon ( const <a href="qstring.html">QString</a> &amp; <i>filePath</i>, const <a href="qstring.html">QString</a> &amp; <i>qrcPath</i> = QString() )&nbsp;&nbsp;<tt> [pure virtual]</tt></h3>
 
67
<p>Returns the icon associated with the name specified by <i>filePath</i> in the resource file specified by <i>qrcPath</i>.</p>
 
68
<p>If <i>qrcPath</i> refers to a valid resource file, the name used for the file path is a path within those resources; otherwise the file path refers to a local file.</p>
 
69
<p>See also Qt Resource System and <a href="qdesignericoncacheinterface.html#nameToPixmap">nameToPixmap</a>().</p>
 
70
<h3 class="fn"><a name="nameToPixmap"></a><a href="qpixmap.html">QPixmap</a> QDesignerIconCacheInterface::nameToPixmap ( const <a href="qstring.html">QString</a> &amp; <i>filePath</i>, const <a href="qstring.html">QString</a> &amp; <i>qrcPath</i> = QString() )&nbsp;&nbsp;<tt> [pure virtual]</tt></h3>
 
71
<p>Returns the pixmap associated with the name specified by <i>filePath</i> in the resource file specified by <i>qrcPath</i>.</p>
 
72
<p>If <i>qrcPath</i> refers to a valid resource file, the name used for the file path is a path within those resources; otherwise the file path refers to a local file.</p>
 
73
<p>See also Qt Resource System and nameToPixmap().</p>
 
74
<h3 class="fn"><a name="pixmapList"></a><a href="qlist.html">QList</a>&lt;<a href="qpixmap.html">QPixmap</a>&gt; QDesignerIconCacheInterface::pixmapList () const&nbsp;&nbsp;<tt> [pure virtual]</tt></h3>
 
75
<p>Returns a list of pixmaps for the icons provided by the icon cache.</p>
 
76
<h3 class="fn"><a name="pixmapToFilePath"></a><a href="qstring.html">QString</a> QDesignerIconCacheInterface::pixmapToFilePath ( const <a href="qpixmap.html">QPixmap</a> &amp; <i>pixmap</i> ) const&nbsp;&nbsp;<tt> [pure virtual]</tt></h3>
 
77
<p>Returns the file path associated with the given <i>pixmap</i>. The file path is a path within an application resources.</p>
 
78
<h3 class="fn"><a name="pixmapToQrcPath"></a><a href="qstring.html">QString</a> QDesignerIconCacheInterface::pixmapToQrcPath ( const <a href="qpixmap.html">QPixmap</a> &amp; <i>pixmap</i> ) const&nbsp;&nbsp;<tt> [pure virtual]</tt></h3>
 
79
<p>Returns the path to the resource file that refers to the specified <i>pixmap</i>. The resource path refers to a local file.</p>
 
80
<h3 class="fn"><a name="resolveQrcPath"></a><a href="qstring.html">QString</a> QDesignerIconCacheInterface::resolveQrcPath ( const <a href="qstring.html">QString</a> &amp; <i>filePath</i>, const <a href="qstring.html">QString</a> &amp; <i>qrcPath</i>, const <a href="qstring.html">QString</a> &amp; <i>workingDirectory</i> = QString() ) const&nbsp;&nbsp;<tt> [pure virtual]</tt></h3>
 
81
<p>Returns a path to a resource specified by the <i>filePath</i> within the resource file located at <i>qrcPath</i>. If <i>workingDirectory</i> is a valid path to a directory, the path returned will be relative to that directory; otherwise an absolute path is returned.</p>
 
82
<p /><address><hr /><div align="center">
 
83
<table width="100%" cellspacing="0" border="0"><tr class="address">
 
84
<td width="30%">Copyright &copy; 2005 <a href="trolltech.html">Trolltech</a></td>
 
85
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
86
<td width="30%" align="right"><div align="right">Qt 4.0.0</div></td>
 
87
</tr></table></div></address></body>
 
88
</html>