diff options
Diffstat (limited to 'lib/kopainter/ko_rgb_widget.cpp')
-rw-r--r-- | lib/kopainter/ko_rgb_widget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kopainter/ko_rgb_widget.cpp b/lib/kopainter/ko_rgb_widget.cpp index 7680d50a..22fb9772 100644 --- a/lib/kopainter/ko_rgb_widget.cpp +++ b/lib/kopainter/ko_rgb_widget.cpp @@ -45,17 +45,17 @@ KoRGBWidget::KoRGBWidget(TQWidget *parent, const char *name) : super(parent, nam mRSlider = new KoColorSlider(this); mRSlider->setMaximumHeight(20); mRSlider->slotSetRange(0, 255); - mRSlider->setFocusPolicy( TQ_ClickFocus ); + mRSlider->setFocusPolicy( TQWidget::ClickFocus ); mGSlider = new KoColorSlider(this); mGSlider->setMaximumHeight(20); mGSlider->slotSetRange(0, 255); - mGSlider->setFocusPolicy( TQ_ClickFocus ); + mGSlider->setFocusPolicy( TQWidget::ClickFocus ); mBSlider = new KoColorSlider(this); mBSlider->setMaximumHeight(20); mBSlider->slotSetRange(0, 255); - mBSlider->setFocusPolicy( TQ_ClickFocus ); + mBSlider->setFocusPolicy( TQWidget::ClickFocus ); /* setup slider labels */ mRLabel = new TQLabel("R:", this); @@ -72,19 +72,19 @@ KoRGBWidget::KoRGBWidget(TQWidget *parent, const char *name) : super(parent, nam mRIn = new TQSpinBox(0, 255, 1, this); mRIn->setFixedWidth(50); mRIn->setFixedHeight(20); - mRIn->setFocusPolicy( TQ_ClickFocus ); + mRIn->setFocusPolicy( TQWidget::ClickFocus ); TQToolTip::add( mRIn, i18n( "Red" ) ); mGIn = new TQSpinBox(0, 255, 1, this); mGIn->setFixedWidth(50); mGIn->setFixedHeight(20); - mGIn->setFocusPolicy( TQ_ClickFocus ); + mGIn->setFocusPolicy( TQWidget::ClickFocus ); TQToolTip::add( mGIn, i18n( "Green" ) ); mBIn = new TQSpinBox(0, 255, 1, this); mBIn->setFixedWidth(50); mBIn->setFixedHeight(20); - mBIn->setFocusPolicy( TQ_ClickFocus ); + mBIn->setFocusPolicy( TQWidget::ClickFocus ); TQToolTip::add( mBIn, i18n( "Blue" ) ); mGrid->addMultiCellWidget(m_ColorButton, 0, 3, 0, 0, TQt::AlignTop); |