Sophie

Sophie

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

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

<HTML>
<HEAD>
<TITLE>class KInstance</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 KInstance</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">
 Access to KDE global objects for use in shared libraries. <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="kinstance_h.html">kinstance.h</A>&gt;</code></TD></TR>
<TR><TH>Inherited by</TH><TD><A HREF="KApplication.html">KApplication</A>, <A HREF="KUniqueApplication.html">KUniqueApplication</A></TD></TR>
<TR><TH><A HREF="full-list-KInstance.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="#ref2">KInstance</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& instanceName) 
</LI>
<LI>&nbsp;<b><A HREF="#ref3">KInstance</A></b> ( const <A HREF="KAboutData.html">KAboutData</A> * aboutData ) 
</LI>
<LI>virtual  &nbsp;<b><A HREF="#ref4">~KInstance</A></b> () 
</LI>
<LI><A HREF="KStandardDirs.html">KStandardDirs</A>	*&nbsp;<b><A HREF="#ref5">dirs</A></b> ()  const
</LI>
<LI><A HREF="KConfig.html">KConfig</A>            *&nbsp;<b><A HREF="#ref6">config</A></b> ()  const
</LI>
<LI><A HREF="KIconLoader.html">KIconLoader</A>	       *&nbsp;<b><A HREF="#ref7">iconLoader</A></b> ()  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref8">newIconLoader</A></b> ()  const
</LI>
<LI><A HREF="KCharsets.html">KCharsets</A>	     *&nbsp;<b><A HREF="#ref9">charsets</A></b> ()  const
</LI>
<LI>const <A HREF="KAboutData.html">KAboutData</A> *&nbsp;<b><A HREF="#ref10">aboutData</A></b> ()  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>          &nbsp;<b><A HREF="#ref11">instanceName</A></b> ()  const
</LI>
<LI><A HREF="KMimeSourceFactory.html">KMimeSourceFactory</A>* &nbsp;<b><A HREF="#ref12">mimeSourceFactory</A></b> ()  const
</LI>
</ul><h4>Protected Methods</h4><ul><LI>&nbsp;<b><A HREF="#ref13">KInstance</A></b> ( const <A HREF="KInstance.html">KInstance</A>& ) 
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
 Access to KDE global objects for use in shared libraries.  In
 practical terms, this class is used in KDE components.  This allows
 components to store things that normally would be accessed by
 <A HREF="KGlobal.html">KGlobal</A>.
</p>
<p></p>
<A NAME="KInstance"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KInstance</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& instanceName)
<br></td><td align="right"><h3><strong>KInstance</strong></h3></td></tr></table><p></p><p>
  Constructor
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>instanceName</i></TD><TD align="left" valign="top">the name of the instance
     </TD></TR>
</TABLE></P>
<A NAME="KInstance"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KInstance</strong> ( const <A HREF="KAboutData.html">KAboutData</A> * aboutData )
<br></td><td align="right"><h3><strong>KInstance</strong></h3></td></tr></table><p></p><p>
  Constructor
</p>
<p>  When building a KInstance that is not your KApplication,
  make sure that the KAboutData and the KInstance have the same life time.
  You have to destroy both, since the instance doesn't own the about data.
  Don't build a KAboutData on the stack in this case !
  Building a KAboutData on the stack is only ok for usage with
  KCmdLineArgs and KApplication (not destroyed until the app exits).
     </p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>aboutData</i></TD><TD align="left" valign="top">data about this instance (see <A HREF="KAboutData.html">KAboutData</A>)
</TD></TR>
</TABLE></P>
<A NAME="~KInstance"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td> &nbsp;<strong>~KInstance</strong> ()
<br></td><td align="right"><h3><strong>~KInstance</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Destructor.
     </p>
<A NAME="dirs"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="KStandardDirs.html">KStandardDirs</A>	*&nbsp;<strong>dirs</strong> ()
<br></td><td align="right"><h3><strong>dirs</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
  Retrieve the application standard dirs object.
     </p>
<A NAME="config"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="KConfig.html">KConfig</A>            *&nbsp;<strong>config</strong> ()
<br></td><td align="right"><h3><strong>config</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
  Retrieve the general config object.
     </p>
<A NAME="iconLoader"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="KIconLoader.html">KIconLoader</A>	       *&nbsp;<strong>iconLoader</strong> ()
<br></td><td align="right"><h3><strong>iconLoader</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
  Retrieve an iconloader object.
     </p>
<A NAME="newIconLoader"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>newIconLoader</strong> ()
<br></td><td align="right"><h3><strong>newIconLoader</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Re-allocate the global iconloader.
     </p>
<A NAME="charsets"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="KCharsets.html">KCharsets</A>	     *&nbsp;<strong>charsets</strong> ()
<br></td><td align="right"><h3><strong>charsets</strong></h3></td></tr></table><p> <small>[const]</small></p><A NAME="aboutData"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td>const <A HREF="KAboutData.html">KAboutData</A> *&nbsp;<strong>aboutData</strong> ()
<br></td><td align="right"><h3><strong>aboutData</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
</p>
<p><b>Returns</b>: the about data of this instance
  Warning, can be 0L
     </p>
<A NAME="instanceName"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>          &nbsp;<strong>instanceName</strong> ()
<br></td><td align="right"><h3><strong>instanceName</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
</p>
<p><b>Returns</b>: the instance name
     </p>
<A NAME="mimeSourceFactory"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="KMimeSourceFactory.html">KMimeSourceFactory</A>* &nbsp;<strong>mimeSourceFactory</strong> ()
<br></td><td align="right"><h3><strong>mimeSourceFactory</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
</p>
<p> Mainly added for API completeness and future extensibility.
     </p>
<p><b>Returns</b>: the KMimeSourceFactory set as default for this application.
</p>
<A NAME="KInstance"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KInstance</strong> ( const <A HREF="KInstance.html">KInstance</A>& )
<br></td><td align="right"><h3><strong>KInstance</strong></h3></td></tr></table><p> <small>[protected]</small></p><p>
  Copy Constructor is not allowed
     </p>
<HR><UL><LI><i>Version</i>: $Id: kinstance.h,v 1.19 2001/01/20 10:42:07 coolo Exp $
 </LI><LI><i>Author</i>: Torben Weis
</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>