summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cc')
-rw-r--r--chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cc b/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cc
index 8d3aad84e..5c5a1b2c5 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));