Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmljsresourcefilemapper.cpp File Reference
#include "qqmljsresourcefilemapper_p.h"
#include <QFileInfo>
#include <QDir>
#include <QXmlStreamReader>
+ Include dependency graph for qqmljsresourcefilemapper.cpp:

Go to the source code of this file.

Functions

static bool hasSuffix (const QString &qrcPath, const QStringList &suffixes)
 
template<typename HandleMatch >
void doFilter (const QList< QQmlJSResourceFileMapper::Entry > &qrcPathToFileSystemPath, const QQmlJSResourceFileMapper::Filter &filter, const HandleMatch &handler)
 

Function Documentation

◆ doFilter()

template<typename HandleMatch >
void doFilter ( const QList< QQmlJSResourceFileMapper::Entry > &  qrcPathToFileSystemPath,
const QQmlJSResourceFileMapper::Filter filter,
const HandleMatch &  handler 
)

Definition at line 81 of file qqmljsresourcefilemapper.cpp.

References QList< T >::constBegin(), QList< T >::constEnd(), QString::contains(), QQmlJSResourceFileMapper::Directory, QString::endsWith(), hasSuffix(), it, QString::mid(), QQmlJSResourceFileMapper::Recurse, QQmlJSResourceFileMapper::Resource, QString::size(), and QString::startsWith().

Referenced by QQmlJSResourceFileMapper::entry(), QQmlJSResourceFileMapper::filePaths(), QQmlJSResourceFileMapper::filter(), and QQmlJSResourceFileMapper::resourcePaths().

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

◆ hasSuffix()

static bool hasSuffix ( const QString qrcPath,
const QStringList suffixes 
)
static

Definition at line 72 of file qqmljsresourcefilemapper.cpp.

References QFileInfo::suffix().

Referenced by doFilter().

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