summaryrefslogtreecommitdiffstats
path: root/lib/kopainter/ko_gray_widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kopainter/ko_gray_widget.cpp')
-rw-r--r--lib/kopainter/ko_gray_widget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kopainter/ko_gray_widget.cpp b/lib/kopainter/ko_gray_widget.cpp
index af09dfa0..16a65aa2 100644
--- a/lib/kopainter/ko_gray_widget.cpp
+++ b/lib/kopainter/ko_gray_widget.cpp
@@ -41,7 +41,7 @@ KoGrayWidget::KoGrayWidget(TQWidget *parent, const char *name) : super(parent, n
/* setup color sliders */
mSlider = new KoColorSlider(this);
- mSlider->setFocusPolicy( TQ_ClickFocus );
+ mSlider->setFocusPolicy( TQWidget::ClickFocus );
mSlider->setMaximumHeight(20);
mSlider->slotSetRange(0, 255);
mSlider->slotSetColor1(TQColor(255, 255, 255));
@@ -56,7 +56,7 @@ KoGrayWidget::KoGrayWidget(TQWidget *parent, const char *name) : super(parent, n
mIn = new TQSpinBox(0, 255, 1, this);
mIn->setFixedWidth(50);
mIn->setFixedHeight(20);
- mIn->setFocusPolicy( TQ_ClickFocus );
+ mIn->setFocusPolicy( TQWidget::ClickFocus );
mGrid->addMultiCellWidget(m_ColorButton, 0, 3, 0, 0, TQt::AlignTop);
mGrid->addWidget(mLabel, 0, 1);