GUI: Rename methods in CheckThread
This commit is contained in:
parent
5ed4c7f3ea
commit
8bd2531603
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue