.TH "KNFSShare" kde3 "11 Jun 2005" "Version Version 3.4.1" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KNFSShare \- Similar functionality like \fBKFileShare\fP, but works only for NFS and do not need any suid script.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <knfsshare.h>\fP
.PP
Inherits \fBQObject\fP.
.PP
.SS "Signals"

.in +1c
.ti -1c
.RI "void \fBchanged\fP ()"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "bool \fBisDirectoryShared\fP (const \fBQString\fP &path) const "
.br
.ti -1c
.RI "\fBQStringList\fP \fBsharedDirectories\fP () const "
.br
.ti -1c
.RI "virtual \fB~KNFSShare\fP ()"
.br
.ti -1c
.RI "\fBQString\fP \fBexportsPath\fP () const "
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static \fBKNFSShare\fP * \fBinstance\fP ()"
.br
.in -1c
.SH "Detailed Description"
.PP 
Similar functionality like \fBKFileShare\fP, but works only for NFS and do not need any suid script. 

It parses the /etc/exports file to get its information. Singleton class, call \fBinstance()\fP to get an instance. 
.PP
Definition at line 35 of file knfsshare.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KNFSShare::~\fBKNFSShare\fP ()\fC [virtual]\fP"
.PP
KNFSShare destructor. 
.PP
Do not call! The instance is destroyed automatically! 
.PP
Definition at line 170 of file knfsshare.cpp.
.SH "Member Function Documentation"
.PP 
.SS "\fBKNFSShare\fP * KNFSShare::instance ()\fC [static]\fP"
.PP
Returns the one and only instance of KNFSShare. 
.PP
Definition at line 208 of file knfsshare.cpp.
.PP
Referenced by KFileItem::overlays().
.SS "bool KNFSShare::isDirectoryShared (const \fBQString\fP & path) const"
.PP
Wether or not the given path is shared by NFS. 
.PP
\fBParameters:\fP
.RS 4
\fIpath\fP the path to check if it is shared by NFS. 
.RE
.PP
\fBReturns:\fP
.RS 4
wether the given path is shared by NFS. 
.RE
.PP

.PP
Definition at line 175 of file knfsshare.cpp.
.PP
References QString::find().
.PP
Referenced by KFileItem::overlays().
.SS "\fBQStringList\fP KNFSShare::sharedDirectories () const"
.PP
Returns a list of all directories shared by NFS. 
.PP
The resulting list is not sorted. 
.PP
\fBReturns:\fP
.RS 4
a list of all directories shared by NFS. 
.RE
.PP

.PP
Definition at line 183 of file knfsshare.cpp.
.SS "\fBQString\fP KNFSShare::exportsPath () const"
.PP
Returns the path to the used exports file, or null if no exports file was found. 
.PP
Definition at line 192 of file knfsshare.cpp.
.SS "void KNFSShare::changed ()\fC [signal]\fP"
.PP
Emitted when the /etc/exports file has changed. 
.PP


.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
