settings.setValue("incomingEmailAddress", attrib.getIncomingEmailAddress());
settings.endGroup();
}
public static UserAttributes getUserAttributes() {
settings.beginGroup("UserAttributes");
UserAttributes attrib = new UserAttributes();
attrib.setDefaultLocationName((String)settings.value("defaultLocationName",""));
attrib.setDefaultLatitudeIsSet(false);
attrib.setDefaultLongitudeIsSet(false);
attrib.setIncomingEmailAddress((String)settings.value("incomingEmailAddress", ""));
settings.endGroup();
return attrib;
}