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< FileSearchPath > | fromStringList (const QStringList &collection) |
| static FileSearchPath | fromVariant (const QVariant &var) |
| static QList< FileSearchPath > | fromVariantList (const QVariantList &collection) |
| static QVariantList | toVariantList (const QList< FileSearchPath > &collection) |
Definition at line 30 of file filesearchpath.h.
| 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.