Commit a117af72 authored by Corbin Schwimmbeck's avatar Corbin Schwimmbeck Committed by Laurent Montel
Browse files

Fixing typos in source code

parent e490b383
......@@ -14,8 +14,8 @@
class QCheckBox;
/**
*Give the user the option to print the crontab file.
*If the user is root ask if they want to print all the users
* Give the user the option to print the crontab file.
* If the user is root ask if they want to print all the users.
*/
class CrontabPrinterWidget : public QWidget
......@@ -23,7 +23,7 @@ class CrontabPrinterWidget : public QWidget
Q_OBJECT
public:
/**
* Constructs the dialog, if root is true the print all users is not disabled
* Constructs the dialog. If root is true, the "print all users" is not disabled.
*/
explicit CrontabPrinterWidget(bool root = false);
......
......@@ -104,8 +104,8 @@ class CTCron
{
public:
/**
* If you already have a struct passwd, use it instead. This
* is never used for the system crontab.
* If you already have a struct passwd, use it instead.
* This is never used for the system crontab.
*/
explicit CTCron(const QString &cronBinary, const struct passwd *userInfos, bool currentUserCron, CTInitializationError &ctInitializationError);
......@@ -153,23 +153,23 @@ public:
bool isDirty() const;
/**
* Returns the PATH environment variable value. A short cut to iterating
* the tasks vector.
* Returns the PATH environment variable value.
* A short cut to iterating the tasks vector.
*/
QString path() const;
/**
* Returns true if this cron could have tasks and variables from different user
* Returns true if this cron could have tasks and variables from a different user.
*/
bool isMultiUserCron() const;
/**
* Returns true if this cron is the system cron
* Returns true if this cron is the system cron.
*/
bool isSystemCron() const;
/**
* Returns true if this cron is the cron of the user who launches this app
* Returns true if this cron is the cron of the user who launched this app.
*/
bool isCurrentUserCron() const;
......@@ -182,7 +182,7 @@ public:
protected:
/**
* Help constructor for subclasses
* Help constructor for subclasses.
*/
explicit CTCron();
......
......@@ -199,7 +199,7 @@ CTCron *CTHost::findCurrentUserCron() const
}
}
qCDebug(KCM_CRON_LOG) << "Unable to find the current user Cron. Please report this bug and your crontab config to the developers";
qCDebug(KCM_CRON_LOG) << "Unable to find the current user Cron. Please report this bug and your crontab config to the developers.";
return nullptr;
}
......@@ -211,7 +211,7 @@ CTCron *CTHost::findSystemCron() const
}
}
qCDebug(KCM_CRON_LOG) << "Unable to find the system Cron. Please report this bug and your crontab config to the developers";
qCDebug(KCM_CRON_LOG) << "Unable to find the system Cron. Please report this bug and your crontab config to the developers.";
return nullptr;
}
......@@ -223,7 +223,7 @@ CTCron *CTHost::findUserCron(const QString &userLogin) const
}
}
qCDebug(KCM_CRON_LOG) << "Unable to find the user Cron " << userLogin << ". Please report this bug and your crontab config to the developers";
qCDebug(KCM_CRON_LOG) << "Unable to find the user Cron " << userLogin << ". Please report this bug and your crontab config to the developers.";
return nullptr;
}
......@@ -235,7 +235,7 @@ CTCron *CTHost::findCronContaining(CTTask *ctTask) const
}
}
qCDebug(KCM_CRON_LOG) << "Unable to find the cron of this task. Please report this bug and your crontab config to the developers";
qCDebug(KCM_CRON_LOG) << "Unable to find the cron of this task. Please report this bug and your crontab config to the developers.";
return nullptr;
}
......@@ -247,7 +247,7 @@ CTCron *CTHost::findCronContaining(CTVariable *ctVariable) const
}
}
qCDebug(KCM_CRON_LOG) << "Unable to find the cron of this variable. Please report this bug and your crontab config to the developers";
qCDebug(KCM_CRON_LOG) << "Unable to find the cron of this variable. Please report this bug and your crontab config to the developers.";
return nullptr;
}
......
......@@ -48,7 +48,7 @@ public:
/**
* Apply changes.
* return an empty string if no problem
* return an empty string if no problem ocurred.
*/
CTSaveStatus save();
......
......@@ -47,7 +47,7 @@ public:
QString exportTask();
/**
* Scheduling using the cron format
* Scheduling using the cron format.
*/
QString schedulingCronFormat() const;
......
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