#include <FileTool.h>
◆ byNumberSortCallback()
static bool Core::FileTool::byNumberSortCallback |
( |
const QFileInfo & |
f1, |
|
|
const QFileInfo & |
f2 |
|
) |
| |
|
static |
Callback for qSort to sort filenames naturally, taking numbers like numbers, not strings.
◆ filesAreEqual()
static bool Core::FileTool::filesAreEqual |
( |
const QString & |
path1, |
|
|
const QString & |
path2 |
|
) |
| |
|
static |
◆ getTutorialsNumberPart()
static QString Core::FileTool::getTutorialsNumberPart |
( |
const QString & |
filename | ) |
|
|
static |
Returns number part of tutorial filename.
◆ removeInvalidCharactersInFilename()
static void Core::FileTool::removeInvalidCharactersInFilename |
( |
QString & |
filename | ) |
|
|
static |
Removes all characters that are prohibited in a filename (not a path).
◆ removeNonAsciiCharactersInPath()
static void Core::FileTool::removeNonAsciiCharactersInPath |
( |
QString & |
path | ) |
|
|
static |
Removes all non-ASCII characters in a path.
◆ tutorialsByNumberSortCallback()
static bool Core::FileTool::tutorialsByNumberSortCallback |
( |
const QFileInfo & |
f1, |
|
|
const QFileInfo & |
f2 |
|
) |
| |
|
static |
Callback to sort tutorial filenames naturally, taking numbers like numbers, not strings.
The documentation for this class was generated from the following file:
- D:/CadworkJobs/SoftwareProjekte/Lexocad/LexoGit/Lexocad/lexocad/Core/include/Core/FileTool.h