Example #1
0
void HomeInfo::apply(ICQUser *u)
{
    u->City = edtCity->text().local8Bit();
    u->State = edtState->text().local8Bit();
    u->Address = edtAddress->text().local8Bit();
    u->Zip = edtZip->text().local8Bit();
    u->Country = getComboValue(cmbCountry, countries);
    u->TimeZone = getTZComboValue(cmbZone);
}
Example #2
0
void HomeInfo::apply(ICQUser *u)
{
    set(u->City, edtCity->text());
    set(u->State, edtState->text());
    set(u->Address, edtAddress->text());
    set(u->Zip, edtZip->text());
    u->Country = getComboValue(cmbCountry, countries);
    u->TimeZone = getTZComboValue(cmbZone);
}