改变接口名称为驼峰命名
This commit is contained in:
parent
8b3cf901e8
commit
de50a139c2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue