KIO
Go to the documentation of this file.
21 #include <QtCore/QRegExp>
22 #include <QtCore/QFileInfo>
23 #include <QtCore/QStringList>
89 if (!dd->name.isEmpty()) {
137 if (dd->name.isEmpty()) {
139 }
else if (dd->path.isEmpty()) {
148 if (dd->name.isEmpty()) {
157 if (&other !=
this) {
166 return other.dd == dd;
171 return !(&other ==
this);
KSambaShareData::UserShareError setGuestPermission(const GuestPermission &permission=KSambaShareData::GuestsNotAllowed)
Flags if guest is allowed or not to access the share.
KSambaShareData::UserShareError remove()
Unshare the folder held by the object.
bool operator!=(const KSambaShareData &other) const
KSambaShareData::UserShareError save()
Share the folder with the information that has been set.
KSambaShareData::GuestPermission guestPermission() const
KSambaShareData::UserShareError setComment(const QString &comment)
Sets the comment for the share.
static KSambaShare * instance()
KSambaShareData::UserShareError setPath(const QString &path)
Set the path for the share.
bool operator==(const KSambaShareData &other) const
QString acl() const
Returns a containing a string describing the permission added to the users, such as "[DOMAIN\]usernam...
KSambaShareData::UserShareError setAcl(const QString &acl)
Sets the acl to the share.
KSambaShareData & operator=(const KSambaShareData &other)
KSambaShareData::UserShareError setName(const QString &name)
Sets the share name.
This class represents a Samba user share.
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.