From de50a139c246ec3e4dcd1e8e65f3c8779b506adb Mon Sep 17 00:00:00 2001 From: He Chengyuan Date: Mon, 1 Nov 2021 09:59:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=8F=98=E6=8E=A5=E5=8F=A3=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E4=B8=BA=E9=A9=BC=E5=B3=B0=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/src/updatedbus.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/src/updatedbus.cpp b/plugin/src/updatedbus.cpp index 9ec146f..75fd9d6 100644 --- a/plugin/src/updatedbus.cpp +++ b/plugin/src/updatedbus.cpp @@ -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 reply = interface->call("get_downloadspeed_limit_value"); + QDBusPendingReply reply = interface->call("GetDownloadspeedLimitValue"); if (!reply.isValid()) { qDebug()<<"error getting download speed limit value"; @@ -339,7 +339,7 @@ void UpdateDbus::getAppMessageSignal(QMap 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)