Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmlpropertycachecreator.cpp File Reference
#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 70 of file qqmlpropertycachecreator.cpp.

References QStringView::at(), QStringView::isEmpty(), QChar::isUpper(), 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: