# class KNFSShare

###

Module | kio
Namespace |
Class | KNFSShare
Inherits | QObject

Similar functionality like KFileShare, but works only for NFS and do not need any suid script. It parses the /etc/exports file to get its information. Singleton class, call instance() to get an instance.

### methods

- KNFSShare ( )

  returns ctor
  Not implemented

- changed ( )

  returns Nothing
  SIGNAL ("changed ()")

  Emitted when the /etc/exports file has changed

- exportsPath ( )

  returns QString

  Returns the path to the used exports file, or null if no exports file was found

- instance ( )

  returns KNFSShare
  static

  Returns the one and only instance of KNFSShare

- isDirectoryShared (path)

  returns bool

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

  Whether or not the given path is shared by NFS.

  path - the path to check if it is shared by NFS. Returns whether the given path is shared by NFS.

- sharedDirectories ( )

  returns QStringList

  Returns a list of all directories shared by NFS. The resulting list is not sorted. Returns a list of all directories shared by NFS.