Kirigami2
pagepool.h
89 Q_INVOKABLE QQuickItem *loadPageWithProperties(const QString &url, const QVariantMap &properties, QJSValue callback = QJSValue());
Q_OBJECTQ_OBJECT
Q_INVOKABLE QQuickItem * loadPage(const QString &url, QJSValue callback=QJSValue())
Returns the instance of the item defined in the QML file identified by url, only one instance will be...
Definition: pagepool.cpp:66
Q_PROPERTY(...)
bool cachePages
If true (default) the pages will be kept around, will have C++ ownership and only one instance per pa...
Definition: pagepool.h:56
Q_INVOKABLE QUrl resolvedUrl(const QString &file) const
Definition: pagepool.cpp:196
Q_INVOKABLE QQuickItem * pageForUrl(const QUrl &url) const
Definition: pagepool.cpp:219
Q_INVOKABLEQ_INVOKABLE
Q_INVOKABLE void deletePage(const QVariant &page)
Deletes the page (only if is managed by the pool.
Definition: pagepool.cpp:238
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
A Pool of Page items, pages will be unique per url and the items will be kept around unless explicitl...
Definition: pagepool.h:22
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Jan 29 2023 04:11:03 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Jan 29 2023 04:11:03 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.