• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdecore
 

tdecore

Public Types | Public Member Functions | Static Public Member Functions | List of all members
KMountPoint Class Reference

#include <kmountpoint.h>

Inheritance diagram for KMountPoint:
TDEShared

Public Types

enum  { NeedMountOptions = 1 , NeedRealDeviceName = 2 }
 
typedef TDESharedPtr< KMountPoint > Ptr
 
typedef TQValueList< Ptr > List
 

Public Member Functions

TQString mountedFrom () const
 
TQString realDeviceName () const
 
TQString mountPoint () const
 
TQString mountType () const
 
TQStringList mountOptions () const
 
 ~KMountPoint ()
 
- Public Member Functions inherited from TDEShared
 TDEShared ()
 
 TDEShared (const TDEShared &)
 
TDEShared & operator= (const TDEShared &)
 
void _TDEShared_ref () const
 
void _TDEShared_unref () const
 
int _TDEShared_count () const
 

Static Public Member Functions

static KMountPoint::List possibleMountPoints (int infoNeeded=0)
 
static KMountPoint::List currentMountPoints (int infoNeeded=0)
 
static TQString devNameFromOptions (const TQStringList &options)
 

Detailed Description

The KMountPoint class provides information about mounted and unmounted disks.

It provides a system independent interface to fstab.

Author
Waldo Bastian basti.nosp@m.an@k.nosp@m.de.or.nosp@m.g
Since
3.2

Definition at line 35 of file kmountpoint.h.

Member Typedef Documentation

◆ List

typedef TQValueList<Ptr> KMountPoint::List

Definition at line 40 of file kmountpoint.h.

◆ Ptr

typedef TDESharedPtr<KMountPoint> KMountPoint::Ptr

Definition at line 39 of file kmountpoint.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Definition at line 42 of file kmountpoint.h.

Constructor & Destructor Documentation

◆ ~KMountPoint()

KMountPoint::~KMountPoint ( )

Destructor.

Definition at line 104 of file kmountpoint.cpp.

Member Function Documentation

◆ currentMountPoints()

KMountPoint::List KMountPoint::currentMountPoints ( int  infoNeeded = 0)
static

This function gives a list of all currently used mountpoints.

(mtab)

Parameters
infoNeededFlags that specify which additional information should be fetched.

Definition at line 224 of file kmountpoint.cpp.

◆ devNameFromOptions()

TQString KMountPoint::devNameFromOptions ( const TQStringList &  options)
static

When using supermount, the device name is in the options field as dev=/my/device.

Since
3.4

Definition at line 372 of file kmountpoint.cpp.

◆ mountedFrom()

TQString KMountPoint::mountedFrom ( ) const
inline

Where this filesystem gets mounted from.

This can refer to a device, a remote server or something else.

Definition at line 62 of file kmountpoint.h.

◆ mountOptions()

TQStringList KMountPoint::mountOptions ( ) const
inline

Options used to mount the filesystem.

Only available when the NeedMountOptions flag was set.

Definition at line 85 of file kmountpoint.h.

◆ mountPoint()

TQString KMountPoint::mountPoint ( ) const
inline

Path where the filesystem is mounted or can be mounted.

Definition at line 74 of file kmountpoint.h.

◆ mountType()

TQString KMountPoint::mountType ( ) const
inline

Type of filesystem.

Definition at line 79 of file kmountpoint.h.

◆ possibleMountPoints()

KMountPoint::List KMountPoint::possibleMountPoints ( int  infoNeeded = 0)
static

This function gives a list of all possible mountpoints.

(fstab)

Parameters
infoNeededFlags that specify which additional information should be fetched.

Definition at line 130 of file kmountpoint.cpp.

◆ realDeviceName()

TQString KMountPoint::realDeviceName ( ) const
inline

Canonical name of the device where the filesystem got mounted from.

(Or empty, if not a device) Only available when the NeedRealDeviceName flag was set.

Definition at line 69 of file kmountpoint.h.


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

tdecore

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

tdecore

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