mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-06-22 22:23:49 +08:00
e3c43198b9
使用了SpkSidebarTree子类实现对TreeWidget的特殊要求:不能取消选择,不能拖拽选择。 API调用接口暂时写死。API会获取 配置文件已添加但暂不使用。
26 lines
477 B
C++
26 lines
477 B
C++
|
|
#pragma once
|
|
|
|
#include <QPointer>
|
|
#include <QString>
|
|
#include <QSettings>
|
|
#include <QFile>
|
|
#include <QtNetwork/QNetworkReply>
|
|
|
|
#include "spkstore.h"
|
|
#include "spklogging.h"
|
|
|
|
#define STORE SpkStore::Instance
|
|
#define CFG (SpkStore::Instance->mCfg)
|
|
|
|
namespace SpkUtils
|
|
{
|
|
QString GetDistroName();
|
|
|
|
void VerifySingleRequest(QPointer<QNetworkReply> aReply);
|
|
|
|
void DeleteReplyLater(QNetworkReply *aReply);
|
|
|
|
bool VerifyReplyJson(QNetworkReply *aReply, QJsonValue& aRetDoc);
|
|
}
|