Add MppsSettingsDialog mpps open mode.
This commit is contained in:
@@ -92,6 +92,7 @@ void JsonObject::init()
|
||||
mMppsHost.ip = QString(getJsonString("mpps", "ip"));
|
||||
mMppsHost.name = QString(getJsonString("mpps", "name"));
|
||||
mMppsHost.port = QString(getJsonString("mpps", "port"));
|
||||
mMppsOpen = getBool("mpps","open");
|
||||
|
||||
mDefaultIpAddress.ip = QString(getJsonString("address", "ip"));
|
||||
mDefaultIpAddress.mask = QString(getJsonString("address", "mask"));
|
||||
@@ -629,3 +630,14 @@ int JsonObject::getPatientListExpireDays()
|
||||
{
|
||||
return mPatientListExpireDays;
|
||||
}
|
||||
|
||||
bool JsonObject::getMppsOpen()
|
||||
{
|
||||
return mMppsOpen;
|
||||
}
|
||||
|
||||
void JsonObject::setMppsOpen(bool aIsOpen)
|
||||
{
|
||||
mMppsOpen = aIsOpen;
|
||||
setBool("mpps","open", aIsOpen, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user