Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
This class provides replacement functionality for QFileInfo, QFile & QDir, as these are abysmally slow. More...
#include <ioutils.h>
Public Types | |
enum | FileType { FileNotFound = 0 , FileIsRegular = 1 , FileIsDir = 2 } |
Static Public Member Functions | |
static QString | binaryAbsLocation (const QString &argv0) |
static FileType | fileType (const QString &fileName) |
static bool | exists (const QString &fileName) |
static bool | isRelativePath (const QString &fileName) |
static bool | isAbsolutePath (const QString &fileName) |
static QStringView | pathName (const QString &fileName) |
static QStringView | fileName (const QString &fileName) |
static QString | resolvePath (const QString &baseDir, const QString &fileName) |
static QString | shellQuoteUnix (const QString &arg) |
static QString | shellQuoteWin (const QString &arg) |
static QString | shellQuote (const QString &arg) |
This class provides replacement functionality for QFileInfo, QFile & QDir, as these are abysmally slow.
Definition at line 27 of file ioutils.cpp.
|
inlinestatic |
Definition at line 29 of file ioutils.h.
References FileNotFound, and fileType().
|
static |
Definition at line 108 of file ioutils.cpp.
|
static |
Definition at line 61 of file ioutils.cpp.
Referenced by exists().
|
inlinestatic |
Definition at line 31 of file ioutils.h.
References isRelativePath().
|
static |
Definition at line 77 of file ioutils.cpp.
Referenced by isAbsolutePath().
|
static |
Definition at line 103 of file ioutils.cpp.
Definition at line 113 of file ioutils.cpp.
Referenced by QMakeEvaluator::resolvePath().
Definition at line 37 of file ioutils.h.
References shellQuote().
Referenced by shellQuote().
Definition at line 146 of file ioutils.cpp.
Definition at line 166 of file ioutils.cpp.