.TH "KMountPoint" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdecore Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KMountPoint \- The KMountPoint class provides information about mounted and unmounted disks.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kmountpoint.h>\fP
.PP
Inherits \fBKShared\fP.
.PP
.SS "Public Types"

.in +1c
.ti -1c
.RI "typedef \fBKSharedPtr\fP< \fBKMountPoint\fP > \fBPtr\fP"
.br
.ti -1c
.RI "typedef \fBQValueList\fP< \fBPtr\fP > \fBList\fP"
.br
.ti -1c
.RI "enum { \fBNeedMountOptions\fP =  1, \fBNeedRealDeviceName\fP =  2 }"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBQString\fP \fBmountedFrom\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBrealDeviceName\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBmountPoint\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBmountType\fP () const "
.br
.ti -1c
.RI "\fBQStringList\fP \fBmountOptions\fP () const "
.br
.ti -1c
.RI "\fB~KMountPoint\fP ()"
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static \fBKMountPoint::List\fP \fBpossibleMountPoints\fP (int infoNeeded=0)"
.br
.ti -1c
.RI "static \fBKMountPoint::List\fP \fBcurrentMountPoints\fP (int infoNeeded=0)"
.br
.ti -1c
.RI "static \fBQString\fP \fBdevNameFromOptions\fP (const \fBQStringList\fP &options)"
.br
.in -1c
.SH "Detailed Description"
.PP 
The KMountPoint class provides information about mounted and unmounted disks. 

It provides a system independent interface to fstab.
.PP
\fBAuthor:\fP
.RS 4
Waldo Bastian <bastian@kde.org> 
.RE
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 35 of file kmountpoint.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KMountPoint::~\fBKMountPoint\fP ()"
.PP
Destructor. 
.PP
Definition at line 103 of file kmountpoint.cpp.
.SH "Member Function Documentation"
.PP 
.SS "\fBKMountPoint::List\fP KMountPoint::possibleMountPoints (int infoNeeded = \fC0\fP)\fC [static]\fP"
.PP
This function gives a list of all possible mountpoints. 
.PP
(fstab) 
.PP
\fBParameters:\fP
.RS 4
\fIinfoNeeded\fP Flags that specify which additional information should be fetched. 
.RE
.PP

.PP
Definition at line 129 of file kmountpoint.cpp.
.PP
References QValueList::append(), QFile::close(), QFile::decodeName(), devNameFromOptions(), QString::isEmpty(), m_device, m_mountedFrom, m_mountOptions, m_mountPoint, m_mountType, QFile::open(), QTextStream::readLine(), KStandardDirs::realPath(), QStringList::split(), and QString::startsWith().
.PP
Referenced by KDesktopFile::readURL().
.SS "\fBKMountPoint::List\fP KMountPoint::currentMountPoints (int infoNeeded = \fC0\fP)\fC [static]\fP"
.PP
This function gives a list of all currently used mountpoints. 
.PP
(mtab) 
.PP
\fBParameters:\fP
.RS 4
\fIinfoNeeded\fP Flags that specify which additional information should be fetched. 
.RE
.PP

.PP
Definition at line 223 of file kmountpoint.cpp.
.PP
References QValueList::append(), QFile::decodeName(), devNameFromOptions(), m_device, m_mountedFrom, m_mountOptions, m_mountPoint, m_mountType, KStandardDirs::realPath(), QStringList::split(), and QString::startsWith().
.SS "\fBQString\fP KMountPoint::mountedFrom () const\fC [inline]\fP"
.PP
Where this filesystem gets mounted from. 
.PP
This can refer to a device, a remote server or something else. 
.PP
Definition at line 62 of file kmountpoint.h.
.PP
Referenced by KDesktopFile::readURL().
.SS "\fBQString\fP KMountPoint::realDeviceName () const\fC [inline]\fP"
.PP
Canonical name of the device where the filesystem got mounted from. 
.PP
(Or empty, if not a device) Only available when the NeedRealDeviceName flag was set. 
.PP
Definition at line 69 of file kmountpoint.h.
.SS "\fBQString\fP KMountPoint::mountPoint () const\fC [inline]\fP"
.PP
Path where the filesystem is mounted or can be mounted. 
.PP
Definition at line 74 of file kmountpoint.h.
.PP
Referenced by KDesktopFile::readURL().
.SS "\fBQString\fP KMountPoint::mountType () const\fC [inline]\fP"
.PP
Type of filesystem. 
.PP
Definition at line 79 of file kmountpoint.h.
.SS "\fBQStringList\fP KMountPoint::mountOptions () const\fC [inline]\fP"
.PP
Options used to mount the filesystem. 
.PP
Only available when the NeedMountOptions flag was set. 
.PP
Definition at line 85 of file kmountpoint.h.
.SS "\fBQString\fP KMountPoint::devNameFromOptions (const \fBQStringList\fP & options)\fC [static]\fP"
.PP
When using supermount, the device name is in the options field as dev=/my/device 
.PP
\fBSince:\fP
.RS 4
3.4. 
.RE
.PP

.PP
Definition at line 372 of file kmountpoint.cpp.
.PP
References QString::remove().
.PP
Referenced by currentMountPoints(), and possibleMountPoints().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdecore Library from the source code.
