diff --git a/libs/color/colord/org.freedesktop.ColorManager.Device.xml b/libs/color/colord/org.freedesktop.ColorManager.Device.xml --- a/libs/color/colord/org.freedesktop.ColorManager.Device.xml +++ b/libs/color/colord/org.freedesktop.ColorManager.Device.xml @@ -309,7 +309,7 @@ The default option is hard, and this means that the user has explicitly mapped a profile to - a device, and this should take precidence over any + a device, and this should take precedence over any soft profiles. diff --git a/libs/flake/KoShape.cpp b/libs/flake/KoShape.cpp --- a/libs/flake/KoShape.cpp +++ b/libs/flake/KoShape.cpp @@ -568,7 +568,7 @@ * zIndex are **merged**, while in Krita the contents of groups * is never merged. One group will always below than the other. * Therefore, when zIndex of two groups inside the same parent - * coinside, the resulting painting order in Krita is + * coincide, the resulting painting order in Krita is * **UNDEFINED**. * * To avoid this trouble we use KoShapeReorderCommand::mergeInShape() diff --git a/libs/flake/KoShapeSavingContext.cpp b/libs/flake/KoShapeSavingContext.cpp --- a/libs/flake/KoShapeSavingContext.cpp +++ b/libs/flake/KoShapeSavingContext.cpp @@ -247,7 +247,7 @@ QString KoShapeSavingContext::imageHref(const QImage &image) { // TODO this can be optimized to recognize images which have the same content - // Also this can use quite a lot of memeory as the qimage are all kept until + // Also this can use quite a lot of memory as the qimage are all kept until // they are saved to the store in memory QString href = QString("Pictures/image%1.png").arg(++d->imageId); d->images.insert(href, image); diff --git a/libs/flake/KoToolBase.h b/libs/flake/KoToolBase.h --- a/libs/flake/KoToolBase.h +++ b/libs/flake/KoToolBase.h @@ -309,7 +309,7 @@ virtual void dropEvent(QDropEvent *event, const QPointF &point); /** - * @return a menu with context-aware actions for the currect selection. If + * @return a menu with context-aware actions for the current selection. If * the returned value is null, no context menu is shown. */ virtual QMenu* popupActionsMenu(); diff --git a/libs/flake/commands/KoShapeAlignCommand.h b/libs/flake/commands/KoShapeAlignCommand.h --- a/libs/flake/commands/KoShapeAlignCommand.h +++ b/libs/flake/commands/KoShapeAlignCommand.h @@ -45,7 +45,7 @@ /** * Command to align a set of shapes in a rect * @param shapes a set of all the shapes that should be aligned - * @param align the aligment type + * @param align the alignment type * @param boundingRect the rect the shape will be aligned in * @param parent the parent command used for macro commands */ diff --git a/libs/flake/commands/KoShapeReorderCommand.cpp b/libs/flake/commands/KoShapeReorderCommand.cpp --- a/libs/flake/commands/KoShapeReorderCommand.cpp +++ b/libs/flake/commands/KoShapeReorderCommand.cpp @@ -88,7 +88,7 @@ { KUndo2Command::redo(); for (int i = 0; i < d->shapes.count(); i++) { - // z-index cannot chage the bounding rect of the shape, so + // z-index cannot change the bounding rect of the shape, so // no united updates needed d->shapes.at(i)->setZIndex(d->newIndexes.at(i)); d->shapes.at(i)->update(); @@ -99,7 +99,7 @@ { KUndo2Command::undo(); for (int i = 0; i < d->shapes.count(); i++) { - // z-index cannot chage the bounding rect of the shape, so + // z-index cannot change the bounding rect of the shape, so // no united updates needed d->shapes.at(i)->setZIndex(d->previousIndexes.at(i)); d->shapes.at(i)->update(); diff --git a/libs/flake/svg/SvgParser.h b/libs/flake/svg/SvgParser.h --- a/libs/flake/svg/SvgParser.h +++ b/libs/flake/svg/SvgParser.h @@ -64,7 +64,7 @@ void setResolution(const QRectF boundsInPixels, qreal pixelsPerInch); - /// A special workaround coeff for usign when loading old ODF-embedded SVG files, + /// A special workaround coeff for using when loading old ODF-embedded SVG files, /// which used hard-coded 96 ppi for font size void setForcedFontSizeResolution(qreal value); @@ -198,7 +198,7 @@ void applyId(const QString &id, KoShape *shape); /// Applies viewBox transformation to the current graphical context - /// NOTE: after applying the function currectBoundingBox can become null! + /// NOTE: after applying the function currentBoundingBox can become null! void applyViewBoxTransform(const KoXmlElement &element); private: diff --git a/libs/flake/svg/SvgSavingContext.h b/libs/flake/svg/SvgSavingContext.h --- a/libs/flake/svg/SvgSavingContext.h +++ b/libs/flake/svg/SvgSavingContext.h @@ -49,7 +49,7 @@ /// Provides access to the shape writer KoXmlWriter &shapeWriter(); - /// Create a unqiue id from the specified base text + /// Create a unique id from the specified base text QString createUID(const QString &base); /// Returns the unique id for the given shape diff --git a/libs/flake/svg/SvgSavingContext.cpp b/libs/flake/svg/SvgSavingContext.cpp --- a/libs/flake/svg/SvgSavingContext.cpp +++ b/libs/flake/svg/SvgSavingContext.cpp @@ -144,7 +144,7 @@ else id = "shape"; } - // create a compeletely new id based on object name + // create a completely new id based on object name // or a generic name id = createUID(id); } diff --git a/libs/flake/tests/TestImageCollection.cpp b/libs/flake/tests/TestImageCollection.cpp --- a/libs/flake/tests/TestImageCollection.cpp +++ b/libs/flake/tests/TestImageCollection.cpp @@ -179,7 +179,7 @@ QPixmap pixmap3 = data.pixmap(); QCOMPARE(pixmap.cacheKey(), pixmap3.cacheKey()); - // now get a differen size; + // now get a different size; QPixmap pixmap4 = data.pixmap(QSize(10, 12)); QCOMPARE(pixmap.width(), 40); QCOMPARE(pixmap.height(), 41); diff --git a/libs/flake/text/KoSvgTextShape.cpp b/libs/flake/text/KoSvgTextShape.cpp --- a/libs/flake/text/KoSvgTextShape.cpp +++ b/libs/flake/text/KoSvgTextShape.cpp @@ -119,7 +119,7 @@ /** * HACK ALERT: - * QTextLayout should only be accessed from the tread it has been created in. + * QTextLayout should only be accessed from the thread it has been created in. * If the cached layout has been created in a different thread, we should just * recreate the layouts in the current thread to be able to render them. */ @@ -196,7 +196,7 @@ QPainterPath path; path.addRect(overlineBlob); - // don't use direct addRect, because it does't care about Qt::WindingFill + // don't use direct addRect, because it doesn't care about Qt::WindingFill result += path; } @@ -209,7 +209,7 @@ QPainterPath path; path.addRect(strikeThroughBlob); - // don't use direct addRect, because it does't care about Qt::WindingFill + // don't use direct addRect, because it doesn't care about Qt::WindingFill result += path; } @@ -221,7 +221,7 @@ QPainterPath path; path.addRect(underlineBlob); - // don't use direct addRect, because it does't care about Qt::WindingFill + // don't use direct addRect, because it doesn't care about Qt::WindingFill result += path; } } diff --git a/libs/flake/tools/KoZoomStrategy.h b/libs/flake/tools/KoZoomStrategy.h --- a/libs/flake/tools/KoZoomStrategy.h +++ b/libs/flake/tools/KoZoomStrategy.h @@ -36,7 +36,7 @@ * constructor * @param tool the parent tool this strategy is for * @param controller the canvas controller that wraps the canvas the tool is acting on. - * @param clicked the location (in documnet points) where the interaction starts. + * @param clicked the location (in document points) where the interaction starts. */ KoZoomStrategy(KoZoomTool *tool, KoCanvasController *controller, const QPointF &clicked); diff --git a/libs/image/kis_paint_device.h b/libs/image/kis_paint_device.h --- a/libs/image/kis_paint_device.h +++ b/libs/image/kis_paint_device.h @@ -362,7 +362,7 @@ /** * Checks whether a src paint device can be used as source * of fast bitBlt operation. The result of the check may - * depend on whether color spaces coinside, whether there is + * depend on whether color spaces coincide, whether there is * any shift of tiles between the devices and etc. * * WARNING: This check must be done before performing any @@ -793,7 +793,7 @@ * Create an iterator that will "artificially" extend the paint device with the * value of the border when trying to access values outside the range of data. * - * @param rc indicates the rectangle that trully contains data + * @param rc indicates the rectangle that truly contains data */ KisRepeatVLineConstIteratorSP createRepeatVLineConstIterator(qint32 x, qint32 y, qint32 h, const QRect& _dataWidth) const; diff --git a/libs/image/kis_repeat_iterators_pixel.h b/libs/image/kis_repeat_iterators_pixel.h --- a/libs/image/kis_repeat_iterators_pixel.h +++ b/libs/image/kis_repeat_iterators_pixel.h @@ -75,7 +75,7 @@ { public: /** - * @param rc indicates the rectangle that trully contains data + * @param rc indicates the rectangle that truly contains data */ inline KisRepeatHLineIteratorPixelBase(KisDataManager *dm, qint32 x, qint32 y, qint32 w, qint32 offsetx, qint32 offsety, const QRect& _rc, KisIteratorCompleteListener *completeListener); inline ~KisRepeatHLineIteratorPixelBase() override; @@ -101,7 +101,7 @@ { public: /** - * @param rc indicates the rectangle that trully contains data + * @param rc indicates the rectangle that truly contains data */ inline KisRepeatVLineIteratorPixelBase(KisDataManager *dm, qint32 x, qint32 y, qint32 h, qint32 offsetx, qint32 offsety, const QRect& _rc, KisIteratorCompleteListener *completeListener); inline ~KisRepeatVLineIteratorPixelBase() override; diff --git a/libs/image/kis_selection_filters.cpp b/libs/image/kis_selection_filters.cpp --- a/libs/image/kis_selection_filters.cpp +++ b/libs/image/kis_selection_filters.cpp @@ -612,7 +612,7 @@ } pixelSelection->writeBytes(out, rect.x(), rect.y() + y, rect.width(), 1); } - /* undo the offsets to the pointers so we can free the malloced memmory */ + /* undo the offsets to the pointers so we can free the malloced memory */ circ -= m_xRadius; max -= m_xRadius; @@ -762,7 +762,7 @@ pixelSelection->writeBytes(out, rect.x(), rect.y() + y, rect.width(), 1); } - // undo the offsets to the pointers so we can free the malloced memmory + // undo the offsets to the pointers so we can free the malloced memory circ -= m_xRadius; max -= m_xRadius; diff --git a/libs/image/kis_transform_worker.cc b/libs/image/kis_transform_worker.cc --- a/libs/image/kis_transform_worker.cc +++ b/libs/image/kis_transform_worker.cc @@ -453,7 +453,7 @@ } /** - * If the axis is not aligned, that is crosses some pixel cell, we shoudl just skip this + * If the axis is not aligned, that is crosses some pixel cell, we should just skip this * column and not process it. Actually, how can we mirror the central single-pixel column? */ const bool axisNonAligned = qFloor(axis) < axis; diff --git a/libs/image/lazybrush/KisWatershedWorker.h b/libs/image/lazybrush/KisWatershedWorker.h --- a/libs/image/lazybrush/KisWatershedWorker.h +++ b/libs/image/lazybrush/KisWatershedWorker.h @@ -50,7 +50,7 @@ * @brief Adds a key stroke to the worker. * * The key strokes may intersect, in which case the lastly added stroke will have - * a proirity over all the previous ones. + * a priority over all the previous ones. * * @param dev alpha8 paint device of the key stroke, may contain disjoint areas * @param color the color of the stroke diff --git a/libs/image/metadata/kis_meta_data_value.cc b/libs/image/metadata/kis_meta_data_value.cc --- a/libs/image/metadata/kis_meta_data_value.cc +++ b/libs/image/metadata/kis_meta_data_value.cc @@ -397,7 +397,7 @@ Q_ASSERT(d->type == LangArray); QMap langArray; Q_FOREACH (const KisMetaData::Value& val, *d->value.array) { - Q_ASSERT(val.d->propertyQualifiers.contains("xml:lang")); // TODO propably worth to have an assert for this in the constructor as well + Q_ASSERT(val.d->propertyQualifiers.contains("xml:lang")); // TODO probably worth to have an assert for this in the constructor as well KisMetaData::Value valKeyVal = val.d->propertyQualifiers.value("xml:lang"); Q_ASSERT(valKeyVal.type() == Variant); QVariant valKeyVar = valKeyVal.asVariant(); diff --git a/libs/image/tiles3/kis_memento_manager.cc b/libs/image/tiles3/kis_memento_manager.cc --- a/libs/image/tiles3/kis_memento_manager.cc +++ b/libs/image/tiles3/kis_memento_manager.cc @@ -117,7 +117,7 @@ * 4) Then we called clear() and getMemento() [==commit()] * 5) The tile will be registered as deleted and successfully * committed to a revision. That means the states of the memento - * manager at stages 1 and 5 do not coinside. + * manager at stages 1 and 5 do not coincide. * This will not lead to any memory leaks or bugs seen, it just * not good from a theoretical perspective. */ diff --git a/libs/libqml/plugins/components/PageStack.qml b/libs/libqml/plugins/components/PageStack.qml --- a/libs/libqml/plugins/components/PageStack.qml +++ b/libs/libqml/plugins/components/PageStack.qml @@ -291,7 +291,7 @@ } } - // Handles state change depening on transition animation status + // Handles state change depending on transition animation status function setState(newState) { if (transitionAnimationRunning) diff --git a/libs/pigment/KoColorProfileStorage.h b/libs/pigment/KoColorProfileStorage.h --- a/libs/pigment/KoColorProfileStorage.h +++ b/libs/pigment/KoColorProfileStorage.h @@ -43,7 +43,7 @@ * * Encapsulation of the profile accesses inside a separate class lets us * follow this rule without even thinking of it. KoColorProfileStorage just - * *never* calls any method of the registry, therefore lock order inverion is + * *never* calls any method of the registry, therefore lock order inversion is * not possible, */ class KoColorProfileStorage diff --git a/libs/pigment/tests/CCSGraph.cpp b/libs/pigment/tests/CCSGraph.cpp --- a/libs/pigment/tests/CCSGraph.cpp +++ b/libs/pigment/tests/CCSGraph.cpp @@ -60,7 +60,7 @@ parser.process(app); // PORTING SCRIPT: move this to after any parser.addOption if (parser.isSet("graphs")) { - // Don't change those lines to use dbgPigment derivatives, they need to be outputed + // Don't change those lines to use dbgPigment derivatives, they need to be outputted // to stdout not stderr. std::cout << "full : show all the connection on the graph" << std::endl; std::cout << "bestpath : show the best path for a given transformation" << std::endl; diff --git a/libs/ui/KisImportExportFilter.h b/libs/ui/KisImportExportFilter.h --- a/libs/ui/KisImportExportFilter.h +++ b/libs/ui/KisImportExportFilter.h @@ -137,7 +137,7 @@ /** * @brief createConfigurationWidget creates a widget that can be used to define the settings for a given import/export filter - * @param parent the ownder of the widget; the caller is responsible for deleting + * @param parent the owner of the widget; the caller is responsible for deleting * @param from The mimetype of the source file/document * @param to The mimetype of the destination file/document * diff --git a/libs/ui/canvas/kis_canvas_widget_base.cpp b/libs/ui/canvas/kis_canvas_widget_base.cpp --- a/libs/ui/canvas/kis_canvas_widget_base.cpp +++ b/libs/ui/canvas/kis_canvas_widget_base.cpp @@ -74,7 +74,7 @@ KisCanvasWidgetBase::~KisCanvasWidgetBase() { /** - * Clear all the attached decoration. Oherwise they might decide + * Clear all the attached decoration. Otherwise they might decide * to process some events or signals after the canvas has been * destroyed */ diff --git a/libs/ui/dialogs/KisAsyncAnimationRenderDialogBase.h b/libs/ui/dialogs/KisAsyncAnimationRenderDialogBase.h --- a/libs/ui/dialogs/KisAsyncAnimationRenderDialogBase.h +++ b/libs/ui/dialogs/KisAsyncAnimationRenderDialogBase.h @@ -55,7 +55,7 @@ * - one should implement two methods to make the rendering work: * - calcDirtyFrames() * - createRenderer(KisImageSP image) - * - these methids will be called on the start of the rendering + * - these methods will be called on the start of the rendering */ class KRITAUI_EXPORT KisAsyncAnimationRenderDialogBase : public QObject { diff --git a/libs/ui/kis_paintop_box.cc b/libs/ui/kis_paintop_box.cc --- a/libs/ui/kis_paintop_box.cc +++ b/libs/ui/kis_paintop_box.cc @@ -1035,7 +1035,7 @@ if (m_presetsEnabled) { // IMPORTANT: set the PaintOp size before setting the other properties - // it wont work the other way + // it won't work the other way // TODO: why?! m_resourceProvider->setSize(size); diff --git a/libs/ui/tests/modeltest.cpp b/libs/ui/tests/modeltest.cpp --- a/libs/ui/tests/modeltest.cpp +++ b/libs/ui/tests/modeltest.cpp @@ -229,7 +229,7 @@ */ void ModelTest::parent() { - // Make sure the model wont crash and will return an invalid QModelIndex + // Make sure the model won't crash and will return an invalid QModelIndex // when asked for the parent of an invalid index. Q_ASSERT(model->parent(QModelIndex()) == QModelIndex()); diff --git a/libs/ui/tool/kis_tool_paint.cc b/libs/ui/tool/kis_tool_paint.cc --- a/libs/ui/tool/kis_tool_paint.cc +++ b/libs/ui/tool/kis_tool_paint.cc @@ -740,7 +740,7 @@ QRectF outlineDocRect = currentImage()->pixelToDocument(outlinePixelRect); // This adjusted call is needed as we paint with a 3 pixel wide brush and the pen is outside the bounds of the path - // Pen uses view coordinates so we have to zoom the document value to match 2 pixel in view coordiates + // Pen uses view coordinates so we have to zoom the document value to match 2 pixel in view coordinates // See BUG 275829 qreal zoomX; qreal zoomY; diff --git a/libs/ui/widgets/kis_cmb_composite.cc b/libs/ui/widgets/kis_cmb_composite.cc --- a/libs/ui/widgets/kis_cmb_composite.cc +++ b/libs/ui/widgets/kis_cmb_composite.cc @@ -315,7 +315,7 @@ // popup widget to the view // don't know if this is expected behaviour // on all supported platforms. - // Thre is nothing written about this in the docs. + // There is nothing written about this in the docs. showPopup(); } diff --git a/libs/ui/widgets/kis_preset_live_preview_view.h b/libs/ui/widgets/kis_preset_live_preview_view.h --- a/libs/ui/widgets/kis_preset_live_preview_view.h +++ b/libs/ui/widgets/kis_preset_live_preview_view.h @@ -117,7 +117,7 @@ /// internal reference for internal brush size /// used to check if our brush size has changed - /// do zooming and other things internall if it has changed + /// do zooming and other things internally if it has changed float m_currentBrushSize = 1.0; /// the range of brush sizes that will control zooming in/out diff --git a/libs/widgets/KoUnitDoubleSpinBox.h b/libs/widgets/KoUnitDoubleSpinBox.h --- a/libs/widgets/KoUnitDoubleSpinBox.h +++ b/libs/widgets/KoUnitDoubleSpinBox.h @@ -32,7 +32,7 @@ * Spin box for double precision numbers with unit display. * Use this widget for any value that represents a real measurable value for consistency throughout * Krita. - * This widget shows the value in the user-selected units (inch, milimeters, etc) but keeps the + * This widget shows the value in the user-selected units (inch, millimeters, etc) but keeps the * Krita-widget default measurement unit internally. This has the advantage that just setting and * getting a value will not change the value due to conversions. * The KoDocument class has a unit() method for consistent (document wide) configuration of the diff --git a/libs/widgetutils/xmlgui/khelpmenu.h b/libs/widgetutils/xmlgui/khelpmenu.h --- a/libs/widgetutils/xmlgui/khelpmenu.h +++ b/libs/widgetutils/xmlgui/khelpmenu.h @@ -166,7 +166,7 @@ * * The returned menu is configured with an icon, a title and * menu entries. Therefore adding the returned pointer to your menu - * is enougth to have access to the help menu. + * is enough to have access to the help menu. * * Note: This method will only create one instance of the menu. If * you call this method twice or more the same pointer is returned. diff --git a/plugins/tools/karbonplugins/tools/CalligraphyTool/BUGS b/plugins/tools/karbonplugins/tools/CalligraphyTool/BUGS --- a/plugins/tools/karbonplugins/tools/CalligraphyTool/BUGS +++ b/plugins/tools/karbonplugins/tools/CalligraphyTool/BUGS @@ -5,7 +5,7 @@ * ctrl+mouse weel zoom don't center correctly * at times the cpu usage remains very high even without doing anything (shape proprieties seem to be the cause) * colors used are not those of the global palette (I think) -* a "degenerate" curve doesn't show anything... I mean when you have only two points in the same position -- if it has control points it shows as expected in inkscape, firefox, opera, and openoffice, not in konqueror. When it hasn't control points I whould expect it to show, nothing, a circle and a square respectively when using But Cap, Round Cap, and Square Cap. I only tested this for inkscape, which showed this behavior except in the third case, where it didn't show anything. +* a "degenerate" curve doesn't show anything... I mean when you have only two points in the same position -- if it has control points it shows as expected in inkscape, firefox, opera, and openoffice, not in konqueror. When it hasn't control points I would expect it to show, nothing, a circle and a square respectively when using But Cap, Round Cap, and Square Cap. I only tested this for inkscape, which showed this behavior except in the third case, where it didn't show anything. * In a path without control points sometimes at one side there is still a piece of path when there shouldn't... (maybe a Qt bug if it uses QPainterPath to paint) * in KoParameterShape there is a repainting error when moving the control points * when the path generated by the calligraphy tool has a _lot_ of points bezierFit() crashes