KIO
Go to the documentation of this file.
void readShareList()
Reads the list of shared folders.
bool sharingEnabled()
Returns whether sharing is enabled If this is false, file sharing is disabled and nobody can share fi...
bool isDirectoryShared(const QString &path)
Call this to know if a directory is currently shared.
bool setShared(const QString &path, bool shared)
Uses a suid perl script to share the given path with NFS and Samba.
ShareMode shareMode()
Returns the configured share mode.
bool isRestricted()
Returns whether file sharing is restricted.
QString fileShareGroup()
Returns the group that is used for file sharing.
bool nfsEnabled()
Returns whether NFS is enabled.
Authorization authorization()
Call this to know if the current user is authorized to share directories.
ShareMode
The used share mode.
void readConfig()
Reads the file share configuration file.
bool sambaEnabled()
Returns whether Samba is enabled.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.