Sophie

Sophie

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

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

<HTML>
<HEAD>
<TITLE>class KSycocaEntry</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 KSycocaEntry</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">
 Base class for all entries. <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH colspan="2">Contains pure virtuals</TH></TR><TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="ksycocaentry_h.html">ksycocaentry.h</A>&gt;</code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="KShared.html">KShared</A> <small>[public ]</small></TD></TR>
<TR><TH><A HREF="full-list-KSycocaEntry.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 Types</h4><ul><LI>typedef KSharedPtr<KSycocaEntry>  <A HREF="#ref3">Ptr</A>
</LI>
<LI>typedef QValueList<Ptr>  <A HREF="#ref4">List</A>
</LI>
</ul><h4>Public Methods</h4><ul><LI>virtual  bool &nbsp;<b><A HREF="#ref1">isType</A></b> (<A HREF="#KSycocaType">KSycocaType</A> t)  const
</LI>
<LI>virtual  <A HREF="#KSycocaType">KSycocaType</A> &nbsp;<b><A HREF="#ref2">sycocaType</A></b> ()  const
</LI>
<LI>&nbsp;<b><A HREF="#ref5">KSycocaEntry</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &path) 
</LI>
<LI>&nbsp;<b><A HREF="#ref6">KSycocaEntry</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdatastream.html">QDataStream</A> &_str, int offset ) 
</LI>
<LI>virtual  <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><i><A HREF="#ref7">name</A></i></b> ()  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref8">entryPath</A></b> ()  const
</LI>
<LI>virtual  bool &nbsp;<b><i><A HREF="#ref9">isValid</A></i></b> ()  const
</LI>
<LI>virtual  bool &nbsp;<b><A HREF="#ref10">isDeleted</A></b> ()  const
</LI>
<LI>int &nbsp;<b><A HREF="#ref11">offset</A></b> () 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref12">save</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdatastream.html">QDataStream</A> &s) 
</LI>
<LI>virtual  void &nbsp;<b><i><A HREF="#ref13">load</A></i></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdatastream.html">QDataStream</A> &) 
</LI>
</ul><h4>Protected Members</h4><ul><LI>bool <b><A HREF="#ref15">m_bDeleted</A></b></LI>
<LI>QString <b><A HREF="#ref16">mPath</A></b></LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
 Base class for all entries.
 You can't create instance of KSycocaEntry, but it provides
 the common functionality for servicetypes and services.
 </p>
<A NAME="isType"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>isType</strong> (<A HREF="#KSycocaType">KSycocaType</A> t)
<br></td><td align="right"><h3><strong>isType</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><A NAME="sycocaType"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="#KSycocaType">KSycocaType</A> &nbsp;<strong>sycocaType</strong> ()
<br></td><td align="right"><h3><strong>sycocaType</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><A NAME="Ptr"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>typedef <A HREF="KSharedPtr.html">KSharedPtr</A><<A HREF="KSycocaEntry.html">KSycocaEntry</A>>  <strong>Ptr</strong></td><td align="right"><h3><strong>Ptr</strong></h3></td></tr></table><p></p><A NAME="List"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td>typedef <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qvaluelist.html">QValueList</A><Ptr>  <strong>List</strong></td><td align="right"><h3><strong>List</strong></h3></td></tr></table><p></p><A NAME="KSycocaEntry"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KSycocaEntry</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &path)
<br></td><td align="right"><h3><strong>KSycocaEntry</strong></h3></td></tr></table><p></p><p>
 Default constructor
    </p>
<A NAME="KSycocaEntry"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KSycocaEntry</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdatastream.html">QDataStream</A> &_str, int offset )
<br></td><td align="right"><h3><strong>KSycocaEntry</strong></h3></td></tr></table><p></p><p>
 Restores itself from a stream.
    </p>
<A NAME="name"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<i><strong>name</strong></i> ()
<br></td><td align="right"><h3><i><strong>name</strong></i></h3></td></tr></table><p> <small>[const pure virtual]</small></p><p>
</p>
<p><b>Returns</b>: the name of this entry
    </p>
<A NAME="entryPath"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>entryPath</strong> ()
<br></td><td align="right"><h3><strong>entryPath</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
</p>
<p><b>Returns</b>: the path of this entry 
 The path can be aboslute or relative.
 The corresponding factory should know relative to what.
    </p>
<A NAME="isValid"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<i><strong>isValid</strong></i> ()
<br></td><td align="right"><h3><i><strong>isValid</strong></i></h3></td></tr></table><p> <small>[const pure virtual]</small></p><p>
</p>
<p><b>Returns</b>: true if valid
    </p>
<A NAME="isDeleted"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>isDeleted</strong> ()
<br></td><td align="right"><h3><strong>isDeleted</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><p>
</p>
<p><b>Returns</b>: true if deleted
    </p>
<A NAME="offset"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int &nbsp;<strong>offset</strong> ()
<br></td><td align="right"><h3><strong>offset</strong></h3></td></tr></table><p></p><p>
</p>
<p><b>Returns</b>: the position of the entry in the sycoca file
    </p>
<A NAME="save"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>save</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdatastream.html">QDataStream</A> &s)
<br></td><td align="right"><h3><strong>save</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Save ourselves to the database. Don't forget to call the parent class
 first if you override this function.
    </p>
<A NAME="load"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<i><strong>load</strong></i> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdatastream.html">QDataStream</A> &)
<br></td><td align="right"><h3><i><strong>load</strong></i></h3></td></tr></table><p> <small>[pure virtual]</small></p><p>
 Load ourselves from the database. Don't call the parent class!
    </p>
<A NAME="m_bDeleted"></A><A NAME="ref15"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool  <strong>m_bDeleted</strong>
</td><td align="right"><h3><strong>m_bDeleted</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="mPath"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>  <strong>mPath</strong>
</td><td align="right"><h3><strong>mPath</strong></h3></td></tr></table><p> <small>[protected]</small></p><HR>
	<table>
	<tr><td><small>Generated by: qateam on updates.mandrakesoft.com on Mon Dec 30 16:08:56 2002, using kdoc 2.0a53.</small></td></tr>
	</table>
</BODY>
</HTML>