chore(SubmodelProxyModel): Marked as deprecated

This commit is contained in:
Michał Cieślak 2024-06-05 11:01:24 +02:00 committed by Michał
parent 958dc7c5ba
commit 793e82ac7e
2 changed files with 7 additions and 1 deletions

View File

@ -13,6 +13,7 @@ Item {
id: root
readonly property string intro:
"<b>THIS MODEL IS DEPRECTAED. Use ObjectProxyModel instead</b><br>" +
"The example uses two source models. The first model contains networks"
+ " (id and metadata such as name and color), visible on the left. The"
+ " second model contains tokens metadata and their balances per"

View File

@ -11,7 +11,12 @@
class QQmlComponent;
class QQmlEngine;
class SubmodelProxyModel : public QIdentityProxyModel
/**
* NOTE: This proxy model is deprecated and will be removed soon. Use
* ObjectProxyModel instead.
*/
class QT_DEPRECATED_X("Use ObjectProxyModel instead") SubmodelProxyModel
: public QIdentityProxyModel
{
Q_OBJECT