diff --git a/ScreenPlay/inc/public/ScreenPlay/createimportvideo.h b/ScreenPlay/inc/public/ScreenPlay/createimportvideo.h index e2671914..83f1d56b 100644 --- a/ScreenPlay/inc/public/ScreenPlay/createimportvideo.h +++ b/ScreenPlay/inc/public/ScreenPlay/createimportvideo.h @@ -24,7 +24,7 @@ namespace ScreenPlay { class CreateImportVideo : public QObject { Q_OBJECT - QML_ELEMENT + QML_UNCREATABLE("") Q_PROPERTY(float progress READ progress WRITE setProgress NOTIFY progressChanged) diff --git a/ScreenPlay/inc/public/ScreenPlay/installedlistfilter.h b/ScreenPlay/inc/public/ScreenPlay/installedlistfilter.h index a208ff90..234e1918 100644 --- a/ScreenPlay/inc/public/ScreenPlay/installedlistfilter.h +++ b/ScreenPlay/inc/public/ScreenPlay/installedlistfilter.h @@ -13,8 +13,8 @@ namespace ScreenPlay { class InstalledListFilter : public QSortFilterProxyModel { Q_OBJECT - QML_ELEMENT - + QML_UNCREATABLE("") + public: InstalledListFilter(const std::shared_ptr& ilm); diff --git a/ScreenPlay/inc/public/ScreenPlay/installedlistmodel.h b/ScreenPlay/inc/public/ScreenPlay/installedlistmodel.h index 146ef3f9..6a71e527 100644 --- a/ScreenPlay/inc/public/ScreenPlay/installedlistmodel.h +++ b/ScreenPlay/inc/public/ScreenPlay/installedlistmodel.h @@ -33,7 +33,7 @@ namespace ScreenPlay { class InstalledListModel : public QAbstractListModel { Q_OBJECT - QML_ELEMENT + QML_UNCREATABLE("") Q_PROPERTY(int count READ count WRITE setCount NOTIFY countChanged) diff --git a/ScreenPlay/inc/public/ScreenPlay/profilelistmodel.h b/ScreenPlay/inc/public/ScreenPlay/profilelistmodel.h index f1cac384..55f7c234 100644 --- a/ScreenPlay/inc/public/ScreenPlay/profilelistmodel.h +++ b/ScreenPlay/inc/public/ScreenPlay/profilelistmodel.h @@ -22,7 +22,7 @@ struct Profile; class ProfileListModel : public QAbstractListModel { Q_OBJECT - QML_ELEMENT + QML_UNCREATABLE("") public: explicit ProfileListModel( diff --git a/ScreenPlay/inc/public/ScreenPlay/settings.h b/ScreenPlay/inc/public/ScreenPlay/settings.h index a7457457..4aad24bd 100644 --- a/ScreenPlay/inc/public/ScreenPlay/settings.h +++ b/ScreenPlay/inc/public/ScreenPlay/settings.h @@ -43,7 +43,7 @@ class ActiveProfile; class Settings : public QObject { Q_OBJECT - QML_ELEMENT + QML_UNCREATABLE("") Q_PROPERTY(bool anonymousTelemetry READ anonymousTelemetry WRITE setAnonymousTelemetry NOTIFY anonymousTelemetryChanged) Q_PROPERTY(bool silentStart READ silentStart WRITE setSilentStart NOTIFY silentStartChanged)