FileSearchPath Class Reference

Public Member Functions

 FileSearchPath (const QString &path)
 
const QMap< QString, QString > & getCache ()
 
bool hasCache ()
 
bool isRecursive () const
 
bool isValid () const
 
const QString & path () const
 
void setCache (const QMap< QString, QString > &files)
 Set the list of the names files located in the directory.
 
void setPath (const QString &path)
 
void setRecursive (bool b)
 
QVariant toVariant () const
 

Static Public Member Functions

static QList< FileSearchPathfromStringList (const QStringList &collection)
 
static FileSearchPath fromVariant (const QVariant &var)
 
static QList< FileSearchPathfromVariantList (const QVariantList &collection)
 
static QVariantList toVariantList (const QList< FileSearchPath > &collection)
 

Detailed Description

Definition at line 30 of file filesearchpath.h.

Member Function Documentation

void FileSearchPath::setCache ( const QMap< QString, QString > &  files)

Set the list of the names files located in the directory.

The cache is a map where the key is the name in lowercase and the entry will be case sensitive or not depending on the implementation.

Definition at line 96 of file filesearchpath.cpp.


The documentation for this class was generated from the following files: