改变接口名称为驼峰命名

This commit is contained in:
He Chengyuan 2021-11-01 09:59:34 +08:00
parent 8b3cf901e8
commit de50a139c2
1 changed files with 3 additions and 3 deletions

View File

@ -69,12 +69,12 @@ void UpdateDbus::disconnectDbusSignal()
}
void UpdateDbus::SetDownloadLimit(QString value,bool whetherlimit)
{
interface->call("set_downloadspeed_max",value,whetherlimit);
interface->call("SetDownloadspeedMax",value,whetherlimit);
}
int UpdateDbus::GetDownloadLimit(void)
{
QDBusPendingReply<int> reply = interface->call("get_downloadspeed_limit_value");
QDBusPendingReply<int> reply = interface->call("GetDownloadspeedLimitValue");
if (!reply.isValid())
{
qDebug()<<"error getting download speed limit value";
@ -339,7 +339,7 @@ void UpdateDbus::getAppMessageSignal(QMap<QString, QVariant> map, QStringList ur
void UpdateDbus::insertInstallStates(QString item,QString info)
{
interface->asyncCall("insert_install_state",item,info);
interface->asyncCall("InsertInstallState",item,info);
}
QStringList UpdateDbus::checkInstallOrUpgrade(QStringList list)