#### PyKDE - Python Bindings for KDE

# class KFileShare

Table of contents
Modules
kio Classes
All Classes

Module | kio
Class | KFileShare
Inherits |

### enums

- Authorization = {NotInitialized, ErrorNotFound, Authorized, UserNotAllowed }
- ShareMode = {Simple, Advanced }

### methods

- authorization ()

  returns (KFileShare.Authorization)
  In versions KDE 3.1.0 and above only
  static

- fileShareGroup ()

  returns (QString)
  In versions KDE 3.3.0 and above only
  static

- findExe (exeName)

  returns (QString)
  In versions KDE 3.1.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  exeName | char |

- isDirectoryShared (path)

  returns (bool)
  In versions KDE 3.1.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  path | QString |

- isRestricted ()

  returns (bool)
  In versions KDE 3.3.0 and above only
  static

- nfsEnabled ()

  returns (bool)
  In versions KDE 3.3.0 and above only
  static

- readConfig ()

  returns nothing
  In versions KDE 3.1.0 and above only
  static

- readShareList ()

  returns nothing
  In versions KDE 3.3.0 and above only
  static

- sambaEnabled ()

  returns (bool)
  In versions KDE 3.3.0 and above only
  static

- setShared (path, shared)

  returns (bool)
  In versions KDE 3.1.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  path | QString |
  shared | bool |

- setShared (a0, a1, a2)

  Not Implemented

- shareMode ()

  returns (KFileShare.ShareMode)
  In versions KDE 3.3.0 and above only
  static

- sharingEnabled ()

  returns (bool)
  In versions KDE 3.3.0 and above only
  static