summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorJonas Kvinge <jonas@jkvinge.net>2021-10-11 21:23:43 +0200
committerJonas Kvinge <jonas@jkvinge.net>2021-10-12 12:52:02 +0200
commit9f701b6ffc9a8d7f27cbd573b82d3571e514f1ca (patch)
tree99fb458de193c2d82911a857b8752192b4ff02bb /src/tools
parentf55c1fb3b40608bd7607875bfeb196bae4818ef0 (diff)
tools: Fix typos in source code comments
Change-Id: I9666104a320f66b22c5144375ce7440bb59737e6 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/moc/moc.cpp4
-rw-r--r--src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp2
-rw-r--r--src/tools/rcc/main.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/moc/moc.cpp b/src/tools/moc/moc.cpp
index 56440129c2..e02f787d83 100644
--- a/src/tools/moc/moc.cpp
+++ b/src/tools/moc/moc.cpp
@@ -1708,7 +1708,7 @@ bool Moc::until(Token target) {
}
//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.
int possible = -1;
@@ -1829,7 +1829,7 @@ void Moc::checkSuperClasses(ClassDef *def)
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.
//
QDuplicateTracker<QByteArray> definedProperties(cdef->propertyList.count());
diff --git a/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp b/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp
index bf079995d7..e6acf9e258 100644
--- a/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp
+++ b/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp
@@ -537,7 +537,7 @@ static void writeProxy(const QString &filename, const QDBusIntrospection::Interf
// getter:
if (property.access != QDBusIntrospection::Property::Write)
- // it's readble
+ // it's readable
hs << " READ " << getter;
// setter
diff --git a/src/tools/rcc/main.cpp b/src/tools/rcc/main.cpp
index eca7991280..d9d211c19d 100644
--- a/src/tools/rcc/main.cpp
+++ b/src/tools/rcc/main.cpp
@@ -90,7 +90,7 @@ int createProject(const QString &outFileName)
out << QLatin1String("<!DOCTYPE RCC><RCC version=\"1.0\">\n"
"<qresource>\n");
- // use "." as dir to get relative file pathes
+ // use "." as dir to get relative file paths
dumpRecursive(QDir(QLatin1String(".")), out);
out << QLatin1String("</qresource>\n"