aboutsummaryrefslogtreecommitdiffstats
path: root/cppgenerator.cpp
diff options
context:
space:
mode:
authorMatti Airas <matti.p.airas@nokia.com>2010-03-18 16:29:42 -0300
committerHugo Lima <hugo.lima@openbossa.org>2010-03-19 15:09:01 -0300
commit72786ec7a77908530080f1e44a12080128b8c367 (patch)
tree8911d2a474654ab20acb0f2fdec9115560b79653 /cppgenerator.cpp
parentdd70b0c75366379f89e0bb46c15638d5f54904ab (diff)
Minimal grammar fixes
Reviewer: Hugo Parente <hugo.limra@openbossa.org> Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'cppgenerator.cpp')
-rw-r--r--cppgenerator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppgenerator.cpp b/cppgenerator.cpp
index a4e43042c..d3ade7098 100644
--- a/cppgenerator.cpp
+++ b/cppgenerator.cpp
@@ -651,7 +651,7 @@ void CppGenerator::writeConstructorWrapper(QTextStream& s, const AbstractMetaFun
Indentation indentation(INDENT);
s << INDENT << "\"'" << metaClass->qualifiedCppName();
}
- s << "' represents a C++ abstract class and cannot be instanciated\");" << endl;
+ s << "' represents a C++ abstract class and cannot be instantiated\");" << endl;
s << INDENT << "return " << m_currentErrorCode << ';' << endl;
}
s << INDENT << '}' << endl << endl;
@@ -760,7 +760,7 @@ void CppGenerator::writeMinimalConstructorCallArguments(QTextStream& s, const Ab
}
if (!ctor) {
- ReportHandler::warning("Class "+metaClass->name()+" does not have a default ctor.");
+ ReportHandler::warning("Class "+metaClass->name()+" does not have a default constructor.");
return;
}
@@ -1423,7 +1423,7 @@ void CppGenerator::writeMethodCall(QTextStream& s, const AbstractMetaFunction* f
if (func->injectedCodeSnips(CodeSnip::Any, TypeSystem::TargetLangCode).isEmpty()) {
s << INDENT << "#error No way to call \"" << func->ownerClass()->name();
s << "::" << func->minimalSignature();
- s << "\" with the modifications described on the type system file" << endl;
+ s << "\" with the modifications described in the type system file" << endl;
}
} else if (func->isOperatorOverload()) {
QString firstArg = QString("(*%1)").arg(CPP_SELF_VAR);