Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qqmljsresourcefilemapper.cpp File Reference

(958cd3ee1094a068b6d0ff27c73a4b3caff088ad)

#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 QString::contains(), QQmlJSResourceFileMapper::Directory, QString::endsWith(), hasSuffix(), it, QString::mid(), QQmlJSResourceFileMapper::Recurse, QQmlJSResourceFileMapper::Resource, 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: