NAME
Qt::Core::QDir
PUBLIC METHODS
- QDir(const QDir & arg0)
- QDir(const QString & path)
- QDir(const QString & path = QString())
- QDir(const QString & path, const QString & nameFilter, QFlags<QDir::SortFlag> sort, QFlags<QDir::Filter> filter)
- QDir(const QString & path, const QString & nameFilter, QFlags<QDir::SortFlag> sort, QFlags<QDir::Filter> filter = QDir::AllEntries)
- QDir(const QString & path, const QString & nameFilter, QFlags<QDir::SortFlag> sort = QDir::SortFlags(QDir::Name | QDir::IgnoreCase), QFlags<QDir::Filter> filter = QDir::AllEntries)
- ~QDir()
- QString absoluteFilePath(const QString & fileName)
- QString absolutePath()
- static void addResourceSearchPath(const QString & path)
- static void addSearchPath(const QString & prefix, const QString & path)
- QString canonicalPath()
- bool cd(const QString & dirName)
- bool cdUp()
- static QString cleanPath(const QString & path)
- static QString convertSeparators(const QString & pathName)
- uint count()
- static QDir current()
- static QString currentPath()
- QString dirName()
- QStringList entryList(QFlags<QDir::Filter> filters, QFlags<QDir::SortFlag> sort)
- QStringList entryList(QFlags<QDir::Filter> filters, QFlags<QDir::SortFlag> sort = QDir::NoSort)
- QStringList entryList(QFlags<QDir::Filter> filters = QDir::NoFilter, QFlags<QDir::SortFlag> sort = QDir::NoSort)
- QStringList entryList(const QStringList & nameFilters, QFlags<QDir::Filter> filters, QFlags<QDir::SortFlag> sort)
- QStringList entryList(const QStringList & nameFilters, QFlags<QDir::Filter> filters, QFlags<QDir::SortFlag> sort = QDir::NoSort)
- QStringList entryList(const QStringList & nameFilters, QFlags<QDir::Filter> filters = QDir::NoFilter, QFlags<QDir::SortFlag> sort = QDir::NoSort)
- bool exists()
- bool exists(const QString & name)
- QString filePath(const QString & fileName)
- QFlags<QDir::Filter> filter()
- static QString fromNativeSeparators(const QString & pathName)
- static QDir home()
- static QString homePath()
- bool isAbsolute()
- static bool isAbsolutePath(const QString & path)
- bool isReadable()
- bool isRelative()
- static bool isRelativePath(const QString & path)
- bool isRoot()
- bool makeAbsolute()
- static bool match(const QStringList & filters, const QString & fileName)
- static bool match(const QString & filter, const QString & fileName)
- bool mkdir(const QString & dirName)
- bool mkpath(const QString & dirPath)
- QStringList nameFilters()
- static QStringList nameFiltersFromString(const QString & nameFilter)
- bool operator!=(const QDir & dir)
- QDir & operator=(const QDir & arg0)
- QDir & operator=(const QString & path)
- bool operator==(const QDir & dir)
- QString operator[](int arg0)
- QString path()
- void refresh()
- QString relativeFilePath(const QString & fileName)
- bool remove(const QString & fileName)
- bool rename(const QString & oldName, const QString & newName)
- bool rmdir(const QString & dirName)
- bool rmpath(const QString & dirPath)
- static QDir root()
- static QString rootPath()
- static QStringList searchPaths(const QString & prefix)
- static QChar separator()
- static bool setCurrent(const QString & path)
- void setFilter(QFlags<QDir::Filter> filter)
- void setNameFilters(const QStringList & nameFilters)
- void setPath(const QString & path)
- static void setSearchPaths(const QString & prefix, const QStringList & searchPaths)
- void setSorting(QFlags<QDir::SortFlag> sort)
- QFlags<QDir::SortFlag> sorting()
- static QDir temp()
- static QString tempPath()
- static QString toNativeSeparators(const QString & pathName)
ENUM VALUES
- Dirs
- Files
- Drives
- NoSymLinks
- AllEntries
- TypeMask
- Readable
- Writable
- Executable
- PermissionMask
- Modified
- Hidden
- System
- AccessMask
- AllDirs
- CaseSensitive
- NoDotAndDotDot
- NoDot
- NoDotDot
- NoFilter
- Name
- Time
- Size
- Unsorted
- SortByMask
- DirsFirst
- Reversed
- IgnoreCase
- DirsLast
- LocaleAware
- Type
- NoSort
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2011 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.