|
static bool | isInApplicationDirectory (const QString &path) |
| Path in application directory.
|
|
static bool | isMacOSAppBundle () |
| Is MacOS application bundle? More...
|
|
static QString | decodeNormalizedDirectory (const QString &directory) |
| Virtually the inverse operation of CDirectoryUtils::normalizedApplicationDirectory.
|
|
static QStringList | getRelativeSubDirectories (const QString &rootDir) |
| All sub directories of given dir.
|
|
static bool | containsFileInDir (const QString &dir, const QString &filter, bool recursively) |
| Any file with filter like "*.txt".
|
|
static bool | existsUnemptyDirectory (const QString &testDir) |
| Exists directory and does it contains files.
|
|
static bool | mkPathIfNotExisting (const QString &dir) |
| Make directory if not already existing. More...
|
|
static int | copyDirectoryRecursively (const QString &fromDir, const QString &toDir, bool replaceOnConflict) |
| Copy directory recursively.
|
|
static QStringList | getExistingUnemptyDirectories (const QStringList &directories) |
| Get the existing directories.
|
|
static bool | isSameExistingDirectory (const QString &dir1, const QString &dir2) |
| Same existing directories.
|
|
static bool | isSameOrSubDirectoryOf (const QString &testDir, const QString &parentDir) |
| Is "testDir" a subdirectory (possibly nested) of "parentDir" or the same directory. More...
|
|
static bool | isSameOrSubDirectoryOf (const QString &testDir, const QDir &parentDir) |
| Is "testDir" a subdirectory (possibly nested) of "parentDir" or the same directory. More...
|
|
static bool | isSameOrSubDirectoryOfStringBased (const QString &testDir, const QString &parentDir) |
| Is "testDir" a subdirectory (possibly nested) of "parentDir" or the same directory. More...
|
|
static DirComparison | compareTwoDirectories (const QString &dirSource, const QString &dirTarget, bool nestedDirs) |
| Compare 2 directories (only files, but with hierarchy)
|
|
|
static bool | isDirExisting (const QString &path) |
| Directory existing? Also checking UNC paths upfront. More...
|
|
static bool | isDirExisting (const QDir &dir) |
| Directory existing? Also checking UNC paths upfront. More...
|
|
Utility class for directory operations.
Definition at line 21 of file directoryutils.h.