|
|
|
@ -43,6 +43,11 @@ AddressbookDataPtr AddressHelper::newAddress()
|
|
|
|
|
|
|
|
|
|
AddressbookDataPtr AddressHelper::copyAddress()
|
|
|
|
|
{
|
|
|
|
|
if (m_copyAddress.isNull())
|
|
|
|
|
{
|
|
|
|
|
m_copyAddress = AddressbookDataPtr(new AddressbookData);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return m_copyAddress;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -94,6 +99,9 @@ CampWizard::CampWizard(QWidget *parent) :
|
|
|
|
|
Service<CountryData> coutrySrv;
|
|
|
|
|
m_addressBinder->registerBinding(ui->country, ComboData::createComboData(coutrySrv.all()));
|
|
|
|
|
|
|
|
|
|
m_addressBinder->setData(m_addrHelper->copyAddress().data());
|
|
|
|
|
m_addressBinder->bindToUi();
|
|
|
|
|
|
|
|
|
|
m_bindAddrCombo = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -181,3 +189,8 @@ void CampWizard::on_groupNew_clicked(bool checked)
|
|
|
|
|
ui->address->setEnabled(true);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CampWizard::on_CampWizard_currentIdChanged(int id)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|