diff options
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqspinbox.cpp')
-rw-r--r-- | tqtinterface/qt4/src/widgets/tqspinbox.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqspinbox.cpp b/tqtinterface/qt4/src/widgets/tqspinbox.cpp index 8ea1775..51cf8ed 100644 --- a/tqtinterface/qt4/src/widgets/tqspinbox.cpp +++ b/tqtinterface/qt4/src/widgets/tqspinbox.cpp @@ -227,13 +227,13 @@ TQValidator::State TQSpinBoxValidator::validate( TQString& str, int& pos ) const /*! Constructs a spin box with the default TQRangeControl range and - step values. It is called \a name and has tqparent \a tqparent. + step values. It is called \a name and has parent \a parent. \sa minValue(), maxValue(), setRange(), lineStep(), setSteps() */ -TQSpinBox::TQSpinBox( TQWidget * tqparent , const char *name ) - : TQWidget( tqparent, name, TQt::WNoAutoErase ), +TQSpinBox::TQSpinBox( TQWidget * parent , const char *name ) + : TQWidget( parent, name, TQt::WNoAutoErase ), TQRangeControl() { initSpinBox(); @@ -245,14 +245,14 @@ TQSpinBox::TQSpinBox( TQWidget * tqparent , const char *name ) maxValue inclusive, with step amount \a step. The value is initially set to \a minValue. - The spin box is called \a name and has tqparent \a tqparent. + The spin box is called \a name and has parent \a parent. \sa minValue(), maxValue(), setRange(), lineStep(), setSteps() */ -TQSpinBox::TQSpinBox( int minValue, int maxValue, int step, TQWidget* tqparent, +TQSpinBox::TQSpinBox( int minValue, int maxValue, int step, TQWidget* parent, const char* name ) - : TQWidget( tqparent, name, TQt::WNoAutoErase ), + : TQWidget( parent, name, TQt::WNoAutoErase ), TQRangeControl( minValue, maxValue, step, step, minValue ) { initSpinBox(); @@ -356,7 +356,7 @@ TQString TQSpinBox::cleanText() const automatically choose a good margin width, you can set up the spin box like this: \code - TQSpinBox marginBox( -1, 20, 1, tqparent, "marginBox" ); + TQSpinBox marginBox( -1, 20, 1, parent, "marginBox" ); marginBox->setSuffix( " mm" ); marginBox->setSpecialValueText( "Auto" ); \endcode |