Commit 76e2d137 authored by Allen Winter's avatar Allen Winter

various - spelling fixes

parent 719c0eb8
......@@ -424,7 +424,7 @@ void ETMCalendarTest::testNotifyObserverBug()
// and that observer then called calendar->item(incidence->uid()) the retrieved item would still
// have the old payload, because CalendarBase::updateItem() was still on the stack
// and would only update after calendarIncidenceChanged() returned.
// This test ensure that doesnt happen.
// This test ensure that doesn't happen.
const QLatin1String uid("todo-notify-bug");
createTodo(uid, QString());
waitForIt();
......
......@@ -702,7 +702,7 @@ private Q_SLOTS:
QTest::newRow("delete two - success ") << items << changeTypes << failureExpectedList
<< expectedResults << rights << false;
//------------------------------------------------------------------------------------------
// Creation succeeds but deletion doesnt ( invalid item case )
// Creation succeeds but deletion doesn't ( invalid item case )
items.clear();
items << item() << Item(); // Invalid item on purpose
changeTypes.clear();
......@@ -734,7 +734,7 @@ private Q_SLOTS:
QTest::newRow("try delete,create") << items << changeTypes << failureExpectedList
<< expectedResults << rights << false;
//------------------------------------------------------------------------------------------
// Creation succeeds but deletion doesnt ( valid, inexistant item case )
// Creation succeeds but deletion doesn't ( valid, inexistant item case )
items.clear();
items << item() << Item(10101010);
changeTypes.clear();
......@@ -782,7 +782,7 @@ private Q_SLOTS:
QTest::newRow("try delete(ACL),create") << items << changeTypes << failureExpectedList
<< expectedResults << rights << false;
//------------------------------------------------------------------------------------------
//Creation succeeds but deletion doesnt ( NO ACL case )
//Creation succeeds but deletion doesn't ( NO ACL case )
items.clear();
items << item() << createItem(mCollection);
changeTypes.clear();
......@@ -798,7 +798,7 @@ private Q_SLOTS:
QTest::newRow("create,try delete(ACL)") << items << changeTypes << failureExpectedList
<< expectedResults << rights << false;
//------------------------------------------------------------------------------------------
// 1 successfull modification, 1 failed creation
// 1 successful modification, 1 failed creation
changeTypes.clear();
changeTypes << IncidenceChanger::ChangeTypeModify << IncidenceChanger::ChangeTypeCreate;
items.clear();
......@@ -814,7 +814,7 @@ private Q_SLOTS:
QTest::newRow("modify,try create") << items << changeTypes << failureExpectedList
<< expectedResults << rights << false;
//------------------------------------------------------------------------------------------
// 1 successfull modification, 1 failed creation
// 1 successful modification, 1 failed creation
changeTypes.clear();
changeTypes << IncidenceChanger::ChangeTypeModify << IncidenceChanger::ChangeTypeCreate;
items.clear();
......@@ -830,7 +830,7 @@ private Q_SLOTS:
QTest::newRow("modify,try create v2") << items << changeTypes << failureExpectedList
<< expectedResults << rights << false;
//------------------------------------------------------------------------------------------
// 1 failed creation, 1 successfull modification
// 1 failed creation, 1 successful modification
changeTypes.clear();
changeTypes << IncidenceChanger::ChangeTypeCreate << IncidenceChanger::ChangeTypeModify;
items.clear();
......@@ -846,7 +846,7 @@ private Q_SLOTS:
QTest::newRow("try create,modify") << items << changeTypes << failureExpectedList
<< expectedResults << rights << false;
//------------------------------------------------------------------------------------------
// 1 failed creation, 1 successfull modification
// 1 failed creation, 1 successful modification
changeTypes.clear();
changeTypes << IncidenceChanger::ChangeTypeCreate << IncidenceChanger::ChangeTypeModify;
items.clear();
......
......@@ -23,8 +23,8 @@
02110-1301, USA.
*/
#ifndef _AKONADI_CALENDAR_ITIP_HANDLER_H
#define _AKONADI_CALENDAR_ITIP_HANDLER_H
#ifndef AKONADI_CALENDAR_ITIP_HANDLER_H
#define AKONADI_CALENDAR_ITIP_HANDLER_H
#include "akonadi-calendar_export.h"
#include "etmcalendar.h"
......@@ -76,7 +76,7 @@ class AKONADI_CALENDAR_EXPORT ITIPHandlerDialogDelegate : public QObject
{
Q_OBJECT
public:
// Posible default actions
// Possible default actions
enum Action {
ActionAsk, /**< Ask the user for a descision */
ActionSendMessage, /**< Answer with Yes */
......@@ -159,7 +159,7 @@ public:
Q_SIGNALS:
/*
* Signal is emited, when the user has answered the dialog or the defaultAction is used
* Signal is emitted, when the user has answered the dialog or the defaultAction is used
* @param answer: answer should be part of KMessageBox:ButtonCode, keep in mind that it is a YesNoDialog so normally it should be KMessageBox::Yes or KMessageBox::No
* @param method: itip method
* @param incidence: purpose of the dialog
......
......@@ -77,7 +77,7 @@ public:
(e.g. when we are the only attendee) */
ResultError, /**< An unexpected error occurred */
ResultSuccess, /**< The invitation was sent to all attendees. */
ResultPending /**< The user has been asked about one detail, waiting for him to anwser it */
ResultPending /**< The user has been asked about one detail, waiting for the answer */
};
/**
......
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