Sophie

Sophie

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

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

<HTML>
<HEAD>
<TITLE>class KFileShare</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 KFileShare</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">
 Common functionality for the file sharing
 (communication with the backend)
  <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="kfileshare_h.html">kfileshare.h</A>&gt;</code></TD></TR>
<TR><TH><A HREF="full-list-KFileShare.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>enum <A HREF="#ref3">Authorization</A> { NotInitialized, ErrorNotFound, Authorized, UserNotAllowed }
</LI>
</ul><h4>Public Static Methods</h4><ul><LI>static  void &nbsp;<b><A HREF="#ref1">readConfig</A></b> () 
</LI>
<LI>static  bool &nbsp;<b><A HREF="#ref2">isDirectoryShared</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& path ) 
</LI>
<LI>static  Authorization &nbsp;<b><A HREF="#ref4">authorization</A></b> () 
</LI>
<LI>static  <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref5">findExe</A></b> ( const char* exeName ) 
</LI>
<LI>static  bool &nbsp;<b><A HREF="#ref6">setShared</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& path, bool shared ) 
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
 Common functionality for the file sharing
 (communication with the backend)
 </p>
<A NAME="readConfig"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>readConfig</strong> ()
<br></td><td align="right"><h3><strong>readConfig</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Called on application startup, to initialize authorization and shareList
 Can also be called later, when the configuration changes
     </p>
<A NAME="isDirectoryShared"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>isDirectoryShared</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& path )
<br></td><td align="right"><h3><strong>isDirectoryShared</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Call this to know if a directory is currently shared
     </p>
<A NAME="Authorization"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>Authorization</strong> { NotInitialized, ErrorNotFound, Authorized, UserNotAllowed }
</td><td align="right"><h3><strong>Authorization</strong></h3></td></tr></table><p></p><A NAME="authorization"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td> Authorization &nbsp;<strong>authorization</strong> ()
<br></td><td align="right"><h3><strong>authorization</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Call this to know if the current user is authorized to share directories
     </p>
<A NAME="findExe"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>findExe</strong> ( const char* exeName )
<br></td><td align="right"><h3><strong>findExe</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="setShared"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>setShared</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& path, bool shared )
<br></td><td align="right"><h3><strong>setShared</strong></h3></td></tr></table><p> <small>[static]</small></p><HR>
	<table>
	<tr><td><small>Generated by: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:14 2002, using kdoc 2.0a53.</small></td></tr>
	</table>
</BODY>
</HTML>