Commit f2719962 authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor typos

Differential Revision: https://phabricator.kde.org/D15540
parent 80647e8b
......@@ -83,7 +83,7 @@ struct PathConnectionPoint {
reset();
return;
}
// check if path is still part of the docment
// check if path is still part of the document
if (!canvas->shapeManager()->shapes().contains(path)) {
reset();
return;
......
......@@ -56,7 +56,7 @@ const QString ABR_WET_EDGES = "Wtdg";
const QString ABR_NOISE = "Nose";
const QString ABR_AIRBRUSH = "Rpt "; // repeat
// TODO: if string comaprisons would be slow, convert it to enum
// TODO: if string comparisons would be slow, convert it to enum
enum enumObjectTypes {BRUSH_PRESET, BRUSH, SIZE_VARIANCE, ANGLE_DYNAMICS, ROUNDNESS_DYNAMICS, DUAL_BRUSH, COUNT_DYNAMICS, SCATTER_DYNAMICS, BRUSH_GROUP};
const QString OBJECT_NAME_BRUSH_PRESET = "";
const QString OBJECT_NAME_BRUSH = "Brsh";
......
......@@ -83,7 +83,7 @@ public:
private:
/**
* Construction of a magic string is allowed only with the means
* of speacial macros which resemble their kde-wide counterparts
* of special macros which resemble their kde-wide counterparts
*/
explicit KUndo2MagicString(const QString &text);
......
......@@ -225,7 +225,7 @@ bool KUndo2Command::mergeWith(const KUndo2Command *command)
Applies a change to the document. This function must be implemented in
the derived class. Calling KUndo2QStack::push(),
KUndo2QStack::undo() or KUndo2QStack::redo() from this function leads to
undefined beahavior.
undefined behavior.
The default implementation calls redo() on all child commands.
......@@ -243,7 +243,7 @@ void KUndo2Command::redo()
the document should be the same as before redo() was called. This function must
be implemented in the derived class. Calling KUndo2QStack::push(),
KUndo2QStack::undo() or KUndo2QStack::redo() from this function leads to
undefined beahavior.
undefined behavior.
The default implementation calls undo() on all child commands in reverse order.
......@@ -582,7 +582,7 @@ void KUndo2QStack::purgeRedoState()
}
/*! \internal
If the number of commands on the stack exceedes the undo limit, deletes commands from
If the number of commands on the stack exceeds the undo limit, deletes commands from
the bottom of the stack.
Returns true if commands were deleted.
......@@ -742,7 +742,7 @@ void KUndo2QStack::push(KUndo2Command *cmd)
* T1 : Time lapsed between current command and previously merged command
* -- signal to merge throughout the stack.
*
* T2 : Time elapsed between two commands signalling both commands belong
* T2 : Time elapsed between two commands signaling both commands belong
* of the same set
*
* Whenever a KUndo2Command is initialized -- it consists of a start-time
......
......@@ -48,7 +48,7 @@ class KoCanvasControllerProxyObject;
* Flake does not provide a canvas, the application will have to
* implement a canvas themselves. You canvas can be QWidget-based
* or something we haven't invented yet -- as long the class that holds the canvas
* imlements KoCanvasController, tools, scrolling and zooming will work.
* implements KoCanvasController, tools, scrolling and zooming will work.
*
* A KoCanvasController implementation acts as a decorator around the canvas widget
* and provides a way to scroll the canvas, allows the canvas to be centered
......
......@@ -45,7 +45,7 @@ class QSizeF;
* for the most common ones. All variables are always stored inside a QVariant
* instance internally and you can always just use the resource() method to get
* that directly.
* The way to store arbitairy data objects that are stored as pointers you can use
* The way to store arbitrary data objects that are stored as pointers you can use
* the following code snippets;
* @code
* QVariant variant;
......
......@@ -176,7 +176,7 @@ bool KoConnectionShapePrivate::intersects(const QPointF &p1, const QPointF &d1,
// use cross product to check if rays intersects at all
qreal cp = crossProd(d1, d2);
if (cp == 0.0) {
// rays are parallel or coincidient
// rays are parallel or coincident
if (p1.x() == p2.x() && d1.x() == 0.0 && d1.y() != d2.y()) {
// vertical, coincident
isect = 0.5 * (p1 + p2);
......
......@@ -49,7 +49,7 @@ class QSizeF;
* for the most common ones. All variables are always stored inside a QVariant
* instance internally and you can always just use the resource() method to get
* that directly.
* The way to store arbitairy data objects that are stored as pointers you can use
* The way to store arbitrary data objects that are stored as pointers you can use
* the following code snippets;
* @code
* QVariant variant;
......
......@@ -39,7 +39,7 @@ public:
/**
* Create and return the context used for saving
*
* If you need a special context for saving you can reimplent this function.
* If you need a special context for saving you can reimplement this function.
* The default implementation return a KoShapeSavingContext.
*
* The returned context is valid as long as the KoDragOdfSaveHelper is existing
......
......@@ -156,7 +156,7 @@ protected:
/**
* Saves common filter attributes
*
* Saves result, subregion and input attributes. The input attrinbute
* Saves result, subregion and input attributes. The input attribute
* is only saved if required, maximal and actual input count equals 1.
* All other filters have to write inputs on their own.
*/
......
......@@ -116,7 +116,7 @@ void KoGradientBackground::paint(QPainter &painter, const KoViewConverter &/*con
*
* Qt has different notation of QBrush::setTransform() in comparison
* to what SVG defines. SVG defines gradientToUser matrix to be postmultiplied
* by QBrush::transform(), but Qt does exectly reverse!
* by QBrush::transform(), but Qt does exactly reverse!
*
* That most probably has beed caused by the fact that Qt uses transposed
* matrices and someone just mistyped the stuff long ago :(
......
......@@ -253,7 +253,7 @@ public:
/**
* Returns if this point is a smooth join of adjacent path segments.
*
* The smoothess is defined by the parallelness of the tangents emanating
* The smoothness is defined by the parallelness of the tangents emanating
* from the knot point, i.e. the normalized vectors from the knot to the
* first and second control point.
* The previous and next path points are used to determine the smoothness
......
......@@ -825,7 +825,7 @@ QList<QPointF> KoPathSegment::intersections(const KoPathSegment &segment) const
which forms another explicit bezier curve
D(t) = (t,d(t)) = sum_i D_i B_{n,i}(t)
now values of t for which P(t) lies outside of our fat line L
corrsponds to values of t for which D(t) lies above d = dmax or
corresponds to values of t for which D(t) lies above d = dmax or
below d = dmin
we can determine parameter ranges of t for which P(t) is guaranteed
to lie outside of L by identifying ranges of t which the convex hull
......
......@@ -600,7 +600,7 @@ QRectF KoPathShape::boundingRect() const
QSizeF KoPathShape::size() const
{
// don't call boundingRect here as it uses absoluteTransformation
// which itself uses size() -> leads to infinite reccursion
// which itself uses size() -> leads to infinite recursion
return outlineRect().size();
}
......
......@@ -255,7 +255,7 @@ public:
/**
* @brief Returns the segment specified by a path point index
*
* A semgent is defined by the point index of the first point in the segment.
* A segment is defined by the point index of the first point in the segment.
* A segment contains the defined point and its following point. If the subpath is
* closed and the and the pointIndex point to the last point in the subpath, the
* following point is the first point in the subpath.
......@@ -440,7 +440,7 @@ public:
*/
virtual QString pathShapeId() const;
/// Returns a odf/svg string represenatation of the path data with the given matrix applied.
/// Returns a odf/svg string representation of the path data with the given matrix applied.
QString toString(const QTransform &matrix = QTransform()) const;
/// Returns the fill rule for the path object
......@@ -499,7 +499,7 @@ protected:
* @param sweepAngle the length of the angle
* TODO add param to have angle of the ellipse
* @param offset to the first point in the arc
* @param curvePoints a array which take the cuve points, pass a 'QPointF curvePoins[12]';
* @param curvePoints a array which take the curve points, pass a 'QPointF curvePoins[12]';
*
* @return number of points created by the curve
*/
......
......@@ -56,7 +56,7 @@ public:
* z symmetric
*
* The first point of a path is always of the type c.
* If the path is closed the type of the first point is saved in the last elemeent
* If the path is closed the type of the first point is saved in the last element
* E.g. you have a closed path with 2 points in it. The first one (start/end of path)
* is symmetric and the second one is smooth that will result in the nodeType="czs"
* So if there is a closed sub path the nodeTypes contain one more entry then there
......
......@@ -42,7 +42,7 @@
* @brief The KoRTree class is a template class that provides a R-tree.
*
* This class implements a R-tree as described in
* "R-TREES. A DYNAMIC INDEX STRUCTURE FOR SPATIAL SEARCHING" by Antomn Guttman
* "R-TREES. A DYNAMIC INDEX STRUCTURE FOR SPATIAL SEARCHING" by Antonin Guttman
*
* It only supports 2 dimensional bounding boxes which are represented by a QRectF.
* For node splitting the Quadratic-Cost Algorithm is used as described by Guttman.
......@@ -454,7 +454,7 @@ void KoRTree<T>::remove(const T&data)
//debugFlake << "KoRTree remove";
LeafNode * leaf = m_leafMap[data];
// Trying to remove unexistent leaf. Most probably, this leaf hasn't been added
// Trying to remove inexistent leaf. Most probably, this leaf hasn't been added
// to the shape manager correctly
KIS_SAFE_ASSERT_RECOVER_RETURN(leaf);
......
......@@ -183,7 +183,7 @@ public:
* This can be done with a method like:
* <code>
painter.fillRect(converter.normalToView(QRectF(QPointF(0.0,0.0), size())), background());</code>
* Or equavalent for non-square objects.
* Or equivalent for non-square objects.
* Do note that a shape's top-left is always at coordinate 0,0. Even if the shape itself is rotated
* or translated.
* @param painter used for painting the shape
......@@ -1045,7 +1045,7 @@ public:
* until it is fully done processing.
* Warning! This method can be blocking for a long time
* @param asynchronous If set to true the processing will can take place in a different thread and the
* function will not block until the shape is finised.
* function will not block until the shape is finished.
* In case of printing Flake will call this method from a non-main thread and only
* start printing it when the in case of printing method returned.
* If set to false the processing needs to be done synchronously and will
......
......@@ -155,8 +155,8 @@ public:
* to inform the container of such a change. The change has already happened at the
* time this method is called.
* The base implementation notifies the grand parent of the shape that there was a
* change in a shape. A reimplentation if this function should call this method when
* overwriding the function.
* change in a shape. A reimplementation if this function should call this method when
* overriding the function.
*
* @param shape the shape that has been changed
* @param type this enum shows which change the shape has had.
......
......@@ -136,7 +136,7 @@ public:
QRectF documentRectInPixels() const;
/**
* Resolution of the rasterized representaiton of the document. Used to load SVG documents correctly.
* Resolution of the rasterized representation of the document. Used to load SVG documents correctly.
*/
qreal pixelsPerInch() const;
......
......@@ -99,7 +99,7 @@ public:
QRectF documentRect() const;
/**
* Resolution of the rasterized representaiton of the document. Used to load SVG documents correctly.
* Resolution of the rasterized representation of the document. Used to load SVG documents correctly.
*/
virtual qreal pixelsPerInch() const = 0;
......
......@@ -403,7 +403,7 @@ bool KoToolBase::isInTextMode() const
void KoToolBase::requestUndoDuringStroke()
{
/**
* Default implementation just cancells the stroke
* Default implementation just cancels the stroke
*/
requestStrokeCancellation();
}
......
......@@ -185,7 +185,7 @@ public:
* able to support complex input method operations as support for surrounding
* text and reconversions.
* Default implementation returns simple defaults, for tools that want to provide
* a more responsive text entry experience for CJK languages it would be good to reimplemnt.
* a more responsive text entry experience for CJK languages it would be good to reimplement.
* @param query specifies which property is queried.
* @param converter the view converter for the current canvas.
*/
......
......@@ -119,7 +119,7 @@ private:
per view, because this is a class with scrollbars and a zoomlevel and so on)
- for every pointing device (determined by the unique id of tablet,
or 0 for mice -- you may have more than one mouse attached, but
Qt cannot distinquish between them, there is an associated tool.
Qt cannot distinguish between them, there is an associated tool.
- depending on things like tablet leave/enter proximity, incoming
mouse or tablet events and a little timer (that gets stopped when
we know what is what), the active pointing device is determined,
......
......@@ -33,7 +33,7 @@ class KoShape;
class KRITAFLAKE_EXPORT KoShapeDistributeCommand : public KUndo2Command
{
public:
/// The different options to ditribute with this command
/// The different options to distribute with this command
enum Distribute {
HorizontalCenterDistribution, ///< Horizontal centered
HorizontalGapsDistribution, ///< Horizontal Gaps
......
......@@ -72,7 +72,7 @@ public:
* @param manager the shapeManager that contains all the shapes that could have their indexes changed.
* @param move the moving type.
* @param parent the parent command for grouping purposes.
* @return command for reording the shapes or 0 if no reordering happened
* @return command for reordering the shapes or 0 if no reordering happened
*/
static KoShapeReorderCommand *createCommand(const QList<KoShape*> &shapes, KoShapeManager *manager,
MoveShapeType move, KUndo2Command *parent = 0);
......@@ -86,7 +86,7 @@ public:
* Note2: the collisions inside \p shapes are ignored. They are just
* adjusted to avoid collisions with \p newShape only
* @param parent the parent command for grouping purposes.
* @return command for reording the shapes or 0 if no reordering happened
* @return command for reordering the shapes or 0 if no reordering happened
*/
static KoShapeReorderCommand *mergeInShape(QList<KoShape*> shapes, KoShape *newShape,
KUndo2Command *parent = 0);
......
......@@ -2964,7 +2964,7 @@ void TestSvgParser::testMarkersOnClosedPath()
}
void TestSvgParser::testGradientRecoveringTrasnform()
void TestSvgParser::testGradientRecoveringTransform()
{
// used for experimenting purposes only!
......@@ -2984,12 +2984,12 @@ void TestSvgParser::testGradientRecoveringTrasnform()
gradient.setColorAt(0.0, Qt::red);
gradient.setColorAt(1.0, Qt::blue);
QTransform gradientTrasnform;
gradientTrasnform.shear(0.2, 0);
QTransform gradientTransform;
gradientTransform.shear(0.2, 0);
{
QBrush brush(gradient);
brush.setTransform(gradientTrasnform);
brush.setTransform(gradientTransform);
painter.setBrush(brush);
}
......@@ -3017,7 +3017,7 @@ void TestSvgParser::testGradientRecoveringTrasnform()
{
gradient.setCoordinateMode(QGradient::LogicalMode);
QBrush brush(gradient);
brush.setTransform(gradientTrasnform * gradientToUser * smallShapeTransform.inverted());
brush.setTransform(gradientTransform * gradientToUser * smallShapeTransform.inverted());
painter.setBrush(brush);
painter.setPen(Qt::NoPen);
}
......
......@@ -158,7 +158,7 @@ private Q_SLOTS:
void testMarkersDifferent();
void testGradientRecoveringTrasnform();
void testGradientRecoveringTransform();
void testMarkersOnClosedPath();
void testMarkersAngularUnits();
......
......@@ -47,7 +47,7 @@ class KoSvgTextChunkShapeLayoutInterface;
*
* WARNING: beware the difference between "svg-text-chunk" and
* KoSvgTextChunkShape! The chunk shape is **not** a "text chunk" in SVG's
* definition. Accrding to SVG, "text chunk" is a set of characters anchored to
* definition. According to SVG, "text chunk" is a set of characters anchored to
* a specific absolute position on canvas. And KoSvgTextChunkShape is just one
* <tspan> or <text> element. Obviously, one <tspan> can contain multiple "text
* chunks" and, vice versa, a "text chunk" can spread onto multiple <span>'s.
......@@ -101,7 +101,7 @@ public:
* or not. That is not a problem for normal shapes, but it cannot work for
* text shapes. The text has different inheritance rules: if the parent
* text chunk has a gradient fill, its inheriting descendants will
* **smoothly continue** this grandient. They will not start a new gradient
* **smoothly continue** this gradient. They will not start a new gradient
* in their local coordinate system.
*
* Therefore, after loading, the loading code calls
......
......@@ -619,7 +619,7 @@ bool KoSvgTextShapeMarkupConverter::convertDocumentToSvg(const QTextDocument *do
/**
* The alignment rule will be inverted while rendering the text in the text shape
* (accordign to the standard the alignment is defined not by "left" or "right",
* (according to the standard the alignment is defined not by "left" or "right",
* but by "start" and "end", which inverts for rtl text)
*/
Qt::Alignment blockAlignment = block.blockFormat().alignment();
......
......@@ -45,7 +45,7 @@ public:
* Constructor that initiates the rubber select.
* A rubber select is basically rectangle area that the user drags out
* from @p clicked to a point later provided in the handleMouseMove() continuously
* showing a semi-transarant 'rubber-mat' over the objects it is about to select.
* showing a semi-transparent 'rubber-mat' over the objects it is about to select.
* @param tool the parent tool which controls this strategy
* @param clicked the initial point that the user depressed (in pt).
* @param useSnapToGrid use the snap-to-grid settings while doing the rubberstamp.
......
......@@ -78,7 +78,7 @@ public:
* painted along the line using the spacing setting.
*
* @return the drag distance, that is the remains of the distance
* between p1 and p2 not covered because the currenlty set brush
* between p1 and p2 not covered because the currently set brush
* has a spacing greater than that distance.
*/
virtual void paintLine(const KisPaintInformation &pi1,
......@@ -90,7 +90,7 @@ public:
* If savedDist is less than zero, the brush is painted at pos1 before being
* painted along the curve using the spacing setting.
* @return the drag distance, that is the remains of the distance between p1 and p2 not covered
* because the currenlty set brush has a spacing greater than that distance.
* because the currently set brush has a spacing greater than that distance.
*/
virtual void paintBezierCurve(const KisPaintInformation &pi1,
const QPointF &control1,
......@@ -114,7 +114,7 @@ public:
/**
* If the preset supports asynchronous updates, then the stroke execution core will
* call this method with a desured frame rate. The jobs that should be run to prepare the update
* call this method with a desired frame rate. The jobs that should be run to prepare the update
* are returned via \p jobs
*
* @return a pair of <the desired FPS rate (period of updates); are there any unprocessed update jobs left?>
......
......@@ -118,8 +118,8 @@ void paintLine(PaintOp &op,
* A special class containing the previous position of the cursor for
* the sake of painting the outline of the paint op. The main purpose
* of this class is to ensure that the saved point does not equal to
* the current one, which would cause a outline flicker. To echieve
* this the class stores two previosly requested points instead of the
* the current one, which would cause a outline flicker. To achieve
* this the class stores two previously requested points instead of the
* last one.
*/
class KRITAIMAGE_EXPORT PositionHistory
......
......@@ -211,7 +211,7 @@ public:
return (outXMask | outYMask);
}
// Apply fader separatedly to avoid calculating vValue twice.
// Apply fader separately to avoid calculating vValue twice.
void apply2DFader(Vc::float_v &vValue, Vc::float_m &excludeMask, Vc::float_v &xr, Vc::float_v &yr) const {
const Vc::float_v vValMax(255.f);
......
......@@ -162,11 +162,11 @@ FastRowProcessor::process<Vc::CurrentImplementation::current()>(float* buffer, i
//255 * n * (normeFade - 1) / (normeFade - n)
Vc::float_v vFade = n * (vNormFade - vOne) / (vNormFade - n);
// Mask in the inner circe of the mask
// Mask in the inner circle of the mask
Vc::float_m mask = vNormFade < vOne;
vFade.setZero(mask);
// Mask out the outer circe of the mask
// Mask out the outer circle of the mask
vFade(outsideMask) = vOne;
vFade.store(bufferPointer, Vc::Aligned);
......@@ -240,15 +240,15 @@ FastRowProcessor::process<Vc::CurrentImplementation::current()>(float* buffer, i
Vc::float_v fullFade = vAlphafactor * ( VcExtraMath::erf(valDist + vCenter) - VcExtraMath::erf(valDist - vCenter));
Vc::float_m mask;
// Mask in the inner circe of the mask
// Mask in the inner circle of the mask
mask = fullFade < vZero;
fullFade.setZero(mask);
// Mask the outter circle
// Mask the outer circle
mask = fullFade > 254.974f;
fullFade(mask) = vValMax;
// Mask (value - value), presicion errors.
// Mask (value - value), precision errors.
Vc::float_v vFade = (vValMax - fullFade) / vValMax;
// return original dist values before vFade transform
......@@ -339,7 +339,7 @@ FastRowProcessor::process<Vc::CurrentImplementation::current()>(float* buffer, i
alphaValueF * vCurvedData1);
Vc::float_m mask;
// Mask in the inner circe of the mask
// Mask in the inner circle of the mask
mask = fullFade < vZero;
fullFade.setZero(mask);
......@@ -452,7 +452,7 @@ FastRowProcessor::process<Vc::CurrentImplementation::current()>(float* buffer, i
vFade(fadeXMask) = fxrNorm;
vFade(!fadeXMask && fadeYMask) = fyrNorm;
// Mask out the outer circe of the mask
// Mask out the outer circle of the mask
vFade(outsideMask) = vOne;
vFade.store(bufferPointer, Vc::Aligned);
} else {
......@@ -520,15 +520,15 @@ FastRowProcessor::process<Vc::CurrentImplementation::current()>(float* buffer, i
Vc::float_m mask;
// Mask in the inner circe of the mask
// Mask in the inner circle of the mask
mask = fullFade < vZero;
fullFade.setZero(mask);
// Mask the outter circle
// Mask the outer circle
mask = fullFade > 254.974f;
fullFade(mask) = vValMax;
// Mask (value - value), presicion errors.
// Mask (value - value), precision errors.
Vc::float_v vFade = fullFade / vValMax;
// return original vValue values before vFade transform
......@@ -627,15 +627,15 @@ FastRowProcessor::process<Vc::CurrentImplementation::current()>(float* buffer, i
Vc::float_m mask;
// Mask in the inner circe of the mask
// Mask in the inner circle of the mask
mask = fullFade < vZero;
fullFade.setZero(mask);
// Mask the outter circle
// Mask the outer circle
mask = fullFade > 254.974f;
fullFade(mask) = vValMax;
// Mask (value - value), presicion errors.
// Mask (value - value), precision errors.
Vc::float_v vFade = fullFade / vValMax;
// return original vValue values before vFade transform
......
......@@ -103,7 +103,7 @@ public:
bool writeToAlpha = false);
/**
* @brief converToNormalMap
* Convert a channel of the device to a normal map. The channel will be interpretted as a heightmap.
* Convert a channel of the device to a normal map. The channel will be interpreted as a heightmap.
* @param device the device
* @param rect the rectangle to apply this to.
* @param xRadius the xradius
......
......@@ -98,7 +98,7 @@ static bool checkForAsymmetricZeros = false;
* this class is created before a pass of the transformation basing on
* the desired scale factor and the filter strategy used for resampling.
*
* Here is an exmple of a calculation of the span for a pixel with
* Here is an example of a calculation of the span for a pixel with
* scale equal to 1.0. The result of the blending will be written into
* the dst(0) pixel, which is marked with '*' sign. Note that all the
* coordinates here are related to the center of the pixel, not to its
......
......@@ -213,7 +213,7 @@ struct PaintDevicePolygonOp
// brain-blowing part:
//
// since the interpolator does the inverted
// transfomation we read data from "dstPoint"
// transformation we read data from "dstPoint"
// (which is non-transformed) and write it into
// "srcPoint" (which is transformed position)
......
......@@ -80,7 +80,7 @@ public:
KisPaintDeviceSP paintDevice() const override;
/**
Accect the specified visitor.
Accept the specified visitor.
@return true if the operation succeeded, false if it failed.
*/
bool accept(KisNodeVisitor &v) override;
......
......@@ -227,7 +227,7 @@ public:
*
* Please note that the actual operation starts asynchronously in
* a background, so you cannot expect the image having new size
* right after ths call.
* right after this call.
*/
void resizeImage(const QRect& newRect);
......@@ -243,7 +243,7 @@ public:
*
* Please note that the actual operation starts asynchronously in
* a background, so you cannot expect the image having new size
* right after ths call.
* right after this call.
*/
void cropImage(const QRect& newRect);
......@@ -258,7 +258,7 @@ public:
*
* Please note that the actual operation starts asynchronously in
* a background, so you cannot expect the image having new size
* right after ths call.
* right after this call.
*/
void cropNode(KisNodeSP node, const QRect& newRect);
......@@ -271,7 +271,7 @@ public:
*
* Please note that the actual operation starts asynchronously in
* a background, so you cannot expect the image having new size
* right after ths call.
* right after this call.
*/
void scaleImage(const QSize &size, qreal xres, qreal yres, KisFilterStrategy *filterStrategy);
......@@ -283,7 +283,7 @@ public:
*
* Please note that the actual operation starts asynchronously in
* a background, so you cannot expect the image having new size
* right after ths call.
* right after this call.
*/
void scaleNode(KisNodeSP node, const QPointF &center, qreal scaleX, qreal scaleY, KisFilterStrategy *filterStrategy, KisSelectionSP selection);
......@@ -587,7 +587,7 @@ public:
vKisAnnotationSP_it endAnnotations();
/**
* Called before the image is delted and sends the sigAboutToBeDeleted signal
* Called before the image is deleted and sends the sigAboutToBeDeleted signal
*/
void notifyAboutToBeDeleted();
......@@ -1054,7 +1054,7 @@ public Q_SLOTS:
/**
* Same as requestStrokeEnd() but is called by view manager when
* the current node is changed. Use to dintinguish
* the current node is changed. Use to distinguish
* sigStrokeEndRequested() and
* sigStrokeEndRequestedActiveNodeFiltered() which are used by
* KisNodeJugglerCompressed
......
......@@ -953,7 +953,7 @@ namespace KisLayerUtils {
applicator.applyCommand(new RefreshDelayedUpdateLayers(info), KisStrokeJobData::BARRIER);
applicator.applyCommand(new KUndo2Command(), KisStrokeJobData::BARRIER);
// in two-layer mode we disable pass trhough only when the destination layer
// in two-layer mode we disable pass through only when the destination layer
// is not a group layer
applicator.applyCommand(new DisablePassThroughForHeadsOnly(info, true));
applicator.applyCommand(new KUndo2Command(), KisStrokeJobData::BARRIER);
......
......@@ -117,7 +117,7 @@ public:
virtual ~KisLockFreeCache() {}
/**
* Notify the chache that the value has changed
* Notify the cache that the value has changed
*/
void invalidate() {
m_state.invalidate();
......
......@@ -28,7 +28,7 @@
* layer object.
*
* Please note that recalculate() and apply() methods are not defined
* for masks, because the KisLayer code still uses tranditional
* for masks, because the KisLayer code still uses traditional
* methods of KisMask directly.
*/
class KisMaskProjectionPlane : public KisAbstractProjectionPlane
......