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

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <ksambashare.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~KSambaShare\fP ()"
.br
.ti -1c
.RI "\fBQString\fP \fBsmbConfPath\fP () const "
.br
.in -1c
.SS "Static Public Member Functions"

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

Singleton class, call \fBinstance()\fP to get an instance. 
.PP
Definition at line 34 of file ksambashare.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KSambaShare::~\fBKSambaShare\fP ()\fC [virtual]\fP"
.PP
KSambaShare destructor. 
.PP
Do not call! The instance is destroyed automatically! 
.PP
Definition at line 189 of file ksambashare.cpp.
.SH "Member Function Documentation"
.PP 
.SS "\fBKSambaShare\fP * KSambaShare::instance ()\fC [static]\fP"
.PP
Returns the one and only instance of KSambaShare. 
.PP
Definition at line 227 of file ksambashare.cpp.
.SS "bool KSambaShare::isDirectoryShared (const \fBQString\fP & path) const"
.PP
Whether or not the given path is shared by Samba. 
.PP
\fBParameters:\fP
.RS 4
\fIpath\fP the path to check if it is shared by Samba. 
.RE
.PP
\fBReturns:\fP
.RS 4
whether the given path is shared by Samba. 
.RE
.PP

.PP
Definition at line 197 of file ksambashare.cpp.
.PP
References QString::find().
.SS "\fBQStringList\fP KSambaShare::sharedDirectories () const"
.PP
Returns a list of all directories shared by Samba. 
.PP
The resulting list is not sorted. 
.PP
\fBReturns:\fP
.RS 4
a list of all directories shared by Samba. 
.RE
.PP

.PP
Definition at line 205 of file ksambashare.cpp.
.SS "\fBQString\fP KSambaShare::smbConfPath () const"
.PP
Returns the path to the used smb.conf file or null if no file was found. 
.PP
Definition at line 193 of file ksambashare.cpp.
.SS "void KSambaShare::changed ()\fC [signal]\fP"
.PP
Emitted when the smb.conf file has changed. 
.PP


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