Home · All Classes · Annotated · Functions

QFileSystem Class Reference

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

#include <QFileSystem>

Public Functions


Detailed Description

The QFileSystem class describes a single mount point.

This class returns mount point information including:

See also QStorageMetaInfo.


Member Function Documentation

bool QFileSystem::applications () const

Returns flag indicating if the file system can contain applications.

long QFileSystem::availBlocks () const

Returns the number of available blocks on the file system

long QFileSystem::blockSize () const

Returns the size of each block on the file system.

const QString & QFileSystem::disk () const

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

bool QFileSystem::documents () const

Returns flag indicating if the file system can contain documents.

bool QFileSystem::isConnected () const

bool QFileSystem::isRemovable () const

Returns flag indicating if the file system can be removed. For example, a CF card would be removable, but the internal memory would not.

bool QFileSystem::isWritable () const

Returns flag indicating if the file system is mounted as writable or read-only. Returns false if read-only, true if read and write.

const QString & QFileSystem::name () const

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

const QString & QFileSystem::options () const

Returns the mount options

const QString & QFileSystem::path () const

Returns the mount path, such as /home

long QFileSystem::totalBlocks () const

Returns the total number of blocks on the file system


Copyright © 2006 Trolltech Trademarks
Qtopia 4.1.7