Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QFileSelectorPrivate Class Reference

#include <qfileselector_p.h>

+ Inheritance diagram for QFileSelectorPrivate:
+ Collaboration diagram for QFileSelectorPrivate:

Public Member Functions

 QFileSelectorPrivate ()
 
QString select (const QString &filePath) const
 

Static Public Member Functions

static void updateSelectors ()
 
static QStringList platformSelectors ()
 
static void addStatics (const QStringList &)
 
static QString selectionHelper (const QString &path, const QString &fileName, const QStringList &selectors, QChar indicator=u'+')
 

Public Attributes

QStringList extras
 

Detailed Description

Definition at line 30 of file qfileselector_p.h.

Constructor & Destructor Documentation

◆ QFileSelectorPrivate()

QFileSelectorPrivate::QFileSelectorPrivate ( )

Definition at line 27 of file qfileselector.cpp.

Member Function Documentation

◆ addStatics()

void QFileSelectorPrivate::addStatics ( const QStringList statics)
static

Definition at line 332 of file qfileselector.cpp.

References sharedDataMutex.

Referenced by QQuickStylePlugin::registerTypes(), and QtQuickControls2Plugin::registerTypes().

+ Here is the caller graph for this function:

◆ platformSelectors()

QStringList QFileSelectorPrivate::platformSelectors ( )
static

Definition at line 312 of file qfileselector.cpp.

References QSysInfo::kernelType(), QSysInfo::productType(), QStringLiteral, and ret.

Referenced by updateSelectors().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ select()

QString QFileSelectorPrivate::select ( const QString filePath) const

Definition at line 243 of file qfileselector.cpp.

References fi, QFileInfo::fileName(), QFileInfo::path(), ret, and selectionHelper().

+ Here is the call graph for this function:

◆ selectionHelper()

QString QFileSelectorPrivate::selectionHelper ( const QString path,
const QString fileName,
const QStringList selectors,
QChar  indicator = u'+' 
)
static

Definition at line 213 of file qfileselector.cpp.

References QDir::exists(), QFile::exists(), fileName, QString::isEmpty(), QChar::isNull(), Q_ASSERT, and selectionHelper().

Referenced by select(), and selectionHelper().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateSelectors()

void QFileSelectorPrivate::updateSelectors ( )
static

Definition at line 290 of file qfileselector.cpp.

References env_override, QString::fromLatin1(), QLocale::name(), platformSelectors(), qEnvironmentVariableIsEmpty(), qgetenv(), Qt::SkipEmptyParts, and QString::split().

Referenced by QFileSelector::allSelectors().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ extras

QStringList QFileSelectorPrivate::extras

Definition at line 42 of file qfileselector_p.h.


The documentation for this class was generated from the following files: