chore:增加获取包图标函数

This commit is contained in:
momen 2025-06-05 14:44:57 +08:00
parent 86b57ecdc1
commit 0d12df77cc
3 changed files with 7 additions and 1 deletions

View File

@ -224,3 +224,8 @@ bool aptssUpdater::checkDesktopFiles(const QStringList &desktopFiles, QString &a
appName = packageName;
return false;
}
QStringList aptssUpdater::getPackageIcons()
{
}

View File

@ -12,9 +12,9 @@ public:
explicit aptssUpdater(QWidget *parent = nullptr);
QStringList getUpdateablePackages(); // 查询可更新包列表及更新内容
qint64 getTotalDownloadSize(); // 获取更新总大小预估
QStringList getPackageSizes(); // 获取每个包的大小
QStringList getDesktopAppNames(); // 获取桌面应用名称列表
QStringList getPackageIcons(); // 获取包图标列表
QString m_tempFilePath;
signals:
private:

View File

@ -107,6 +107,7 @@ void MainWindow::checkUpdates()
// QStringList updateablePackages = updater.getUpdateablePackages();
QStringList appName = updater.getDesktopAppNames();
updater.getPackageSizes();
updater.getPackageIcons();
}