10#include <qqmlcontext.h>
11#include <qqmlintegration.h>
35 inline static std::function<QString(const QUrl&)>
46 Q_INVOKABLE
void adopt(QObject*
object) const;
QString path
Definition Lr2SkinParser.cpp:87
Provides utility functions for QML as an attached property.
Definition QmlUtils.h:21
Q_INVOKABLE QString folderName(const QString &path) const
Definition QmlUtils.cpp:43
static std::function< QString(const QUrl &)> getThemeNameForRootFile
Definition QmlUtils.h:36
Q_INVOKABLE void adopt(QObject *object) const
Transfers object to the attached object's QObject ownership.
Definition QmlUtils.cpp:48
QML_ELEMENTQString themeName
The name of the theme that this QML file belongs to.
Definition QmlUtils.h:28
static auto qmlAttachedProperties(QObject *object) -> QmlUtilsAttached *
Definition QmlUtils.cpp:10
QString fileName
The file name of the QML file that this object is attached to.
Definition QmlUtils.h:32
Contains classes that wrap some functionality for use in QML.
Definition ProfileArenaIdentityProvider.h:9