FileSystem Class Reference
The FileSystem class describes a single mount point. More...
#include <storage.h>
Collaboration diagram for FileSystem:

Public Member Functions | |
| const QString & | disk () const |
| const QString & | path () const |
| const QString & | name () const |
| const QString & | options () const |
| long | blockSize () const |
| long | totalBlocks () const |
| long | availBlocks () const |
| bool | isRemovable () const |
| bool | isWritable () const |
Friends | |
| class | StorageInfo |
Detailed Description
The FileSystem class describes a single mount point.This class simply returns information about a mount point, including file system name, mount point, human readable name, size information and mount options information.
- See also:
- StorageInfo
Definition at line 53 of file storage.h.
Member Function Documentation
|
|
Returns the file system name, such as /dev/hda3 Definition at line 56 of file storage.h. Referenced by AppLnk::linkFile(). |
|
|
Returns the mount path, such as /home Definition at line 57 of file storage.h. Referenced by AppLnk::linkFile(). |
|
|
Returns the translated, human readable name for the mount directory. |
|
|
Returns the mount options |
|
|
Returns the size of each block on the file system. |
|
|
Returns the total number of blocks on the file system |
|
|
Returns the number of available blocks on the file system |
|
|
Returns flag whether the file system can be removed, such as a CF card would be removable, but the internal memory wouldn't Definition at line 63 of file storage.h. Referenced by AppLnk::linkFile(). |
|
|
Returns flag whether the file system is mounted as writable or read-only. Returns FALSE if read-only, TRUE if read and write. Definition at line 64 of file storage.h. References QString::contains(). |
The documentation for this class was generated from the following files:
