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

tdeio/tdeio

Signals | Public Member Functions | Static Public Member Functions | List of all members
KSambaShare Class Reference

#include <ksambashare.h>

Inherits TQObject.

Signals

void changed ()
 

Public Member Functions

bool isDirectoryShared (const TQString &path) const
 
TQStringList sharedDirectories () const
 
virtual ~KSambaShare ()
 
TQString smbConfPath () const
 

Static Public Member Functions

static KSambaShare * instance ()
 

Detailed Description

Similar functionality like KFileShare, but works only for Samba and do not need any suid script.

Singleton class, call instance() to get an instance.

Definition at line 34 of file ksambashare.h.

Constructor & Destructor Documentation

KSambaShare::~KSambaShare ( )
virtual

KSambaShare destructor.

Do not call! The instance is destroyed automatically!

Definition at line 189 of file ksambashare.cpp.

Member Function Documentation

void KSambaShare::changed ( )
signal

Emitted when the smb.conf file has changed.

KSambaShare * KSambaShare::instance ( )
static

Returns the one and only instance of KSambaShare.

Definition at line 231 of file ksambashare.cpp.

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

Whether or not the given path is shared by Samba.

Parameters
paththe path to check if it is shared by Samba.
Returns
whether the given path is shared by Samba.

Definition at line 201 of file ksambashare.cpp.

TQStringList KSambaShare::sharedDirectories ( ) const

Returns a list of all directories shared by Samba.

The resulting list is not sorted.

Returns
a list of all directories shared by Samba.

Definition at line 209 of file ksambashare.cpp.

TQString KSambaShare::smbConfPath ( ) const

Returns the path to the used smb.conf file or null if no file was found.

Definition at line 197 of file ksambashare.cpp.


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

tdeio/tdeio

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

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdeio by doxygen 1.8.8
This website is maintained by Timothy Pearson.