diff options
Diffstat (limited to 'chalk')
-rw-r--r-- | chalk/colorspaces/wet/kis_texture_painter.cc | 2 | ||||
-rw-r--r-- | chalk/core/kis_boundary.cc | 4 | ||||
-rw-r--r-- | chalk/plugins/filters/convolutionfilters/convolutionfilters.cc | 6 | ||||
-rw-r--r-- | chalk/plugins/filters/convolutionfilters/convolutionfilters.h | 6 | ||||
-rw-r--r-- | chalk/ui/kis_boundary_painter.cc | 10 |
5 files changed, 14 insertions, 14 deletions
diff --git a/chalk/colorspaces/wet/kis_texture_painter.cc b/chalk/colorspaces/wet/kis_texture_painter.cc index 4b11b989..9300e808 100644 --- a/chalk/colorspaces/wet/kis_texture_painter.cc +++ b/chalk/colorspaces/wet/kis_texture_painter.cc @@ -85,7 +85,7 @@ void KisTexturePainter::createTexture( TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ } } - //Qt::Vertical blurring was commented out in wetdreams, the effect seems to be achievable + // Vertical blurring was commented out in wetdreams, the effect seems to be achievable // without this. // I think this is because with blur in one direction, you get more the effect of // having 'fibers' in your paper diff --git a/chalk/core/kis_boundary.cc b/chalk/core/kis_boundary.cc index 0c9681c2..a15697a7 100644 --- a/chalk/core/kis_boundary.cc +++ b/chalk/core/kis_boundary.cc @@ -38,7 +38,7 @@ void KisBoundary::generateBoundary(int w, int h) { KisColorSpace* cs = m_device->colorSpace(); - //Qt::Horizontal + // Horizontal for (int currentY = - 1; currentY < h; currentY++) { KisHLineIteratorPixel topIt = m_device->createHLineIterator(0, currentY, w, false); KisHLineIteratorPixel botIt = m_device->createHLineIterator(0, currentY + 1, w, false); @@ -59,7 +59,7 @@ void KisBoundary::generateBoundary(int w, int h) { } } - //Qt::Vertical + // Vertical for (int currentX = - 1; currentX < w; currentX++) { KisVLineIteratorPixel leftIt = m_device->createVLineIterator(currentX, 0, h, false); KisVLineIteratorPixel rightIt = m_device->createVLineIterator(currentX + 1, 0, h, false); diff --git a/chalk/plugins/filters/convolutionfilters/convolutionfilters.cc b/chalk/plugins/filters/convolutionfilters/convolutionfilters.cc index 4ce104f7..8f108565 100644 --- a/chalk/plugins/filters/convolutionfilters/convolutionfilters.cc +++ b/chalk/plugins/filters/convolutionfilters/convolutionfilters.cc @@ -121,20 +121,20 @@ KisEmbossInAllDirectionsFilter::KisEmbossInAllDirectionsFilter() } KisEmbossHorizontalVerticalFilter::KisEmbossHorizontalVerticalFilter() - : KisConvolutionConstFilter(id(), "emboss", i18n("EmbossQt::Horizontal &&Qt::Vertical")) + : KisConvolutionConstFilter(id(), "emboss", i18n("Emboss Horizontal &&Qt::Vertical")) { m_matrix = createKernel( 0, -1, 0 , -1, 4, -1 , 0, -1, 0, 1, 127); m_channelFlags = KisChannelInfo::FLAG_COLOR; } KisEmbossVerticalFilter::KisEmbossVerticalFilter() - : KisConvolutionConstFilter(id(), "emboss", i18n("EmbossQt::Vertical Only")) + : KisConvolutionConstFilter(id(), "emboss", i18n("Emboss Vertical Only")) { m_matrix = createKernel( 0, -1, 0 , 0, 2, 0 , 0, -1, 0, 1, 127); } KisEmbossHorizontalFilter::KisEmbossHorizontalFilter() : - KisConvolutionConstFilter(id(), "emboss", i18n("EmbossQt::Horizontal Only")) + KisConvolutionConstFilter(id(), "emboss", i18n("Emboss Horizontal Only")) { m_matrix = createKernel( 0, 0, 0 , -1, 4, -1 , 0, 0, 0, 1, 127); diff --git a/chalk/plugins/filters/convolutionfilters/convolutionfilters.h b/chalk/plugins/filters/convolutionfilters/convolutionfilters.h index 6c92888a..3a60adf7 100644 --- a/chalk/plugins/filters/convolutionfilters/convolutionfilters.h +++ b/chalk/plugins/filters/convolutionfilters/convolutionfilters.h @@ -73,7 +73,7 @@ class KisEmbossHorizontalVerticalFilter : public KisConvolutionConstFilter { public: KisEmbossHorizontalVerticalFilter(); public: - static inline KisID id() { return KisID("", i18n("EmbossQt::Horizontal &Qt::Vertical")); }; + static inline KisID id() { return KisID("", i18n("Emboss Horizontal &Vertical")); }; virtual bool supportsPainting() { return false; } }; @@ -82,7 +82,7 @@ class KisEmbossVerticalFilter : public KisConvolutionConstFilter { public: KisEmbossVerticalFilter(); public: - static inline KisID id() { return KisID("emboss vertical only", i18n("EmbossQt::Vertical Only")); }; + static inline KisID id() { return KisID("emboss vertical only", i18n("Emboss Vertical Only")); }; virtual bool supportsPainting() { return false; } }; @@ -91,7 +91,7 @@ class KisEmbossHorizontalFilter : public KisConvolutionConstFilter { public: KisEmbossHorizontalFilter(); public: - static inline KisID id() { return KisID("emboss horizontal only", i18n("EmbossQt::Horizontal Only")); }; + static inline KisID id() { return KisID("emboss horizontal only", i18n("Emboss Horizontal Only")); }; virtual bool supportsPainting() { return false; } }; diff --git a/chalk/ui/kis_boundary_painter.cc b/chalk/ui/kis_boundary_painter.cc index b07bcb51..2b842e53 100644 --- a/chalk/ui/kis_boundary_painter.cc +++ b/chalk/ui/kis_boundary_painter.cc @@ -40,8 +40,8 @@ void KisBoundaryPainter::paint(const KisBoundary& boundary, KisCanvasPainter& pa { KisBoundary::PointPairListList::const_iterator it = boundary.m_horSegments.constBegin(); KisBoundary::PointPairListList::const_iterator end = boundary.m_horSegments.constEnd(); - - //Qt::Horizontal + + // Horizontal while (it != end) { KisBoundary::PointPairList::const_iterator lineIt = (*it).constBegin(); KisBoundary::PointPairList::const_iterator lineEnd = (*it).constEnd(); @@ -57,11 +57,11 @@ void KisBoundaryPainter::paint(const KisBoundary& boundary, KisCanvasPainter& pa } ++it; } - - //Qt::Vertical + + // Vertical it = boundary.m_vertSegments.constBegin(); end = boundary.m_vertSegments.constEnd(); - + while (it != end) { KisBoundary::PointPairList::const_iterator lineIt = (*it).constBegin(); KisBoundary::PointPairList::const_iterator lineEnd = (*it).constEnd(); |