git-svn-id: svn://192.168.0.12/source@35 8346c931-da38-4b9b-9d4c-e48b93cbd075
This commit is contained in:
@@ -34,7 +34,7 @@ bool SJson::GetBool(QString _str,QString _strKey)
|
|||||||
|
|
||||||
int SJson::GetNumber(QString _str,QString _strKey)
|
int SJson::GetNumber(QString _str,QString _strKey)
|
||||||
{
|
{
|
||||||
return QJsonDocument::fromJson(_str.toUtf8()).object().value(_strKey).toString().toInt();
|
return QJsonDocument::fromJson(_str.toUtf8()).object().value(_strKey).toInt();
|
||||||
}
|
}
|
||||||
|
|
||||||
QString SJson::Set(QString _str,QString _strKey,QString _strValue)
|
QString SJson::Set(QString _str,QString _strKey,QString _strValue)
|
||||||
|
|||||||
Reference in New Issue
Block a user