summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-01 18:39:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-01 18:39:56 +0000
commit7cc6b9d8e81b1f674a94cebc6a0e6f02452a872a (patch)
treeb0f6d2e1acba11603634edebd197c2598b4b82a0 /chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cc
parent84a75dbef9da6531bcb6f3ca9ab2216396b7b3bd (diff)
downloadkoffice-7cc6b9d8e81b1f674a94cebc6a0e6f02452a872a.tar.gz
koffice-7cc6b9d8e81b1f674a94cebc6a0e6f02452a872a.zip
Fix koffice FTBFS under gcc4.6
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1244302 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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));