QFastDir Class Reference
A fast replacement for QFile/QDir More...
#include <QFastDir>
Public Functions
- QFastDir ( const QString & dir )
- QStringList dirs () const
- QStringList files () const
Static Public Members
- QString dir ( const QString & name )
- bool exists ( const QString & path )
- QString fileName ( const QString & name )
- bool isDir ( const QString & path )
- bool isFile ( const QString & path )
- bool isRelativePath ( const QString & path )
- time_t lastModified ( const QString & path )
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 |