Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 6282078ae76a671f49c6af38c67b1a07 > files > 508

kdelibs-devel-2.2.2-49.2mdk.i586.rpm

<HTML>
<HEAD>
<TITLE>class KMimeSourceFactory</TITLE>

<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
	<TABLE BORDER="0">
		<TR><TD valign="top" align="left" cellspacing="10">
		<h1>class KMimeSourceFactory</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">
 An extension to <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qmimesourcefactory.html">QMimeSourceFactory</A> that uses <A HREF="KIconLoader.html">KIconLoader</A> to
 find images. <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="kmimesourcefactory_h.html">kmimesourcefactory.h</A>&gt;</code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qmimesourcefactory.html">QMimeSourceFactory</A> <small>(qt)</small> <small>[public ]</small></TD></TR>
<TR><TH><A HREF="full-list-KMimeSourceFactory.html">List of all Methods</A></TH></TR>
	</TABLE>
	</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Methods</h4><ul><LI>&nbsp;<b><A HREF="#ref1">KMimeSourceFactory</A></b> (<A HREF="KIconLoader.html">KIconLoader</A>* loader = <A HREF="KGlobal.html#iconLoader">KGlobal::iconLoader</A>()) 
</LI>
<LI>virtual  &nbsp;<b><A HREF="#ref2">~KMimeSourceFactory</A></b> () 
</LI>
<LI>virtual  <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref3">makeAbsolute</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& abs_or_rel_name, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& context)  const
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
 An extension to <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qmimesourcefactory.html">QMimeSourceFactory</A> that uses <A HREF="KIconLoader.html">KIconLoader</A> to
 find images.
</p>
<p> Normally you don't have to instantiate this class at all, <A HREF="KApplication.html">KApplication</A> does that for
 you automagically and sets <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qmimesourcefactory.html#c69d3e">QMimeSourceFactory::setDefaultFactory</A>.
</p>
<p></p>
<A NAME="KMimeSourceFactory"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KMimeSourceFactory</strong> (<A HREF="KIconLoader.html">KIconLoader</A>* loader = <A HREF="KGlobal.html#iconLoader">KGlobal::iconLoader</A>())
<br></td><td align="right"><h3><strong>KMimeSourceFactory</strong></h3></td></tr></table><p></p><p>
 Constructor.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>loader</i></TD><TD align="left" valign="top">is the iconloader used to find images.
   </TD></TR>
</TABLE></P>
<A NAME="~KMimeSourceFactory"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> &nbsp;<strong>~KMimeSourceFactory</strong> ()
<br></td><td align="right"><h3><strong>~KMimeSourceFactory</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Destructor.
   </p>
<A NAME="makeAbsolute"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>makeAbsolute</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& abs_or_rel_name, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& context)
<br></td><td align="right"><h3><strong>makeAbsolute</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><p>
 This function is maps an absolute or relative name for a resource to 
 the absolute one.
</p>
<p> To load an icon, prepend the <code>category</code> name before the <code>icon</code> name, in the style
 of <category>|<icon>.
</p>
<p> Example:
</p><table border="0" width="100%">
<tr>
<td bgcolor="#BEEAE0">
<pre>
 "<img src=\"user|ksysv_start\"/>", "<img src="\desktop|trash\">", ...

</pre>
</td></tr>

</table> <p>
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>abs_or_rel_name</i></TD><TD align="left" valign="top">is the absolute or relative pathname.
</TD></TR>
<TR><TD align="left" valign="top"><i>context</i></TD><TD align="left" valign="top">is the path of the context object for the queried resource. Almost always empty.
   </TD></TR>
</TABLE></P>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qmimesourcefactory.html#6a086a">QMimeSourceFactory</A>.</p>
<HR><UL><LI><i>Version</i>: $Id: kmimesourcefactory.h,v 1.5 2000/08/15 05:26:01 waba Exp $
</LI><LI><i>Author</i>: Peter Putzer <putzer@kde.org>
 </LI><LI><i>Generated</i>: qateam on updates.mandrakesoft.com on Mon Dec 30 16:08:56 2002, using kdoc 2.0a53.</LI></UL></BODY></HTML>