Commit 5abff665 authored by luz paz's avatar luz paz Committed by Boudewijn Rempt

libs/libkis typos

Found via `codespell -q 3  -I ../krita-whitelist.txt --skip="./3rdparty,*.xpm"`
Signed-off-by: Boudewijn Rempt's avatarBoudewijn Rempt <boud@valdyas.org>
parent 6e09b4df
......@@ -601,7 +601,7 @@ public Q_SLOTS:
/**
* @brief setGuidesLocked
* set guides locked on this document
* @param locked wether or not to lock the guides on this document.
* @param locked whether or not to lock the guides on this document.
*/
void setGuidesLocked(bool locked);
......
......@@ -83,7 +83,7 @@ public Q_SLOTS:
* @params x, y, w, h: describe the rectangle the filter should be apply.
* This is always in image pixel coordinates and not relative to the x, y
* of the node.
* @return true if the filter was applied succesfully, or
* @return true if the filter was applied successfully, or
* false if the filter could not be applied because the node is locked or
* does not have an editable paint device.
*/
......
......@@ -29,7 +29,7 @@
expose all functionality to the client.
Note that all objects that are created are wrapper objects that are
owned by the scripting environement or the plugin.
owned by the scripting environment or the plugin.
Using the functionality in this library, either through a scripting
......
......@@ -77,7 +77,7 @@ public:
/**
* @brief colorForCanvas
* @param canvas the canvas whose color management you'd like to use. In Krita, different views have
* seperate canvasses, and these can have different OCIO configurations active.
* separate canvasses, and these can have different OCIO configurations active.
* @return the QColor as it would be displaying on the canvas. This result can be used to draw widgets with
* the correct configuration applied.
*/
......
......@@ -215,7 +215,7 @@ public Q_SLOTS:
void setInheritAlpha(bool value);
/**
* @brief locked checkes whether the Node is locked. A locked node cannot be changed.
* @brief locked checks whether the Node is locked. A locked node cannot be changed.
* @return true if the Node is locked, false if it hasn't been locked.
*/
bool locked() const;
......@@ -437,7 +437,7 @@ public Q_SLOTS:
Node* duplicate();
/**
* @brief save exports the given node with this filename. The extension of the filename determins the filetype.
* @brief save exports the given node with this filename. The extension of the filename determines the filetype.
* @param filename the filename including extension
* @param xRes the horizontal resolution in pixels per pt (there are 72 pts in an inch)
* @param yRes the horizontal resolution in pixels per pt (there are 72 pts in an inch)
......
......@@ -92,7 +92,7 @@ public:
/**
* @brief addGroup
* @param name of the new group
* @return whether adding the group was succesful.
* @return whether adding the group was successful.
*/
bool addGroup(QString name);
/**
......@@ -132,7 +132,7 @@ public:
/**
* @brief colorForEntry
* special function to retreive a ManagedColor object from the colorsetentry.
* special function to retrieve a ManagedColor object from the colorsetentry.
* @param entry the entry
* @return the ManagedColorObject
*/
......@@ -161,7 +161,7 @@ public:
* @brief editEntry
* Changes the entry at @param index by replacing it with @param entry.
* @param groupName the group at which the index is.
* @return whether it was succesful.
* @return whether it was successful.
*/
bool editEntry (int index, KoColorSetEntry entry, QString groupName = QString());
/**
......@@ -169,7 +169,7 @@ public:
* change the group name.
* @param oldGroupName the old groupname to change.
* @param newGroupName the new name to change it into.
* @return whether succesful. Reasons for failure include not knowing have oldGroupName
* @return whether successful. Reasons for failure include not knowing have oldGroupName
*/
bool changeGroupName(QString oldGroupName, QString newGroupName);
/**
......@@ -177,14 +177,14 @@ public:
* move the group to before groupNameInsertBefore.
* @param groupName group to move.
* @param groupNameInsertBefore group to inset before.
* @return whether succesful. Reasons for failure include either group not existing.
* @return whether successful. Reasons for failure include either group not existing.
*/
bool moveGroup(const QString &groupName, const QString &groupNameInsertBefore = QString());
/**
* @brief save
* save the palette
* @return whether it was succesful.
* @return whether it was successful.
*/
bool save();
......
......@@ -53,20 +53,20 @@ public Q_SLOTS:
* This gives a simple dialog for adding colors, with options like
* adding name, id, and to which group the color should be added.
* @param color the default color to add
* @return whether it was succesful.
* @return whether it was successful.
*/
bool addEntryWithDialog(ManagedColor *color);
/**
* @brief addGroupWithDialog
* gives a little dialog to ask for the desired groupname.
* @return whether this was succesful.
* @return whether this was successful.
*/
bool addGroupWithDialog();
/**
* @brief removeSelectedEntryWithDialog
* removes the selected entry. If it is a group, it pop up a dialog
* asking whether the colors should also be removed.
* @return whether this was succesful
* @return whether this was successful
*/
bool removeSelectedEntryWithDialog();
/**
......
......@@ -57,12 +57,12 @@ public Q_SLOTS:
Q_SIGNALS:
/**
* Emited whenever a user selects the given preset.
* Emitted whenever a user selects the given preset.
*/
void presetSelected(Resource *resource);
/**
* Emited whenever a user clicks on the given preset.
* Emitted whenever a user clicks on the given preset.
*/
void presetClicked(Resource *resource);
......
......@@ -118,7 +118,7 @@ void TestDocument::testThumbnail()
thumb.save("thumb.png");
QVERIFY(thumb.width() == 10);
QVERIFY(thumb.height() == 10);
// Our thumbnail calculater in KisPaintDevice cannot make a filled 10x10 thumbnail from a 100x100 device,
// Our thumbnail calculator in KisPaintDevice cannot make a filled 10x10 thumbnail from a 100x100 device,
// it makes it 10x10 empty, then puts 8x8 pixels in there... Not a bug in the Node class
for (int i = 0; i < 8; ++i) {
for (int j = 0; j < 8; ++j) {
......
......@@ -128,7 +128,7 @@ void TestNode::testThumbnail()
thumb.save("thumb.png");
QVERIFY(thumb.width() == 10);
QVERIFY(thumb.height() == 10);
// Our thumbnail calculater in KisPaintDevice cannot make a filled 10x10 thumbnail from a 100x100 device,
// Our thumbnail calculator in KisPaintDevice cannot make a filled 10x10 thumbnail from a 100x100 device,
// it makes it 10x10 empty, then puts 8x8 pixels in there... Not a bug in the Node class
for (int i = 0; i < 8; ++i) {
for (int j = 0; j < 8; ++j) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment