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