<HTML> <HEAD> <TITLE>class KBuildServiceTypeFactory</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 KBuildServiceTypeFactory</h1> </TD> <TD valign="top" align="right" colspan="1"> <small><A HREF="#longdesc">More...</A></small></TD></TR> </TABLE> <HR> <TABLE BORDER="0"> <TR><TH colspan="2">Internal Use Only</TH></TR><TR><TH>Definition</TH><TD><code>#include <<A HREF="kbuildservicetypefactory_h.html">kbuildservicetypefactory.h</A>></code></TD></TR> <TR><TH>Inherits</TH><TD><A HREF="../kio/KServiceTypeFactory.html">KServiceTypeFactory</A> <small>(kio)</small> <small>[public ]</small></TD></TR> <TR><TH><A HREF="full-list-KBuildServiceTypeFactory.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> <b><A HREF="#ref1">KBuildServiceTypeFactory</A></b> () </LI> <LI>virtual <b><A HREF="#ref2">~KBuildServiceTypeFactory</A></b> () </LI> <LI>virtual <A HREF="../kio/KServiceType.html">KServiceType</A> * <b><A HREF="#ref3">findServiceTypeByName</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &_name) </LI> <LI>virtual <A HREF="../kdecore/KSycocaEntry.html">KSycocaEntry</A> * <b><A HREF="#ref4">createEntry</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &file, const char *resource) </LI> <LI>virtual <A HREF="../kio/KServiceType.html">KServiceType</A> * <b><A HREF="#ref5">createEntry</A></b> ( int ) </LI> <LI>virtual void <b><A HREF="#ref6">addEntry</A></b> (<A HREF="../kdecore/KSycocaEntry.html">KSycocaEntry</A> *newEntry, const char *resource) </LI> <LI>virtual void <b><A HREF="#ref7">save</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdatastream.html">QDataStream</A> &str) </LI> <LI>virtual void <b><A HREF="#ref8">saveHeader</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdatastream.html">QDataStream</A> &str) </LI> </ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> Service-type factory for building ksycoca </p> <A NAME="KBuildServiceTypeFactory"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KBuildServiceTypeFactory</strong> () <br></td><td align="right"><h3><strong>KBuildServiceTypeFactory</strong></h3></td></tr></table><p></p><p> Create factory </p> <A NAME="~KBuildServiceTypeFactory"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>~KBuildServiceTypeFactory</strong> () <br></td><td align="right"><h3><strong>~KBuildServiceTypeFactory</strong></h3></td></tr></table><p> <small>[virtual]</small></p><A NAME="findServiceTypeByName"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../kio/KServiceType.html">KServiceType</A> * <strong>findServiceTypeByName</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &_name) <br></td><td align="right"><h3><strong>findServiceTypeByName</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Find a service type in the database file </p> <p><b>Returns</b>: a pointer to the servicetype in the memory dict (don't free!) </p> <p>Reimplemented from <A HREF="../kio/KServiceTypeFactory.html#findServiceTypeByName">KServiceTypeFactory</A>.</p> <A NAME="createEntry"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../kdecore/KSycocaEntry.html">KSycocaEntry</A> * <strong>createEntry</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &file, const char *resource) <br></td><td align="right"><h3><strong>createEntry</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Construct a KServiceType from a config file. </p> <p>Reimplemented from <A HREF="../kio/KServiceTypeFactory.html#createEntry">KServiceTypeFactory</A>.</p> <A NAME="createEntry"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../kio/KServiceType.html">KServiceType</A> * <strong>createEntry</strong> ( int ) <br></td><td align="right"><h3><strong>createEntry</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>Reimplemented from <A HREF="../kio/KServiceTypeFactory.html#createEntry">KServiceTypeFactory</A>.</p> <A NAME="addEntry"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>addEntry</strong> (<A HREF="../kdecore/KSycocaEntry.html">KSycocaEntry</A> *newEntry, const char *resource) <br></td><td align="right"><h3><strong>addEntry</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Add entry </p> <A NAME="save"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>save</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdatastream.html">QDataStream</A> &str) <br></td><td align="right"><h3><strong>save</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Write out service type specific index files. </p> <A NAME="saveHeader"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>saveHeader</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdatastream.html">QDataStream</A> &str) <br></td><td align="right"><h3><strong>saveHeader</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Write out header information </p> <p> Don't forget to call the parent first when you override this function. </p> <HR> <table> <tr><td><small>Generated by: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:19 2002, using kdoc 2.0a53.</small></td></tr> </table> </BODY> </HTML>