Dir#
Singleton with methods to handle directories. More...
import Script
Properties#
Name | |
---|---|
string | currentPath |
string | currentScriptPath |
string | homePath |
string | rootPath |
char | separator |
string | tempPath |
Methods#
Name | |
---|---|
string | cleanPath(string path) |
QDirValueType | create(string path) |
QDirValueType | current() |
QDirValueType | currentScript() |
string | fromNativeSeparators(string pathName) |
QDirValueType | home() |
bool | isAbsolutePath(string path) |
bool | isRelativePath(string path) |
bool | match(array<string> filters, string fileName) |
bool | match(string filter, string fileName) |
QDirValueType | root() |
QDirValueType | temp() |
string | toNativeSeparators(string pathName) |
Detailed Description#
The Dir
singleton implements most of the static methods from QDir
, check QDir
documentation.