• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kio/kio
 

kio/kio

Signals | Public Member Functions | Static Public Member Functions
KNFSShare Class Reference

#include <knfsshare.h>

Inherits TQObject.

List of all members.

Signals

void changed ()

Public Member Functions

bool isDirectoryShared (const TQString &path) const
TQStringList sharedDirectories () const
virtual ~KNFSShare ()
TQString exportsPath () const

Static Public Member Functions

static KNFSShare * instance ()

Detailed Description

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.

Definition at line 35 of file knfsshare.h.


Constructor & Destructor Documentation

KNFSShare::~KNFSShare ( ) [virtual]

KNFSShare destructor.

Do not call! The instance is destroyed automatically!

Definition at line 170 of file knfsshare.cpp.


Member Function Documentation

void KNFSShare::changed ( ) [signal]

Emitted when the /etc/exports file has changed.

TQString KNFSShare::exportsPath ( ) const

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

Definition at line 195 of file knfsshare.cpp.

KNFSShare * KNFSShare::instance ( ) [static]

Returns the one and only instance of KNFSShare.

Definition at line 211 of file knfsshare.cpp.

bool KNFSShare::isDirectoryShared ( const TQString &  path) const

Wether or not the given path is shared by NFS.

Parameters:
paththe path to check if it is shared by NFS.
Returns:
wether the given path is shared by NFS.

Definition at line 178 of file knfsshare.cpp.

TQStringList KNFSShare::sharedDirectories ( ) const

Returns a list of all directories shared by NFS.

The resulting list is not sorted.

Returns:
a list of all directories shared by NFS.

Definition at line 186 of file knfsshare.cpp.


The documentation for this class was generated from the following files:
  • knfsshare.h
  • knfsshare.cpp

kio/kio

Skip menu "kio/kio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kio/kio

Skip menu "kio/kio"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kio/kio by doxygen 1.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |