QDir

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++) extern (C++)
@Q_MOVABLE_TYPE
struct QDir {}

Constructors

this
this(const(QDir) )
Undocumented in source.
this
this()
Undocumented in source.
this
this(const(QString) path)
Undocumented in source.
this
this(const(QString) path, const(QString) nameFilter, SortFlags sort, Filters filter)
Undocumented in source.
this
this(QDirPrivate d)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

Filters
alias Filters = QFlags!(Filter)
Undocumented in source.
SortFlags
alias SortFlags = QFlags!(SortFlag)
Undocumented in source.

Enums

Filter
enum Filter
Undocumented in source.
SortFlag
enum SortFlag
Undocumented in source.

Functions

absoluteFilePath
QString absoluteFilePath(const(QString) fileName)
Undocumented in source.
absolutePath
QString absolutePath()
Undocumented in source.
canonicalPath
QString canonicalPath()
Undocumented in source.
cd
bool cd(const(QString) dirName)
Undocumented in source.
cdUp
bool cdUp()
Undocumented in source.
count
uint count()
Undocumented in source.
dirName
QString dirName()
Undocumented in source.
entryInfoList
QFileInfoList entryInfoList(Filters filters, SortFlags sort)
Undocumented in source.
entryInfoList
QFileInfoList entryInfoList(const(QStringList) nameFilters, Filters filters, SortFlags sort)
Undocumented in source.
entryList
QStringList entryList(Filters filters, SortFlags sort)
Undocumented in source.
entryList
QStringList entryList(const(QStringList) nameFilters, Filters filters, SortFlags sort)
Undocumented in source.
exists
bool exists()
Undocumented in source.
exists
bool exists(const(QString) name)
Undocumented in source.
filePath
QString filePath(const(QString) fileName)
Undocumented in source.
filter
Filters filter()
Undocumented in source.
isAbsolute
bool isAbsolute()
Undocumented in source. Be warned that the author may not have intended to support it.
isEmpty
bool isEmpty(Filters filters)
Undocumented in source.
isReadable
bool isReadable()
Undocumented in source.
isRelative
bool isRelative()
Undocumented in source.
isRoot
bool isRoot()
Undocumented in source.
makeAbsolute
bool makeAbsolute()
Undocumented in source.
mkdir
bool mkdir(const(QString) dirName)
Undocumented in source.
mkpath
bool mkpath(const(QString) dirPath)
Undocumented in source.
nameFilters
QStringList nameFilters()
Undocumented in source.
opIndex
QString opIndex(int )
Undocumented in source.
path
QString path()
Undocumented in source.
refresh
void refresh()
Undocumented in source.
relativeFilePath
QString relativeFilePath(const(QString) fileName)
Undocumented in source.
remove
bool remove(const(QString) fileName)
Undocumented in source.
removeRecursively
bool removeRecursively()
Undocumented in source.
rename
bool rename(const(QString) oldName, const(QString) newName)
Undocumented in source.
rmdir
bool rmdir(const(QString) dirName)
Undocumented in source.
rmpath
bool rmpath(const(QString) dirPath)
Undocumented in source.
setFilter
void setFilter(Filters filter)
Undocumented in source.
setNameFilters
void setNameFilters(const(QStringList) nameFilters)
Undocumented in source.
setPath
void setPath(const(QString) path)
Undocumented in source.
setSorting
void setSorting(SortFlags sort)
Undocumented in source.
sorting
SortFlags sorting()
Undocumented in source.

Static functions

addResourceSearchPath
void addResourceSearchPath(const(QString) path)
Undocumented in source.
addSearchPath
void addSearchPath(const(QString) prefix, const(QString) path)
Undocumented in source.
cleanPath
QString cleanPath(const(QString) path)
Undocumented in source.
current
QDir current()
Undocumented in source. Be warned that the author may not have intended to support it.
currentPath
QString currentPath()
Undocumented in source.
drives
QFileInfoList drives()
Undocumented in source.
fromNativeSeparators
QString fromNativeSeparators(const(QString) pathName)
Undocumented in source.
home
QDir home()
Undocumented in source. Be warned that the author may not have intended to support it.
homePath
QString homePath()
Undocumented in source.
isAbsolutePath
bool isAbsolutePath(const(QString) path)
Undocumented in source. Be warned that the author may not have intended to support it.
isRelativePath
bool isRelativePath(const(QString) path)
Undocumented in source.
listSeparator
QChar listSeparator()
Undocumented in source. Be warned that the author may not have intended to support it.
match
bool match(const(QStringList) filters, const(QString) fileName)
Undocumented in source.
match
bool match(const(QString) filter, const(QString) fileName)
Undocumented in source.
nameFiltersFromString
QStringList nameFiltersFromString(const(QString) nameFilter)
Undocumented in source.
root
QDir root()
Undocumented in source. Be warned that the author may not have intended to support it.
rootPath
QString rootPath()
Undocumented in source.
searchPaths
QStringList searchPaths(const(QString) prefix)
Undocumented in source.
separator
QChar separator()
Undocumented in source.
setCurrent
bool setCurrent(const(QString) path)
Undocumented in source.
setSearchPaths
void setSearchPaths(const(QString) prefix, const(QStringList) searchPaths)
Undocumented in source.
temp
QDir temp()
Undocumented in source. Be warned that the author may not have intended to support it.
tempPath
QString tempPath()
Undocumented in source.
toNativeSeparators
QString toNativeSeparators(const(QString) pathName)
Undocumented in source.

Variables

d_ptr
QSharedDataPointer!(QDirPrivate) d_ptr;
Undocumented in source.

Meta