![]() |
Qt 6.x
The Qt SDK
|
#include "qstandardpaths.h"
#include <qdir.h>
#include <qfileinfo.h>
#include <qobject.h>
#include <qcoreapplication.h>
#include "moc_qstandardpaths.cpp"
Go to the source code of this file.
Functions | |
static bool | existsAsSpecified (const QString &path, QStandardPaths::LocateOptions options) |
static QString | checkExecutable (const QString &path) |
static QString | searchExecutable (const QStringList &searchPaths, const QString &executableName) |
Variables | |
static Q_CONSTINIT bool | qsp_testMode = false |
Definition at line 417 of file qstandardpaths.cpp.
References QFileInfo::bundleName(), QDir::cleanPath(), info, QFileInfo::isBundle(), QFileInfo::isExecutable(), and QFileInfo::isFile().
Referenced by QStandardPaths::findExecutable(), and searchExecutable().
|
static |
Definition at line 371 of file qstandardpaths.cpp.
References QDir::exists(), QFileInfo::isFile(), and QStandardPaths::LocateDirectory.
Referenced by QStandardPaths::locate(), and QStandardPaths::locateAll().
|
inlinestatic |
Definition at line 427 of file qstandardpaths.cpp.
References QDir::absoluteFilePath(), checkExecutable(), QDir::current(), and QString::isEmpty().
Referenced by QStandardPaths::findExecutable().
|
static |
Definition at line 583 of file qstandardpaths.cpp.
Referenced by QStandardPaths::isTestModeEnabled(), and QStandardPaths::setTestModeEnabled().