![]() |
Qt 6.x
The Qt SDK
|
#include <qqmlfileselector_p.h>
Public Member Functions | |
QQmlFileSelectorInterceptor (QQmlFileSelectorPrivate *pd) | |
![]() | |
QQmlAbstractUrlInterceptor ()=default | |
Constructor for QQmlAbstractUrlInterceptor. | |
virtual | ~QQmlAbstractUrlInterceptor ()=default |
Destructor for QQmlAbstractUrlInterceptor. | |
virtual QUrl | intercept (const QUrl &path, DataType type)=0 |
A pure virtual function where you can intercept the url. | |
Public Attributes | |
QQmlFileSelectorPrivate * | d |
Protected Member Functions | |
QUrl | intercept (const QUrl &path, DataType type) override |
Additional Inherited Members | |
![]() | |
enum | DataType { QmlFile = 0 , JavaScriptFile = 1 , QmldirFile = 2 , UrlString = 0x1000 } |
Specifies where URL interception is taking place. More... | |
Definition at line 41 of file qqmlfileselector_p.h.
QQmlFileSelectorInterceptor::QQmlFileSelectorInterceptor | ( | QQmlFileSelectorPrivate * | pd | ) |
Definition at line 185 of file qqmlfileselector.cpp.
|
overrideprotectedvirtual |
Implements QQmlAbstractUrlInterceptor.
Definition at line 193 of file qqmlfileselector.cpp.
References d, QQmlAbstractUrlInterceptor::QmldirFile, QFileSelector::select(), and QQmlFileSelectorPrivate::selector.
QQmlFileSelectorPrivate* QQmlFileSelectorInterceptor::d |
Definition at line 45 of file qqmlfileselector_p.h.
Referenced by intercept().