MagicSmoke
$VERSION$
|
helper class: allows to change the shipping option More...
#include <orderwin.h>
Public Member Functions | |
MShippingChange (QWidget *, MOShipping, int) | |
creates the dialog More... | |
int | price () const |
returns the entered price in cent More... | |
MOShipping | selection () const |
returns the selected shipping option, including corrected price More... | |
helper class: allows to change the shipping option
MShippingChange::MShippingChange | ( | QWidget * | pa, |
MOShipping | s, | ||
int | costs | ||
) |
creates the dialog
References MSInterface::checkFlags(), MSInterface::instance(), req, MCentSpinBox::setRange(), and MCentSpinBox::setValue().
int MShippingChange::price | ( | ) | const |
MOShipping MShippingChange::selection | ( | ) | const |
returns the selected shipping option, including corrected price
References price(), and MOShipping::setcost().