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