Qtopia library API Documentation

FileSystem Class Reference

The FileSystem class describes a single mount point. More...

#include <storage.h>

Collaboration diagram for FileSystem:

Collaboration graph
[legend]
List of all members.

Public Member Functions

const QStringdisk () const
const QStringpath () const
const QStringname () const
const QStringoptions () 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

const QString & FileSystem::disk  )  const [inline]
 

Returns the file system name, such as /dev/hda3

Definition at line 56 of file storage.h.

Referenced by AppLnk::linkFile().

const QString & FileSystem::path  )  const [inline]
 

Returns the mount path, such as /home

Definition at line 57 of file storage.h.

Referenced by AppLnk::linkFile().

const QString & FileSystem::name  )  const [inline]
 

Returns the translated, human readable name for the mount directory.

Definition at line 58 of file storage.h.

const QString & FileSystem::options  )  const [inline]
 

Returns the mount options

Definition at line 59 of file storage.h.

long FileSystem::blockSize  )  const [inline]
 

Returns the size of each block on the file system.

Definition at line 60 of file storage.h.

long FileSystem::totalBlocks  )  const [inline]
 

Returns the total number of blocks on the file system

Definition at line 61 of file storage.h.

long FileSystem::availBlocks  )  const [inline]
 

Returns the number of available blocks on the file system

Definition at line 62 of file storage.h.

bool FileSystem::isRemovable  )  const [inline]
 

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().

bool FileSystem::isWritable  )  const [inline]
 

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:
KDE Logo
This file is part of the documentation for OPIE Version 1.5.5.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:24:20 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001