diff options
Diffstat (limited to 'chalk/plugins')
4 files changed, 8 insertions, 8 deletions
diff --git a/chalk/plugins/filters/colorsfilters/kis_brightness_contrast_filter.cc b/chalk/plugins/filters/colorsfilters/kis_brightness_contrast_filter.cc index c42223fb..d89db6ae 100644 --- a/chalk/plugins/filters/colorsfilters/kis_brightness_contrast_filter.cc +++ b/chalk/plugins/filters/colorsfilters/kis_brightness_contrast_filter.cc @@ -276,7 +276,7 @@ KisBrightnessContrastConfigWidget::KisBrightnessContrastConfigWidget(TQWidget * // Create the horizontal gradient label TQPixmap hgradientpix(256, 1); TQPainter hgp(&hgradientpix); - hgp.setPen(TQPen::TQPen(TQColor(0,0,0),1, TQt::SolidLine)); + hgp.setPen(TQPen(TQColor(0,0,0),1, TQt::SolidLine)); for( i=0; i<256; ++i ) { hgp.setPen(TQColor(i,i,i)); @@ -287,7 +287,7 @@ KisBrightnessContrastConfigWidget::KisBrightnessContrastConfigWidget(TQWidget * // Create the vertical gradient label TQPixmap vgradientpix(1, 256); TQPainter vgp(&vgradientpix); - vgp.setPen(TQPen::TQPen(TQColor(0,0,0),1, TQt::SolidLine)); + vgp.setPen(TQPen(TQColor(0,0,0),1, TQt::SolidLine)); for( i=0; i<256; ++i ) { vgp.setPen(TQColor(i,i,i)); @@ -300,7 +300,7 @@ KisBrightnessContrastConfigWidget::KisBrightnessContrastConfigWidget(TQWidget * TQPixmap pix(256, height); pix.fill(); TQPainter p(&pix); - p.setPen(TQPen::TQPen(TQt::gray,1, TQt::SolidLine)); + p.setPen(TQPen(TQt::gray,1, TQt::SolidLine)); double highest = (double)histogram.calculations().getHighest(); TQ_INT32 bins = histogram.producer()->numberOfBins(); diff --git a/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cc b/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cc index 8d3aad84..5c5a1b2c 100644 --- a/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cc +++ b/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cc @@ -273,7 +273,7 @@ void KisPerChannelConfigWidget::setActiveChannel(int ch) TQPixmap pix(256, height); pix.fill(); TQPainter p(&pix); - p.setPen(TQPen::TQPen(TQt::gray,1, TQt::SolidLine)); + p.setPen(TQPen(TQt::gray,1, TQt::SolidLine)); m_histogram->setChannel(ch); @@ -331,7 +331,7 @@ KisPerChannelConfigWidget::KisPerChannelConfigWidget(TQWidget * tqparent, KisPai // Create the horizontal gradient label TQPixmap hgradientpix(256, 1); TQPainter hgp(&hgradientpix); - hgp.setPen(TQPen::TQPen(TQColor(0,0,0),1, TQt::SolidLine)); + hgp.setPen(TQPen(TQColor(0,0,0),1, TQt::SolidLine)); for( i=0; i<256; ++i ) { hgp.setPen(TQColor(i,i,i)); @@ -342,7 +342,7 @@ KisPerChannelConfigWidget::KisPerChannelConfigWidget(TQWidget * tqparent, KisPai // Create the vertical gradient label TQPixmap vgradientpix(1, 256); TQPainter vgp(&vgradientpix); - vgp.setPen(TQPen::TQPen(TQColor(0,0,0),1, TQt::SolidLine)); + vgp.setPen(TQPen(TQColor(0,0,0),1, TQt::SolidLine)); for( i=0; i<256; ++i ) { vgp.setPen(TQColor(i,i,i)); diff --git a/chalk/plugins/filters/levelfilter/kgradientslider.cc b/chalk/plugins/filters/levelfilter/kgradientslider.cc index 104ef375..948fd277 100644 --- a/chalk/plugins/filters/levelfilter/kgradientslider.cc +++ b/chalk/plugins/filters/levelfilter/kgradientslider.cc @@ -72,7 +72,7 @@ void KGradientSlider::paintEvent(TQPaintEvent *) // Draw first gradient y = 0; - p1.setPen(TQPen::TQPen(TQColor(0,0,0),1, TQt::SolidLine)); + p1.setPen(TQPen(TQColor(0,0,0),1, TQt::SolidLine)); for( x=0; x<255; ++x ) { int gray = (255 * x) / wWidth; diff --git a/chalk/plugins/filters/levelfilter/kis_level_filter.cc b/chalk/plugins/filters/levelfilter/kis_level_filter.cc index 6b8dd6a0..fb437f26 100644 --- a/chalk/plugins/filters/levelfilter/kis_level_filter.cc +++ b/chalk/plugins/filters/levelfilter/kis_level_filter.cc @@ -277,7 +277,7 @@ void KisLevelConfigWidget::drawHistogram(bool logarithmic) TQPixmap pix(256, height); pix.fill(); TQPainter p(&pix); - p.setPen(TQPen::TQPen(TQt::gray,1, TQt::SolidLine)); + p.setPen(TQPen(TQt::gray,1, TQt::SolidLine)); double highest = (double)histogram->calculations().getHighest(); TQ_INT32 bins = histogram->producer()->numberOfBins(); |