summaryrefslogtreecommitdiffstats
path: root/chalk
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-03-05 05:03:32 +0100
committerSlávek Banko <slavek.banko@axis.cz>2015-03-05 05:03:32 +0100
commitf9f32cc93e35d51abba0fb9f26afc211c60a5ea4 (patch)
treedf566426539627ac453c084e8dccba09afdb64b8 /chalk
parent98a0195cc514bc04129ef9420f1bfbc971770895 (diff)
downloadkoffice-f9f32cc93e35d51abba0fb9f26afc211c60a5ea4.tar.gz
koffice-f9f32cc93e35d51abba0fb9f26afc211c60a5ea4.zip
Fix incorrectly renamed strings
Diffstat (limited to 'chalk')
-rw-r--r--chalk/colorspaces/wet/kis_texture_painter.cc2
-rw-r--r--chalk/core/kis_boundary.cc4
-rw-r--r--chalk/plugins/filters/convolutionfilters/convolutionfilters.cc6
-rw-r--r--chalk/plugins/filters/convolutionfilters/convolutionfilters.h6
-rw-r--r--chalk/ui/kis_boundary_painter.cc10
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 4b11b9899..9300e808b 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 0c9681c25..a15697a7f 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 4ce104f77..8f1085654 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 6c92888a6..3a60adf7d 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 b07bcb51f..2b842e53c 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();