Commit 8d8ae211 authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor typos

parent b649c418
......@@ -192,7 +192,7 @@ void IdentityTester::test_Aliases()
{
IdentityManager manager;
// It is picking up identities from older tests somethimes, so cleanup
// It is picking up identities from older tests sometimes, so cleanup
while (manager.identities().size() > 1) {
QVERIFY(manager.removeIdentity(manager.identities().at(0)));
manager.commit();
......
......@@ -124,7 +124,7 @@ void SignatureTester::testTextEditInsertion()
sig.setEnabledSignature(true);
sig.setText(QStringLiteral("Hello World"));
// Test inserting signature at start, with seperators. Make sure two new
// Test inserting signature at start, with separators. Make sure two new
// lines are inserted before the signature
edit.setPlainText(QStringLiteral("Bla Bla"));
......@@ -158,7 +158,7 @@ void SignatureTester::testTextEditInsertion()
edit.undo();
QCOMPARE(edit.toPlainText(), QStringLiteral("Bla Bla"));
// test inserting signature without seperator.
// test inserting signature without separator.
// make sure cursor position and modified state is preserved.
edit.clear();
edit.setPlainText(QStringLiteral("Bla Bla"));
......
......@@ -19,8 +19,8 @@
02110-1301, USA.
*/
#ifndef KPIMIDENTITES_IDENTITY_H
#define KPIMIDENTITES_IDENTITY_H
#ifndef KPIMIDENTITIES_IDENTITY_H
#define KPIMIDENTITIES_IDENTITY_H
#include "kidentitymanagement_export.h"
#include "signature.h"
......@@ -318,7 +318,7 @@ public:
void writeConfig(KConfigGroup &) const;
/** Set whether this identity is the default identity. Since this
affects all other identites, too (most notably, the old default
affects all other identities, too (most notably, the old default
identity), only the IdentityManager can change this.
You should use
<pre>
......@@ -361,4 +361,4 @@ protected:
};
}
#endif /*kpim_identity_h*/
#endif /*identity_h*/
......@@ -682,7 +682,7 @@ Identity &IdentityManager::newFromExisting(const Identity &other, const QString
d->shadowIdentities << other;
Identity &result = d->shadowIdentities.last();
result.setIsDefault(false); // we don't want two default identities!
result.setUoid(d->newUoid()); // we don't want two identies w/ same UOID
result.setUoid(d->newUoid()); // we don't want two identities w/ same UOID
if (!name.isNull()) {
result.setIdentityName(name);
}
......
......@@ -109,7 +109,7 @@ void SignatureConfigurator::Private::init()
QVBoxLayout *vlay = new QVBoxLayout(q);
vlay->setObjectName(QStringLiteral("main layout"));
// "enable signatue" checkbox:
// "enable signature" checkbox:
mEnableCheck = new QCheckBox(i18n("&Enable signature"), q);
mEnableCheck->setWhatsThis(
i18n("Check this box if you want KMail to append a signature to mails "
......
......@@ -48,7 +48,7 @@ public:
~SignatureConfigurator() override;
/**
* Enum for the different viemodes.
* Enum for the different viewmodes.
*/
enum ViewMode {
ShowCode, ShowHtml
......@@ -110,7 +110,7 @@ public:
void setCommandURL(const QString &url);
/**
Conveniece method.
Convenience method.
@return a Signature object representing the state of the widgets.
**/
Q_REQUIRED_RESULT Signature signature() const;
......
......@@ -17,8 +17,8 @@
02110-1301, USA.
*/
#ifndef KPIMIDENTITES_UTILS_H
#define KPIMIDENTITES_UTILS_H
#ifndef KPIMIDENTITIES_UTILS_H
#define KPIMIDENTITIES_UTILS_H
#include "kidentitymanagement_export.h"
......
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