diff options
author | Robert Griebl <robert.griebl@qt.io> | 2022-05-23 19:05:50 +0200 |
---|---|---|
committer | Robert Griebl <robert.griebl@qt.io> | 2022-05-31 00:26:57 +0200 |
commit | 33777a820f6fda597065cf77dc90aff34bbcc4f5 (patch) | |
tree | 6e90c7b21589fdf728ce34123cf3e182f7c32dd3 /src/manager-lib/applicationmodel.h | |
parent | 9c62c010b911ca93a07b8d23e9cc3b4b56518af5 (diff) |
Fix the qmltypes generation
* enums were not exported at all
* methods with pointer returns were not flagged correctly
* added an option to specify a prototype different from the C++ base
class
* added an option to specify how many super classes up the generator
is considering (used when the exported class is only a
implementation of a virtual base class)
Change-Id: I377c732362c34796e156067fd79ca0df772315d6
Fixes: QTBUG-103229
Task-number: QTBUG-103266
Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
Diffstat (limited to 'src/manager-lib/applicationmodel.h')
-rw-r--r-- | src/manager-lib/applicationmodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/manager-lib/applicationmodel.h b/src/manager-lib/applicationmodel.h index 5a242101..3d7012f8 100644 --- a/src/manager-lib/applicationmodel.h +++ b/src/manager-lib/applicationmodel.h @@ -46,6 +46,7 @@ class ApplicationModel : public QSortFilterProxyModel { Q_OBJECT Q_CLASSINFO("AM-QmlType", "QtApplicationManager.SystemUI/ApplicationModel 2.0") + Q_CLASSINFO("AM-QmlPrototype", "QObject") Q_PROPERTY(int count READ count NOTIFY countChanged) Q_PROPERTY(QJSValue filterFunction READ filterFunction WRITE setFilterFunction NOTIFY filterFunctionChanged) |