Merge commit '4f73289602742a7d0ed7a54f50dfef9d538dccb5' into Thunder

This commit is contained in:
2025-11-10 15:32:49 +08:00
17 changed files with 757 additions and 93 deletions

View File

@@ -5,7 +5,7 @@
#include <QJsonArray>
// 添加 QJsonObject 头文件
#include <QJsonObject>
#include <QDebug>
class AppListModel : public QAbstractListModel
{
Q_OBJECT
@@ -18,9 +18,12 @@ public:
// 设置更新数据
void setUpdateData(const QJsonArray &data);
// 获取忽略状态
bool isAppIgnored(const QModelIndex &index) const;
private:
QList<QVariantMap> m_data; // 修改类型为 QList<QVariantMap>
};
#endif // APPLISTMODEL_H
#endif // APPLISTMODEL_H