tools: Fix typos in source code comments

Change-Id: I9666104a320f66b22c5144375ce7440bb59737e6
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
Jonas Kvinge 2021-10-11 21:23:43 +02:00
parent f55c1fb3b4
commit 9f701b6ffc
3 changed files with 4 additions and 4 deletions

View File

@ -1708,7 +1708,7 @@ bool Moc::until(Token target) {
} }
//when searching commas within the default argument, we should take care of template depth (anglecount) //when searching commas within the default argument, we should take care of template depth (anglecount)
// unfortunatelly, we do not have enough semantic information to know if '<' is the operator< or // unfortunately, we do not have enough semantic information to know if '<' is the operator< or
// the beginning of a template type. so we just use heuristics. // the beginning of a template type. so we just use heuristics.
int possible = -1; int possible = -1;
@ -1829,7 +1829,7 @@ void Moc::checkSuperClasses(ClassDef *def)
void Moc::checkProperties(ClassDef *cdef) void Moc::checkProperties(ClassDef *cdef)
{ {
// //
// specify get function, for compatibiliy we accept functions // specify get function, for compatibility we accept functions
// returning pointers, or const char * for QByteArray. // returning pointers, or const char * for QByteArray.
// //
QDuplicateTracker<QByteArray> definedProperties(cdef->propertyList.count()); QDuplicateTracker<QByteArray> definedProperties(cdef->propertyList.count());

View File

@ -537,7 +537,7 @@ static void writeProxy(const QString &filename, const QDBusIntrospection::Interf
// getter: // getter:
if (property.access != QDBusIntrospection::Property::Write) if (property.access != QDBusIntrospection::Property::Write)
// it's readble // it's readable
hs << " READ " << getter; hs << " READ " << getter;
// setter // setter

View File

@ -90,7 +90,7 @@ int createProject(const QString &outFileName)
out << QLatin1String("<!DOCTYPE RCC><RCC version=\"1.0\">\n" out << QLatin1String("<!DOCTYPE RCC><RCC version=\"1.0\">\n"
"<qresource>\n"); "<qresource>\n");
// use "." as dir to get relative file pathes // use "." as dir to get relative file paths
dumpRecursive(QDir(QLatin1String(".")), out); dumpRecursive(QDir(QLatin1String(".")), out);
out << QLatin1String("</qresource>\n" out << QLatin1String("</qresource>\n"