diff options
Diffstat (limited to 'tqtinterface/qt4/tools/designer/examples/credit/creditform.cpp')
-rw-r--r-- | tqtinterface/qt4/tools/designer/examples/credit/creditform.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tqtinterface/qt4/tools/designer/examples/credit/creditform.cpp b/tqtinterface/qt4/tools/designer/examples/credit/creditform.cpp deleted file mode 100644 index 3a2afa3..0000000 --- a/tqtinterface/qt4/tools/designer/examples/credit/creditform.cpp +++ /dev/null @@ -1,20 +0,0 @@ -#include <tqradiobutton.h> -#include <tqspinbox.h> -#include "creditform.h" - -CreditForm::CreditForm( TQWidget* parent, const char* name, - bool modal, WFlags fl ) - : CreditFormBase( parent, name, modal, fl ) -{ - setAmount(); -} - -CreditForm::~CreditForm() { /* NOOP */ } - -void CreditForm::setAmount() -{ - if ( stdRadioButton->isChecked() ) - amountSpinBox->setValue( amountSpinBox->maxValue() / 2 ); - else if ( noneRadioButton->isChecked() ) - amountSpinBox->setValue( amountSpinBox->minValue() ); -} |