Notation used in Ruby API documentation
Module: QtCore
Description: Binding of QDir
Sub-classes: Filter, QFlags_Filter, SortFlag, QFlags_SortFlag
new QDir | new | (const QDir arg1) | Constructor QDir::QDir(const QDir &) |
new QDir | new | (string path = QString()) | Constructor QDir::QDir(const QString &path) |
new QDir | new | (string path, string nameFilter, QDir_QFlags_SortFlag sort = QDir::SortFlags(QDir::Name | QDir::IgnoreCase), QDir_QFlags_Filter filter = QDir::AllEntries) | Constructor QDir::QDir(const QString &path, const QString &nameFilter, QFlags<QDir::SortFlag> sort, QFlags<QDir::Filter> filter) |
[const] | bool | != | (const QDir dir) | Method bool QDir::operator!=(const QDir &dir) |
[const] | bool | == | (const QDir dir) | Method bool QDir::operator==(const QDir &dir) |
[const] | string | [] | (int arg1) | Method QString QDir::operator[](int) |
void | _assign | (const QDir other) | Assigns another object to self | |
[const] | QDir ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
[const] | string | absoluteFilePath | (string fileName) | Method QString QDir::absoluteFilePath(const QString &fileName) |
[const] | string | absolutePath | Method QString QDir::absolutePath() | |
QDir | assign | (const QDir arg1) | Method QDir &QDir::operator=(const QDir &) | |
QDir | assign | (string path) | Method QDir &QDir::operator=(const QString &path) | |
[const] | string | canonicalPath | Method QString QDir::canonicalPath() | |
bool | cd | (string dirName) | Method bool QDir::cd(const QString &dirName) | |
bool | cdUp | Method bool QDir::cdUp() | ||
[const] | unsigned int | count | Method unsigned int QDir::count() | |
[const] | string | dirName | Method QString QDir::dirName() | |
[const] | new QDir ptr | dup | Creates a copy of self | |
[const] | QFileInfo[] | entryInfoList | (QDir_QFlags_Filter filters = QDir::NoFilter, QDir_QFlags_SortFlag sort = QDir::NoSort) | Method QList<QFileInfo> QDir::entryInfoList(QFlags<QDir::Filter> filters, QFlags<QDir::SortFlag> sort) |
[const] | QFileInfo[] | entryInfoList | (string[] nameFilters, QDir_QFlags_Filter filters = QDir::NoFilter, QDir_QFlags_SortFlag sort = QDir::NoSort) | Method QList<QFileInfo> QDir::entryInfoList(const QStringList &nameFilters, QFlags<QDir::Filter> filters, QFlags<QDir::SortFlag> sort) |
[const] | string[] | entryList | (QDir_QFlags_Filter filters = QDir::NoFilter, QDir_QFlags_SortFlag sort = QDir::NoSort) | Method QStringList QDir::entryList(QFlags<QDir::Filter> filters, QFlags<QDir::SortFlag> sort) |
[const] | string[] | entryList | (string[] nameFilters, QDir_QFlags_Filter filters = QDir::NoFilter, QDir_QFlags_SortFlag sort = QDir::NoSort) | Method QStringList QDir::entryList(const QStringList &nameFilters, QFlags<QDir::Filter> filters, QFlags<QDir::SortFlag> sort) |
[const] | bool | exists | Method bool QDir::exists() | |
[const] | bool | exists | (string name) | Method bool QDir::exists(const QString &name) |
[const] | string | filePath | (string fileName) | Method QString QDir::filePath(const QString &fileName) |
[const] | QDir_QFlags_Filter | filter | Method QFlags<QDir::Filter> QDir::filter() | |
void | filter= | (QDir_QFlags_Filter filter) | Method void QDir::setFilter(QFlags<QDir::Filter> filter) | |
[const] | bool | isAbsolute? | Method bool QDir::isAbsolute() | |
[const] | bool | isReadable? | Method bool QDir::isReadable() | |
[const] | bool | isRelative? | Method bool QDir::isRelative() | |
[const] | bool | isRoot? | Method bool QDir::isRoot() | |
bool | makeAbsolute | Method bool QDir::makeAbsolute() | ||
[const] | bool | mkdir | (string dirName) | Method bool QDir::mkdir(const QString &dirName) |
[const] | bool | mkpath | (string dirPath) | Method bool QDir::mkpath(const QString &dirPath) |
[const] | string[] | nameFilters | Method QStringList QDir::nameFilters() | |
void | nameFilters= | (string[] nameFilters) | Method void QDir::setNameFilters(const QStringList &nameFilters) | |
[const] | string | path | Method QString QDir::path() | |
void | path= | (string path) | Method void QDir::setPath(const QString &path) | |
[const] | void | refresh | Method void QDir::refresh() | |
[const] | string | relativeFilePath | (string fileName) | Method QString QDir::relativeFilePath(const QString &fileName) |
bool | remove | (string fileName) | Method bool QDir::remove(const QString &fileName) | |
bool | rename | (string oldName, string newName) | Method bool QDir::rename(const QString &oldName, const QString &newName) | |
[const] | bool | rmdir | (string dirName) | Method bool QDir::rmdir(const QString &dirName) |
[const] | bool | rmpath | (string dirPath) | Method bool QDir::rmpath(const QString &dirPath) |
void | setFilter | (QDir_QFlags_Filter filter) | Method void QDir::setFilter(QFlags<QDir::Filter> filter) | |
void | setNameFilters | (string[] nameFilters) | Method void QDir::setNameFilters(const QStringList &nameFilters) | |
void | setPath | (string path) | Method void QDir::setPath(const QString &path) | |
void | setSorting | (QDir_QFlags_SortFlag sort) | Method void QDir::setSorting(QFlags<QDir::SortFlag> sort) | |
[const] | QDir_QFlags_SortFlag | sorting | Method QFlags<QDir::SortFlag> QDir::sorting() | |
void | sorting= | (QDir_QFlags_SortFlag sort) | Method void QDir::setSorting(QFlags<QDir::SortFlag> sort) |
[static,const] | QDir_Filter | AccessMask | Enum constant QDir::AccessMask | |
[static,const] | QDir_Filter | AllDirs | Enum constant QDir::AllDirs | |
[static,const] | QDir_Filter | AllEntries | Enum constant QDir::AllEntries | |
[static,const] | QDir_Filter | CaseSensitive | Enum constant QDir::CaseSensitive | |
[static,const] | QDir_Filter | Dirs | Enum constant QDir::Dirs | |
[static,const] | QDir_SortFlag | DirsFirst | Enum constant QDir::DirsFirst | |
[static,const] | QDir_SortFlag | DirsLast | Enum constant QDir::DirsLast | |
[static,const] | QDir_Filter | Drives | Enum constant QDir::Drives | |
[static,const] | QDir_Filter | Executable | Enum constant QDir::Executable | |
[static,const] | QDir_Filter | Files | Enum constant QDir::Files | |
[static,const] | QDir_Filter | Hidden | Enum constant QDir::Hidden | |
[static,const] | QDir_SortFlag | IgnoreCase | Enum constant QDir::IgnoreCase | |
[static,const] | QDir_SortFlag | LocaleAware | Enum constant QDir::LocaleAware | |
[static,const] | QDir_Filter | Modified | Enum constant QDir::Modified | |
[static,const] | QDir_SortFlag | Name | Enum constant QDir::Name | |
[static,const] | QDir_Filter | NoDotAndDotDot | Enum constant QDir::NoDotAndDotDot | |
[static,const] | QDir_Filter | NoFilter | Enum constant QDir::NoFilter | |
[static,const] | QDir_SortFlag | NoSort | Enum constant QDir::NoSort | |
[static,const] | QDir_Filter | NoSymLinks | Enum constant QDir::NoSymLinks | |
[static,const] | QDir_Filter | PermissionMask | Enum constant QDir::PermissionMask | |
[static,const] | QDir_Filter | Readable | Enum constant QDir::Readable | |
[static,const] | QDir_SortFlag | Reversed | Enum constant QDir::Reversed | |
[static,const] | QDir_SortFlag | Size | Enum constant QDir::Size | |
[static,const] | QDir_SortFlag | SortByMask | Enum constant QDir::SortByMask | |
[static,const] | QDir_Filter | System | Enum constant QDir::System | |
[static,const] | QDir_SortFlag | Time | Enum constant QDir::Time | |
[static,const] | QDir_SortFlag | Type | Enum constant QDir::Type | |
[static,const] | QDir_Filter | TypeMask | Enum constant QDir::TypeMask | |
[static,const] | QDir_SortFlag | Unsorted | Enum constant QDir::Unsorted | |
[static,const] | QDir_Filter | Writable | Enum constant QDir::Writable | |
void | addResourceSearchPath | (string path) | Static method void QDir::addResourceSearchPath(const QString &path) | |
void | addSearchPath | (string prefix, string path) | Static method void QDir::addSearchPath(const QString &prefix, const QString &path) | |
string | cleanPath | (string path) | Static method QString QDir::cleanPath(const QString &path) | |
string | convertSeparators | (string pathName) | Static method QString QDir::convertSeparators(const QString &pathName) | |
QDir | current | Static method QDir QDir::current() | ||
string | currentPath | Static method QString QDir::currentPath() | ||
QFileInfo[] | drives | Static method QList<QFileInfo> QDir::drives() | ||
string | fromNativeSeparators | (string pathName) | Static method QString QDir::fromNativeSeparators(const QString &pathName) | |
QDir | home | Static method QDir QDir::home() | ||
string | homePath | Static method QString QDir::homePath() | ||
bool | isAbsolutePath? | (string path) | Static method bool QDir::isAbsolutePath(const QString &path) | |
bool | isRelativePath? | (string path) | Static method bool QDir::isRelativePath(const QString &path) | |
bool | match | (string[] filters, string fileName) | Static method bool QDir::match(const QStringList &filters, const QString &fileName) | |
bool | match | (string filter, string fileName) | Static method bool QDir::match(const QString &filter, const QString &fileName) | |
string[] | nameFiltersFromString | (string nameFilter) | Static method QStringList QDir::nameFiltersFromString(const QString &nameFilter) | |
QDir | root | Static method QDir QDir::root() | ||
string | rootPath | Static method QString QDir::rootPath() | ||
string[] | searchPaths | (string prefix) | Static method QStringList QDir::searchPaths(const QString &prefix) | |
unsigned int | separator | Static method QChar QDir::separator() | ||
bool | setCurrent | (string path) | Static method bool QDir::setCurrent(const QString &path) | |
void | setSearchPaths | (string prefix, string[] searchPaths) | Static method void QDir::setSearchPaths(const QString &prefix, const QStringList &searchPaths) | |
QDir | temp | Static method QDir QDir::temp() | ||
string | tempPath | Static method QString QDir::tempPath() | ||
string | toNativeSeparators | (string pathName) | Static method QString QDir::toNativeSeparators(const QString &pathName) |
void | create | Use of this method is deprecated. Use _create instead | ||
void | destroy | Use of this method is deprecated. Use _destroy instead | ||
[const] | bool | destroyed? | Use of this method is deprecated. Use _destroyed? instead | |
[const] | bool | is_const_object? | Use of this method is deprecated. Use _is_const_object? instead |
!= | Signature: [const] bool != (const QDir dir) Description: Method bool QDir::operator!=(const QDir &dir) |
== | Signature: [const] bool == (const QDir dir) Description: Method bool QDir::operator==(const QDir &dir) |
AccessMask | Signature: [static,const] QDir_Filter AccessMask Description: Enum constant QDir::AccessMask Python specific notes: |
AllDirs | Signature: [static,const] QDir_Filter AllDirs Description: Enum constant QDir::AllDirs Python specific notes: |
AllEntries | Signature: [static,const] QDir_Filter AllEntries Description: Enum constant QDir::AllEntries Python specific notes: |
CaseSensitive | Signature: [static,const] QDir_Filter CaseSensitive Description: Enum constant QDir::CaseSensitive Python specific notes: |
Dirs | Signature: [static,const] QDir_Filter Dirs Description: Enum constant QDir::Dirs Python specific notes: |
DirsFirst | Signature: [static,const] QDir_SortFlag DirsFirst Description: Enum constant QDir::DirsFirst Python specific notes: |
DirsLast | Signature: [static,const] QDir_SortFlag DirsLast Description: Enum constant QDir::DirsLast Python specific notes: |
Drives | Signature: [static,const] QDir_Filter Drives Description: Enum constant QDir::Drives Python specific notes: |
Executable | Signature: [static,const] QDir_Filter Executable Description: Enum constant QDir::Executable Python specific notes: |
Files | Signature: [static,const] QDir_Filter Files Description: Enum constant QDir::Files Python specific notes: |
Hidden | Signature: [static,const] QDir_Filter Hidden Description: Enum constant QDir::Hidden Python specific notes: |
IgnoreCase | Signature: [static,const] QDir_SortFlag IgnoreCase Description: Enum constant QDir::IgnoreCase Python specific notes: |
LocaleAware | Signature: [static,const] QDir_SortFlag LocaleAware Description: Enum constant QDir::LocaleAware Python specific notes: |
Modified | Signature: [static,const] QDir_Filter Modified Description: Enum constant QDir::Modified Python specific notes: |
Name | Signature: [static,const] QDir_SortFlag Name Description: Enum constant QDir::Name Python specific notes: |
NoDotAndDotDot | Signature: [static,const] QDir_Filter NoDotAndDotDot Description: Enum constant QDir::NoDotAndDotDot Python specific notes: |
NoFilter | Signature: [static,const] QDir_Filter NoFilter Description: Enum constant QDir::NoFilter Python specific notes: |
NoSort | Signature: [static,const] QDir_SortFlag NoSort Description: Enum constant QDir::NoSort Python specific notes: |
NoSymLinks | Signature: [static,const] QDir_Filter NoSymLinks Description: Enum constant QDir::NoSymLinks Python specific notes: |
PermissionMask | Signature: [static,const] QDir_Filter PermissionMask Description: Enum constant QDir::PermissionMask Python specific notes: |
Readable | Signature: [static,const] QDir_Filter Readable Description: Enum constant QDir::Readable Python specific notes: |
Reversed | Signature: [static,const] QDir_SortFlag Reversed Description: Enum constant QDir::Reversed Python specific notes: |
Size | Signature: [static,const] QDir_SortFlag Size Description: Enum constant QDir::Size Python specific notes: |
SortByMask | Signature: [static,const] QDir_SortFlag SortByMask Description: Enum constant QDir::SortByMask Python specific notes: |
System | Signature: [static,const] QDir_Filter System Description: Enum constant QDir::System Python specific notes: |
Time | Signature: [static,const] QDir_SortFlag Time Description: Enum constant QDir::Time Python specific notes: |
Type | Signature: [static,const] QDir_SortFlag Type Description: Enum constant QDir::Type Python specific notes: |
TypeMask | Signature: [static,const] QDir_Filter TypeMask Description: Enum constant QDir::TypeMask Python specific notes: |
Unsorted | Signature: [static,const] QDir_SortFlag Unsorted Description: Enum constant QDir::Unsorted Python specific notes: |
Writable | Signature: [static,const] QDir_Filter Writable Description: Enum constant QDir::Writable Python specific notes: |
[] | Signature: [const] string [] (int arg1) Description: Method QString QDir::operator[](int) |
_assign | Signature: void _assign (const QDir other) Description: Assigns another object to self |
_const_cast | Signature: [const] QDir ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
absoluteFilePath | Signature: [const] string absoluteFilePath (string fileName) Description: Method QString QDir::absoluteFilePath(const QString &fileName) |
absolutePath | Signature: [const] string absolutePath Description: Method QString QDir::absolutePath() |
addResourceSearchPath | Signature: [static] void addResourceSearchPath (string path) Description: Static method void QDir::addResourceSearchPath(const QString &path) This method is static and can be called without an instance. |
addSearchPath | Signature: [static] void addSearchPath (string prefix, string path) Description: Static method void QDir::addSearchPath(const QString &prefix, const QString &path) This method is static and can be called without an instance. |
assign | (1) Signature: QDir assign (const QDir arg1) Description: Method QDir &QDir::operator=(const QDir &) |
(2) Signature: QDir assign (string path) Description: Method QDir &QDir::operator=(const QString &path) | |
canonicalPath | Signature: [const] string canonicalPath Description: Method QString QDir::canonicalPath() |
cd | Signature: bool cd (string dirName) Description: Method bool QDir::cd(const QString &dirName) |
cdUp | Signature: bool cdUp Description: Method bool QDir::cdUp() |
cleanPath | Signature: [static] string cleanPath (string path) Description: Static method QString QDir::cleanPath(const QString &path) This method is static and can be called without an instance. |
convertSeparators | Signature: [static] string convertSeparators (string pathName) Description: Static method QString QDir::convertSeparators(const QString &pathName) This method is static and can be called without an instance. |
count | Signature: [const] unsigned int count Description: Method unsigned int QDir::count() |
create | Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
current | Signature: [static] QDir current Description: Static method QDir QDir::current() This method is static and can be called without an instance. |
currentPath | Signature: [static] string currentPath Description: Static method QString QDir::currentPath() This method is static and can be called without an instance. |
destroy | Signature: void destroy Description: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
destroyed? | Signature: [const] bool destroyed? Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
dirName | Signature: [const] string dirName Description: Method QString QDir::dirName() |
drives | Signature: [static] QFileInfo[] drives Description: Static method QList<QFileInfo> QDir::drives() This method is static and can be called without an instance. |
dup | Signature: [const] new QDir ptr dup Description: Creates a copy of self Python specific notes: |
entryInfoList | (1) Signature: [const] QFileInfo[] entryInfoList (QDir_QFlags_Filter filters = QDir::NoFilter, QDir_QFlags_SortFlag sort = QDir::NoSort) Description: Method QList<QFileInfo> QDir::entryInfoList(QFlags<QDir::Filter> filters, QFlags<QDir::SortFlag> sort) |
(2) Signature: [const] QFileInfo[] entryInfoList (string[] nameFilters, QDir_QFlags_Filter filters = QDir::NoFilter, QDir_QFlags_SortFlag sort = QDir::NoSort) Description: Method QList<QFileInfo> QDir::entryInfoList(const QStringList &nameFilters, QFlags<QDir::Filter> filters, QFlags<QDir::SortFlag> sort) | |
entryList | (1) Signature: [const] string[] entryList (QDir_QFlags_Filter filters = QDir::NoFilter, QDir_QFlags_SortFlag sort = QDir::NoSort) Description: Method QStringList QDir::entryList(QFlags<QDir::Filter> filters, QFlags<QDir::SortFlag> sort) |
(2) Signature: [const] string[] entryList (string[] nameFilters, QDir_QFlags_Filter filters = QDir::NoFilter, QDir_QFlags_SortFlag sort = QDir::NoSort) Description: Method QStringList QDir::entryList(const QStringList &nameFilters, QFlags<QDir::Filter> filters, QFlags<QDir::SortFlag> sort) | |
exists | (1) Signature: [const] bool exists Description: Method bool QDir::exists() |
(2) Signature: [const] bool exists (string name) Description: Method bool QDir::exists(const QString &name) | |
filePath | Signature: [const] string filePath (string fileName) Description: Method QString QDir::filePath(const QString &fileName) |
filter | Signature: [const] QDir_QFlags_Filter filter Description: Method QFlags<QDir::Filter> QDir::filter() Python specific notes: |
filter= | Signature: void filter= (QDir_QFlags_Filter filter) Description: Method void QDir::setFilter(QFlags<QDir::Filter> filter) Python specific notes: |
fromNativeSeparators | Signature: [static] string fromNativeSeparators (string pathName) Description: Static method QString QDir::fromNativeSeparators(const QString &pathName) This method is static and can be called without an instance. |
home | Signature: [static] QDir home Description: Static method QDir QDir::home() This method is static and can be called without an instance. |
homePath | Signature: [static] string homePath Description: Static method QString QDir::homePath() This method is static and can be called without an instance. |
isAbsolute? | Signature: [const] bool isAbsolute? Description: Method bool QDir::isAbsolute() |
isAbsolutePath? | Signature: [static] bool isAbsolutePath? (string path) Description: Static method bool QDir::isAbsolutePath(const QString &path) This method is static and can be called without an instance. |
isReadable? | Signature: [const] bool isReadable? Description: Method bool QDir::isReadable() |
isRelative? | Signature: [const] bool isRelative? Description: Method bool QDir::isRelative() |
isRelativePath? | Signature: [static] bool isRelativePath? (string path) Description: Static method bool QDir::isRelativePath(const QString &path) This method is static and can be called without an instance. |
isRoot? | Signature: [const] bool isRoot? Description: Method bool QDir::isRoot() |
is_const_object? | Signature: [const] bool is_const_object? Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
makeAbsolute | Signature: bool makeAbsolute Description: Method bool QDir::makeAbsolute() |
match | (1) Signature: [static] bool match (string[] filters, string fileName) Description: Static method bool QDir::match(const QStringList &filters, const QString &fileName) This method is static and can be called without an instance. |
(2) Signature: [static] bool match (string filter, string fileName) Description: Static method bool QDir::match(const QString &filter, const QString &fileName) This method is static and can be called without an instance. | |
mkdir | Signature: [const] bool mkdir (string dirName) Description: Method bool QDir::mkdir(const QString &dirName) |
mkpath | Signature: [const] bool mkpath (string dirPath) Description: Method bool QDir::mkpath(const QString &dirPath) |
nameFilters | Signature: [const] string[] nameFilters Description: Method QStringList QDir::nameFilters() Python specific notes: |
nameFilters= | Signature: void nameFilters= (string[] nameFilters) Description: Method void QDir::setNameFilters(const QStringList &nameFilters) Python specific notes: |
nameFiltersFromString | Signature: [static] string[] nameFiltersFromString (string nameFilter) Description: Static method QStringList QDir::nameFiltersFromString(const QString &nameFilter) This method is static and can be called without an instance. |
new | (1) Signature: [static] new QDir new (const QDir arg1) Description: Constructor QDir::QDir(const QDir &) This method creates an object of class QDir. Python specific notes: |
(2) Signature: [static] new QDir new (string path = QString()) Description: Constructor QDir::QDir(const QString &path) This method creates an object of class QDir. Python specific notes: | |
(3) Signature: [static] new QDir new (string path, string nameFilter, QDir_QFlags_SortFlag sort = QDir::SortFlags(QDir::Name | QDir::IgnoreCase), QDir_QFlags_Filter filter = QDir::AllEntries) Description: Constructor QDir::QDir(const QString &path, const QString &nameFilter, QFlags<QDir::SortFlag> sort, QFlags<QDir::Filter> filter) This method creates an object of class QDir. Python specific notes: | |
path | Signature: [const] string path Description: Method QString QDir::path() Python specific notes: |
path= | Signature: void path= (string path) Description: Method void QDir::setPath(const QString &path) Python specific notes: |
refresh | Signature: [const] void refresh Description: Method void QDir::refresh() |
relativeFilePath | Signature: [const] string relativeFilePath (string fileName) Description: Method QString QDir::relativeFilePath(const QString &fileName) |
remove | Signature: bool remove (string fileName) Description: Method bool QDir::remove(const QString &fileName) |
rename | Signature: bool rename (string oldName, string newName) Description: Method bool QDir::rename(const QString &oldName, const QString &newName) |
rmdir | Signature: [const] bool rmdir (string dirName) Description: Method bool QDir::rmdir(const QString &dirName) |
rmpath | Signature: [const] bool rmpath (string dirPath) Description: Method bool QDir::rmpath(const QString &dirPath) |
root | Signature: [static] QDir root Description: Static method QDir QDir::root() This method is static and can be called without an instance. |
rootPath | Signature: [static] string rootPath Description: Static method QString QDir::rootPath() This method is static and can be called without an instance. |
searchPaths | Signature: [static] string[] searchPaths (string prefix) Description: Static method QStringList QDir::searchPaths(const QString &prefix) This method is static and can be called without an instance. |
separator | Signature: [static] unsigned int separator Description: Static method QChar QDir::separator() This method is static and can be called without an instance. |
setCurrent | Signature: [static] bool setCurrent (string path) Description: Static method bool QDir::setCurrent(const QString &path) This method is static and can be called without an instance. |
setFilter | Signature: void setFilter (QDir_QFlags_Filter filter) Description: Method void QDir::setFilter(QFlags<QDir::Filter> filter) Python specific notes: |
setNameFilters | Signature: void setNameFilters (string[] nameFilters) Description: Method void QDir::setNameFilters(const QStringList &nameFilters) Python specific notes: |
setPath | Signature: void setPath (string path) Description: Method void QDir::setPath(const QString &path) Python specific notes: |
setSearchPaths | Signature: [static] void setSearchPaths (string prefix, string[] searchPaths) Description: Static method void QDir::setSearchPaths(const QString &prefix, const QStringList &searchPaths) This method is static and can be called without an instance. |
setSorting | Signature: void setSorting (QDir_QFlags_SortFlag sort) Description: Method void QDir::setSorting(QFlags<QDir::SortFlag> sort) Python specific notes: |
sorting | Signature: [const] QDir_QFlags_SortFlag sorting Description: Method QFlags<QDir::SortFlag> QDir::sorting() Python specific notes: |
sorting= | Signature: void sorting= (QDir_QFlags_SortFlag sort) Description: Method void QDir::setSorting(QFlags<QDir::SortFlag> sort) Python specific notes: |
temp | Signature: [static] QDir temp Description: Static method QDir QDir::temp() This method is static and can be called without an instance. |
tempPath | Signature: [static] string tempPath Description: Static method QString QDir::tempPath() This method is static and can be called without an instance. |
toNativeSeparators | Signature: [static] string toNativeSeparators (string pathName) Description: Static method QString QDir::toNativeSeparators(const QString &pathName) This method is static and can be called without an instance. |