diff --git a/gui/checkthread.cpp b/gui/checkthread.cpp index 5bdeab261..ace881896 100644 --- a/gui/checkthread.cpp +++ b/gui/checkthread.cpp @@ -36,14 +36,14 @@ CheckThread::~CheckThread() //dtor } -void CheckThread::Check(const Settings &settings) +void CheckThread::check(const Settings &settings) { mFiles.clear(); mCppcheck.settings() = settings; start(); } -void CheckThread::AnalyseWholeProgram(const QStringList &files) +void CheckThread::analyseWholeProgram(const QStringList &files) { mFiles = files; mAnalyseWholeProgram = true; diff --git a/gui/checkthread.h b/gui/checkthread.h index 8479bd8f7..599f278c9 100644 --- a/gui/checkthread.h +++ b/gui/checkthread.h @@ -44,13 +44,13 @@ public: * * @param settings settings for cppcheck */ - void Check(const Settings &settings); + void check(const Settings &settings); /** * @brief Run whole program analysis * @param files All files */ - void AnalyseWholeProgram(const QStringList &files); + void analyseWholeProgram(const QStringList &files); /** * @brief method that is run in a thread diff --git a/gui/threadhandler.cpp b/gui/threadhandler.cpp index 8980f241e..07fd801f4 100644 --- a/gui/threadhandler.cpp +++ b/gui/threadhandler.cpp @@ -91,7 +91,7 @@ void ThreadHandler::Check(const Settings &settings, bool all) } for (int i = 0; i < mRunningThreadCount; i++) { - mThreads[i]->Check(settings); + mThreads[i]->check(settings); } // Date and time when checking starts.. @@ -148,7 +148,7 @@ void ThreadHandler::RemoveThreads() void ThreadHandler::ThreadDone() { if (mRunningThreadCount == 1 && mAnalyseWholeProgram) { - mThreads[0]->AnalyseWholeProgram(mLastFiles); + mThreads[0]->analyseWholeProgram(mLastFiles); mAnalyseWholeProgram = false; return; }