Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Fix typos in libs/libkis

Kunda Ki5a48b7035ed5
diff --git a/libs/libkis/Document.h b/libs/libkis/Document.h
index f6c0c05d12..240d609296 100644
--- a/libs/libkis/Document.h
+++ b/libs/libkis/Document.h
@@ -934,7 +934,7 @@ print(root.childNodes())
* - document is read-only
*
* Being able to deactivate autosave on a document can make sense when a plugin use internal document
- * (document is not exposed in a view, only created for intenal process purposes)
+ * (document is not exposed in a view, only created for internal process purposes)
*
* @param active True to activate autosave
*/
@@ -1025,7 +1025,7 @@ newDoc.setGridConfig(newDocGrid)
/**
* @brief Set current audio level for document
- * @param level Audio volumne between 0.0 and 1.0 (1.0 = 100%)
+ * @param level Audio volume between 0.0 and 1.0 (1.0 = 100%)
*/
void setAudioLevel(const qreal level);
diff --git a/libs/libkis/FileDialog.h b/libs/libkis/FileDialog.h
index 7e2b2d7296..b071cec86e 100644
--- a/libs/libkis/FileDialog.h
+++ b/libs/libkis/FileDialog.h
@@ -96,7 +96,7 @@ public:
//Set the selected file type filter
void selectNameFilter(const QString &filter);
- /// Show the file dialog and return mulitple file names the user selected
+ /// Show the file dialog and return multiple file names the user selected
QStringList filenames();
/// Show the file dialog and return the file name the user selected
diff --git a/libs/libkis/GuidesConfig.h b/libs/libkis/GuidesConfig.h
index 7dc4035920..10e1d9e716 100644
--- a/libs/libkis/GuidesConfig.h
+++ b/libs/libkis/GuidesConfig.h
@@ -122,7 +122,7 @@ public Q_SLOTS:
/**
* @brief Returns guides visibility status.
- * @return True if guides are visibles, otherwise False
+ * @return True if guides are visible, otherwise False
*/
bool visible() const;
diff --git a/libs/libkis/Scratchpad.cpp b/libs/libkis/Scratchpad.cpp
index ab168b2f01..e9fa5c5a06 100644
--- a/libs/libkis/Scratchpad.cpp
+++ b/libs/libkis/Scratchpad.cpp
@@ -77,7 +77,7 @@ bool Scratchpad::canvasZoomLink()
qreal Scratchpad::scale()
{
- // return scale X only, consider zoom X/Y will alway be the same
+ // return scale X only, consider zoom X/Y will always be the same
return d->scratchpad->scaleX();
}
diff --git a/libs/libkis/TransformMask.h b/libs/libkis/TransformMask.h
index c4e78d5a6a..53e82902ce 100644
--- a/libs/libkis/TransformMask.h
+++ b/libs/libkis/TransformMask.h
@@ -45,7 +45,7 @@ public Q_SLOTS:
/**
* @brief toXML
- * @return a string containing XML formated transform parameters.
+ * @return a string containing XML formatted transform parameters.
*/
QString toXML() const;
@@ -82,7 +82,7 @@ public Q_SLOTS:
</data>
</transform_params>
@endcode
- * @param xml a valid formated XML string with proper main and data elements.
+ * @param xml a valid formatted XML string with proper main and data elements.
* @return a true response if successful, a false response if failed.
*/
bool fromXML(const QString &xml);