MagicSmoke
$VERSION$
|
edit a specific customer More...
#include <customerdlg.h>
Public Member Functions | |
MCustomerDialog (MOCustomer, QWidget *) | |
creates a new customer dialog More... | |
MOCustomer | getCustomer () |
returns the customer as currently entered More... | |
edit a specific customer
MCustomerDialog::MCustomerDialog | ( | MOCustomer | c, |
QWidget * | par | ||
) |
creates a new customer dialog
References MOCustomerAbstract::addresses(), MOCustomerAbstract::comments(), ContactIdRole, MOCustomerAbstract::contacts(), ContactTypeIdRole, MOCustomerAbstract::email(), MOCustomerAbstract::firstname(), MOCustomer::isValid(), MOCustomerAbstract::name(), and MOCustomerAbstract::title().
MOCustomer MCustomerDialog::getCustomer | ( | ) |
returns the customer as currently entered
References MAddressListWidget::addressList(), MOCustomer::customerid(), MOCustomerAbstract::setaddresses(), MOCustomerAbstract::setcomments(), MOContact::setcontact(), MOContact::setcontactid(), MOCustomerAbstract::setcontacts(), MOContact::setcontacttypeid(), MOContact::setcustomerid(), MOCustomerAbstract::setfirstname(), MOCustomerAbstract::setname(), and MOCustomerAbstract::settitle().