20 #ifndef _KMOUNTPOINT_H_
21 #define _KMOUNTPOINT_H_
23 #include <tqptrlist.h>
24 #include <tqstringlist.h>
26 #include <ksharedptr.h>
37 typedef signed long long int filesize_t;
40 typedef TQValueList<Ptr> List;
42 enum { NeedMountOptions = 1, NeedRealDeviceName = 2 };
49 static KMountPoint::List possibleMountPoints(
int infoNeeded=0);
56 static KMountPoint::List currentMountPoints(
int infoNeeded=0);
92 static TQString devNameFromOptions(
const TQStringList &options);
105 TQString m_mountedFrom;
107 TQString m_mountPoint;
108 TQString m_mountType;
109 TQStringList m_mountOptions;
111 class KMountPointPrivate;
112 KMountPointPrivate *d;
The KMountPoint class provides information about mounted and unmounted disks.
TQString mountPoint() const
Path where the filesystem is mounted or can be mounted.
TQString realDeviceName() const
Canonical name of the device where the filesystem got mounted from.
TQString mountType() const
Type of filesystem.
TQStringList mountOptions() const
Options used to mount the filesystem.
TQString mountedFrom() const
Where this filesystem gets mounted from.
Can be used to control the lifetime of an object that has derived TDEShared.
Reference counting for shared objects.