[system/kcron] /: Fix misspellings found by codespell
Alexander Wilms
null at kde.org
Thu Feb 5 07:55:29 GMT 2026
Git commit 4e13a35dbb6394ce5299d8b15616c2cc53658e07 by Alexander Wilms.
Committed on 04/02/2026 at 18:52.
Pushed by mlaurent into branch 'master'.
Fix misspellings found by codespell
M +1 -1 ChangeLog
M +2 -2 doc/kcontrol/index.docbook
M +1 -1 src/crontablib/ctcron.cpp
M +1 -1 src/crontablib/cthost.h
M +1 -1 src/task.cpp
M +1 -1 src/task.h
M +1 -1 src/tasksmodel.cpp
M +1 -1 src/ui/CheckedModel.qml
M +1 -1 src/ui/TimeCard.qml
M +1 -1 src/variable.cpp
M +1 -1 src/variable.h
M +1 -1 src/variablesmodel.cpp
https://invent.kde.org/system/kcron/-/commit/4e13a35dbb6394ce5299d8b15616c2cc53658e07
diff --git a/ChangeLog b/ChangeLog
index 2079fab..9df38a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -47,7 +47,7 @@ gary at meyer.net November 29, 1999
gary at meyer.net December 2, 1999
Removed CTDebug, don't really need anymore.
- Addeed note for translators so they'll look at README.translators.
+ Added note for translators so they'll look at README.translators.
Cleaned up CTUnit: moved implementation to cpp file, removed macro,
added support for "sun, Mon" and "jan, FEB" in crontab file.
diff --git a/doc/kcontrol/index.docbook b/doc/kcontrol/index.docbook
index 92d4e3b..60c0a07 100644
--- a/doc/kcontrol/index.docbook
+++ b/doc/kcontrol/index.docbook
@@ -189,9 +189,9 @@ this button.</para>
</varlistentry>
<varlistentry>
-<term><guibutton>Run at system bootup</guibutton></term>
+<term><guibutton>Run at system boot-up</guibutton></term>
<listitem>
-<para>Check this button to run the task at system bootup.</para>
+<para>Check this button to run the task at system boot-up.</para>
</listitem>
</varlistentry>
diff --git a/src/crontablib/ctcron.cpp b/src/crontablib/ctcron.cpp
index b3279d2..61ffc58 100644
--- a/src/crontablib/ctcron.cpp
+++ b/src/crontablib/ctcron.cpp
@@ -125,7 +125,7 @@ CTCron &CTCron::operator=(const CTCron &source)
return *this;
}
- // Not sure when this would tigger.
+ // Not sure when this would trigger.
if (source.isSystemCron()) {
qCDebug(KCM_CRON_LOG) << "Affect the system cron";
}
diff --git a/src/crontablib/cthost.h b/src/crontablib/cthost.h
index 00e3316..c20e589 100644
--- a/src/crontablib/cthost.h
+++ b/src/crontablib/cthost.h
@@ -48,7 +48,7 @@ public:
/**
* Apply changes.
- * return an empty string if no problem ocurred.
+ * return an empty string if no problem occurred.
*/
CTSaveStatus save(CTCron *ctCron);
diff --git a/src/task.cpp b/src/task.cpp
index 668dace..88f4a29 100644
--- a/src/task.cpp
+++ b/src/task.cpp
@@ -136,7 +136,7 @@ void Task::updateTask(CTTask *task) noexcept
void Task::apply()
{
mTask->apply();
- Q_EMIT applyed();
+ Q_EMIT applied();
}
void Task::cancel()
diff --git a/src/task.h b/src/task.h
index 6476614..988dbf8 100644
--- a/src/task.h
+++ b/src/task.h
@@ -82,7 +82,7 @@ Q_SIGNALS:
void rebootChanged();
void systemCronChanged();
- void applyed();
+ void applied();
void canceled();
private:
diff --git a/src/tasksmodel.cpp b/src/tasksmodel.cpp
index a068318..95fba58 100644
--- a/src/tasksmodel.cpp
+++ b/src/tasksmodel.cpp
@@ -374,7 +374,7 @@ void TasksModel::add(Task *task)
endInsertRows();
QModelIndex modelIndex = index(mTasks.count() - 1, 0);
- QObject::connect(task, &Task::applyed, this, [this, modelIndex, task]() -> void {
+ QObject::connect(task, &Task::applied, this, [this, modelIndex, task]() -> void {
Q_EMIT dataChanged(modelIndex, modelIndex, {});
Q_EMIT modifyTask(task);
Q_EMIT enabledStateChanged();
diff --git a/src/ui/CheckedModel.qml b/src/ui/CheckedModel.qml
index 25e2d3f..7b9606c 100644
--- a/src/ui/CheckedModel.qml
+++ b/src/ui/CheckedModel.qml
@@ -28,7 +28,7 @@ ListModel {
return Qt.PartiallyChecked;
}
- function toogle(index): void {
+ function toggle(index): void {
setProperty(index, "checked", !get(index)["checked"]);
}
diff --git a/src/ui/TimeCard.qml b/src/ui/TimeCard.qml
index 5b396e7..8df92a7 100644
--- a/src/ui/TimeCard.qml
+++ b/src/ui/TimeCard.qml
@@ -66,7 +66,7 @@ ColumnLayout {
visible: model.visible ?? true
checkable: true
onToggled: {
- card.model.toogle(index)
+ card.model.toggle(index)
card.changed(index)
}
}
diff --git a/src/variable.cpp b/src/variable.cpp
index 3ffefe9..3e2f058 100644
--- a/src/variable.cpp
+++ b/src/variable.cpp
@@ -134,7 +134,7 @@ void Variable::updateVariable(CTVariable *variable) noexcept
void Variable::apply()
{
mVariable->apply();
- Q_EMIT applyed();
+ Q_EMIT applied();
}
void Variable::cancel()
diff --git a/src/variable.h b/src/variable.h
index 0a80df5..df8525f 100644
--- a/src/variable.h
+++ b/src/variable.h
@@ -67,7 +67,7 @@ Q_SIGNALS:
void userLoginChanged();
void enabledChanged();
- void applyed();
+ void applied();
void canceled();
private:
diff --git a/src/variablesmodel.cpp b/src/variablesmodel.cpp
index 76e5df0..00087f8 100644
--- a/src/variablesmodel.cpp
+++ b/src/variablesmodel.cpp
@@ -339,7 +339,7 @@ void VariablesModel::add(Variable *variable)
endInsertRows();
QModelIndex modelIndex = index(mVariables.count() - 1, 0);
- QObject::connect(variable, &Variable::applyed, this, [this, modelIndex, variable]() -> void {
+ QObject::connect(variable, &Variable::applied, this, [this, modelIndex, variable]() -> void {
Q_EMIT dataChanged(modelIndex, modelIndex, {});
Q_EMIT modifyVariable(variable);
Q_EMIT enabledStateChanged();
More information about the kde-doc-english
mailing list