diff --git a/analyzers/cppcheck/parameters.cpp b/analyzers/cppcheck/parameters.cpp --- a/analyzers/cppcheck/parameters.cpp +++ b/analyzers/cppcheck/parameters.cpp @@ -124,7 +124,7 @@ const QString mocMessage = i18n( "It seems that this project uses Qt library. For correctly work of cppcheck " - "the value for define Q_MOC_OUTPUT_REVISION must be set. Unfortunatly, the plugin is unable " + "the value for define Q_MOC_OUTPUT_REVISION must be set. Unfortunately, the plugin is unable " "to find this value automatically - you should set it manually by adding " "'-DQ_MOC_OUTPUT_REVISION=XX' to extra parameters. The 'XX' value can be found in any project's " "moc-generated file or in the header file."); diff --git a/debuggers/common/midebugsession.cpp b/debuggers/common/midebugsession.cpp --- a/debuggers/common/midebugsession.cpp +++ b/debuggers/common/midebugsession.cpp @@ -1177,7 +1177,7 @@ if (m_tty){ m_tty->readRemaining(); // Tty is no longer usable, delete it. Without this, QSocketNotifier - // will continiously bomd STTY with signals, so we need to either disable + // will continuously bomd STTY with signals, so we need to either disable // QSocketNotifier, or delete STTY. The latter is simpler, since we can't // reuse it for future debug sessions anyway. m_tty.reset(nullptr); @@ -1249,7 +1249,7 @@ if (m_tty){ m_tty->readRemaining(); // Tty is no longer usable, delete it. Without this, QSocketNotifier - // will continiously bomd STTY with signals, so we need to either disable + // will continuously bomd STTY with signals, so we need to either disable // QSocketNotifier, or delete STTY. The latter is simpler, since we can't // reuse it for future debug sessions anyway. m_tty.reset(nullptr); diff --git a/debuggers/common/mivariable.h b/debuggers/common/mivariable.h --- a/debuggers/common/mivariable.h +++ b/debuggers/common/mivariable.h @@ -43,7 +43,7 @@ ~MIVariable(); - /* FIXME: should eventually remove, so that existance of + /* FIXME: should eventually remove, so that existence of varobjs is fully encapsulalated inside GdbVariable. */ const QString& varobj() const; void handleUpdate(const MI::Value& var); diff --git a/debuggers/common/widgets/debuggerconsoleview.h b/debuggers/common/widgets/debuggerconsoleview.h --- a/debuggers/common/widgets/debuggerconsoleview.h +++ b/debuggers/common/widgets/debuggerconsoleview.h @@ -56,7 +56,7 @@ ~DebuggerConsoleView(); /** - * Whether show a button allowing user to interrput debugger execution. + * Whether show a button allowing user to interrupt debugger execution. */ void setShowInterrupt(bool enable); diff --git a/debuggers/gdb/TODO.txt b/debuggers/gdb/TODO.txt --- a/debuggers/gdb/TODO.txt +++ b/debuggers/gdb/TODO.txt @@ -43,7 +43,7 @@ - Debugging optimized binaries - - Debugged application somtimes not killed. + - Debugged application sometimes not killed. - Fix moving breakpoints on editing files diff --git a/debuggers/lldb/controllers/framestackmodel.cpp b/debuggers/lldb/controllers/framestackmodel.cpp --- a/debuggers/lldb/controllers/framestackmodel.cpp +++ b/debuggers/lldb/controllers/framestackmodel.cpp @@ -69,7 +69,7 @@ // TODO: preliminary test shows there might be a bug in lldb-mi // that's causing std::logic_error when executing -thread-info with // more than one threads. Find a workaround for this (and report bug - // if it truely is). + // if it truly is). session()->addCommand(ThreadInfo, "", this, &LldbFrameStackModel::handleThreadInfo); } diff --git a/debuggers/lldb/lldbcommand.cpp b/debuggers/lldb/lldbcommand.cpp --- a/debuggers/lldb/lldbcommand.cpp +++ b/debuggers/lldb/lldbcommand.cpp @@ -179,7 +179,7 @@ } break; } - // find the postion to insert '-f' + // find the position to insert '-f' case BreakInsert: { if (!overrideCmd.isEmpty()) { // already done diff --git a/formatters/astyle/lib/ASBeautifier.cpp b/formatters/astyle/lib/ASBeautifier.cpp --- a/formatters/astyle/lib/ASBeautifier.cpp +++ b/formatters/astyle/lib/ASBeautifier.cpp @@ -1268,7 +1268,7 @@ assert(isCharPotentialOperator(line[i])); // find the operator in the vector // the vector contains the LONGEST operators first - // must loop thru the entire vector + // must loop through the entire vector size_t maxOperators = possibleOperators->size(); for (size_t p = 0; p < maxOperators; p++) { diff --git a/formatters/astyle/lib/ASFormatter.cpp b/formatters/astyle/lib/ASFormatter.cpp --- a/formatters/astyle/lib/ASFormatter.cpp +++ b/formatters/astyle/lib/ASFormatter.cpp @@ -582,7 +582,7 @@ isInHorstmannRunIn = false; } processPreprocessor(); - // need to fall thru here to reset the variables + // need to fall through here to reset the variables } /* not in preprocessor ... */ @@ -1102,7 +1102,7 @@ else if ((newHeader = findHeader(preCommandHeaders)) != NULL) { foundPreCommandHeader = true; - // fall thru here for a 'const' that is not a precommand header + // fall through here for a 'const' that is not a precommand header } else if ((newHeader = findHeader(castOperators)) != NULL) { diff --git a/formatters/astyle/tests/test_astyle.cpp b/formatters/astyle/tests/test_astyle.cpp --- a/formatters/astyle/tests/test_astyle.cpp +++ b/formatters/astyle/tests/test_astyle.cpp @@ -160,7 +160,7 @@ { // think this: // asdf = 1; - // and you execute the assitant to get: + // and you execute the assistant to get: // int asdf = 1; // test1: already indented diff --git a/languages/clang/tests/test_buddies.cpp b/languages/clang/tests/test_buddies.cpp --- a/languages/clang/tests/test_buddies.cpp +++ b/languages/clang/tests/test_buddies.cpp @@ -405,7 +405,7 @@ // check that it only contains pNewView QVERIFY(pContainer->count() == 1 && pContainer->hasWidget(pNewView->widget())); - // now open the correponding definition file, classA.cpp + // now open the corresponding definition file, classA.cpp IDocument *pClassAImplem = m_documentController->openDocument(QUrl::fromLocalFile(dirA.filePath("classA.cpp"))); QVERIFY(pClassAImplem); pMainWindow->activeView()->setObjectName("classA.cpp"); diff --git a/languages/clang/tests/test_duchain.cpp b/languages/clang/tests/test_duchain.cpp --- a/languages/clang/tests/test_duchain.cpp +++ b/languages/clang/tests/test_duchain.cpp @@ -227,7 +227,7 @@ void TestDUChain::testInclude() { TestFile header("int foo() { return 42; }\n", "h"); - // NOTE: header is _not_ explictly being parsed, instead the impl job does that + // NOTE: header is _not_ explicitly being parsed, instead the impl job does that TestFile impl("#include \"" + header.url().byteArray() + "\"\n" "int main() { return foo(); }", "cpp", &header); diff --git a/languages/clang/util/clangutils.h b/languages/clang/util/clangutils.h --- a/languages/clang/util/clangutils.h +++ b/languages/clang/util/clangutils.h @@ -59,7 +59,7 @@ /** * Given a cursor representing a function, returns a vector containing the string * representations of the default arguments of the function which are defined at - * the occurence of the cursor. Note that this is not necessarily all of the default + * the occurrence of the cursor. Note that this is not necessarily all of the default * arguments of the function. * * @param cursor The cursor to examine diff --git a/languages/qmljs/duchain/declarationbuilder.cpp b/languages/qmljs/duchain/declarationbuilder.cpp --- a/languages/qmljs/duchain/declarationbuilder.cpp +++ b/languages/qmljs/duchain/declarationbuilder.cpp @@ -139,7 +139,7 @@ } openType(func); - // Parameters, if any (a function must always have an interal function context, + // Parameters, if any (a function must always have an internal function context, // so always open a context here even if there are no parameters) DUContext* parametersContext = openContext( node + 1, // Don't call setContextOnNode on node, only the body context can be associated with node diff --git a/languages/qmljs/libs/qmljs/qmljsimportdependencies.h b/languages/qmljs/libs/qmljs/qmljsimportdependencies.h --- a/languages/qmljs/libs/qmljs/qmljsimportdependencies.h +++ b/languages/qmljs/libs/qmljs/qmljsimportdependencies.h @@ -56,7 +56,7 @@ namespace Internal { class ImportDependenciesPrivate; } class ImportDependencies; -// match strenght wrt to the selectors of a ViewerContext +// match strength wrt to the selectors of a ViewerContext // this is valid only within a ViewerContext class QMLJS_EXPORT ImportMatchStrength { diff --git a/projectbuilders/cmakebuilder/cmakebuilder.cpp b/projectbuilders/cmakebuilder/cmakebuilder.cpp --- a/projectbuilders/cmakebuilder/cmakebuilder.cpp +++ b/projectbuilders/cmakebuilder/cmakebuilder.cpp @@ -272,7 +272,7 @@ generatorNames << "Ninja"; #ifdef Q_OS_WIN - // Visual Studio solution is the standard generator under windows, but we dont want to use + // Visual Studio solution is the standard generator under windows, but we don't want to use // the VS IDE, so we need nmake makefiles generatorNames << "NMake Makefiles"; #endif diff --git a/projectbuilders/qmakebuilder/qmakebuilderpreferences.cpp b/projectbuilders/qmakebuilder/qmakebuilderpreferences.cpp --- a/projectbuilders/qmakebuilder/qmakebuilderpreferences.cpp +++ b/projectbuilders/qmakebuilder/qmakebuilderpreferences.cpp @@ -123,7 +123,7 @@ } else { // invalid data: message box KMessageBox::error(nullptr, errormsg, "Data is invalid!"); - // FIXME dialog behaves like if save really happend (dialog closes if user click ok) even if changed signal is + // FIXME dialog behaves like if save really happened (dialog closes if user click ok) even if changed signal is // emitted } } diff --git a/projectmanagers/cmake/settings/cmakepreferences.cpp b/projectmanagers/cmake/settings/cmakepreferences.cpp --- a/projectmanagers/cmake/settings/cmakepreferences.cpp +++ b/projectmanagers/cmake/settings/cmakepreferences.cpp @@ -295,7 +295,7 @@ // NOTE: (on removing the trailing slashes) // Generally, we have no clue about how shall a trailing slash look in the current system. // Moreover, the slash may be a part of the filename. - // It may be '/' or '\', so maybe should we rely on CMake::allBuildDirs() for returning well-formed pathes? + // It may be '/' or '\', so maybe should we rely on CMake::allBuildDirs() for returning well-formed paths? QStringList used = CMake::allBuildDirs( m_project ); bdCreator.setAlreadyUsed(used); bdCreator.setCMakeBinary(Path(CMake::findExecutable())); diff --git a/projectmanagers/cmake/tests/cmakeprojectvisitortest.cpp b/projectmanagers/cmake/tests/cmakeprojectvisitortest.cpp --- a/projectmanagers/cmake/tests/cmakeprojectvisitortest.cpp +++ b/projectmanagers/cmake/tests/cmakeprojectvisitortest.cpp @@ -520,7 +520,7 @@ results.clear(); results << StringPair("result", ""); QTest::newRow("empty set with scope") << - "set(result ${nonexistant} PARENT_SCOPE)\n" + "set(result ${nonexistent} PARENT_SCOPE)\n" << cacheValues << results; }