Home · Overviews · Reference · Classes codeless banner

QFastDir Class Reference

A fast replacement for QFile/QDir More...

    #include <QFastDir>

Public Functions

Static Public Members


Detailed Description

A fast replacement for QFile/QDir


Member Function Documentation

QFastDir::QFastDir ( const QString & dir )

Construct a QFastDir for dir.

QString QFastDir::dir ( const QString & name )   [static]

Returns the directory component of name. This is equivalent to the dirname utility.

QStringList QFastDir::dirs () const

Returns the directories in the selected directory.

bool QFastDir::exists ( const QString & path )   [static]

Returns true if path exists.

QString QFastDir::fileName ( const QString & name )   [static]

Returns the file component of name. This is equivalent to the basename utility (but it does not do anything with file extensions).

QStringList QFastDir::files () const

Returns the files in the selected directory.

bool QFastDir::isDir ( const QString & path )   [static]

Returns true if path is a directory.

bool QFastDir::isFile ( const QString & path )   [static]

Returns true if path is a file.

bool QFastDir::isRelativePath ( const QString & path )   [static]

Returns true if path is relative.

time_t QFastDir::lastModified ( const QString & path )   [static]

Returns the last modified time of path.


Copyright © 2009 Trolltech
Qt Extended - QBuild Maintainer Guide