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
qqmlpropertycachecreator.cpp File Reference

(e6430658b8c1053975308a116fc5667de62e0d1e)

#include "qqmlpropertycachecreator_p.h"
#include <private/qqmlengine_p.h>
+ Include dependency graph for qqmlpropertycachecreator.cpp:

Go to the source code of this file.

Functions

template<typename BaseNameHandler , typename FailHandler >
auto processUrlForClassName (const QUrl &url, BaseNameHandler &&baseNameHandler, FailHandler &&failHandler)
 

Function Documentation

◆ processUrlForClassName()

template<typename BaseNameHandler , typename FailHandler >
auto processUrlForClassName ( const QUrl & url,
BaseNameHandler && baseNameHandler,
FailHandler && failHandler )

Definition at line 13 of file qqmlpropertycachecreator.cpp.

References QStringView::at(), QStringView::isEmpty(), QString::lastIndexOf(), QStringView::mid(), QUrl::path(), and url.

Referenced by QQmlPropertyCacheCreatorBase::canCreateClassNameTypeByUrl(), QQmlPropertyCacheCreatorBase::createClassNameForInlineComponent(), and QQmlPropertyCacheCreatorBase::createClassNameTypeByUrl().

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