Skip to content

Commit 8bd2531

Browse files
committed
GUI: Rename methods in CheckThread
1 parent 5ed4c7f commit 8bd2531

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

gui/checkthread.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ CheckThread::~CheckThread()
3636
//dtor
3737
}
3838

39-
void CheckThread::Check(const Settings &settings)
39+
void CheckThread::check(const Settings &settings)
4040
{
4141
mFiles.clear();
4242
mCppcheck.settings() = settings;
4343
start();
4444
}
4545

46-
void CheckThread::AnalyseWholeProgram(const QStringList &files)
46+
void CheckThread::analyseWholeProgram(const QStringList &files)
4747
{
4848
mFiles = files;
4949
mAnalyseWholeProgram = true;

gui/checkthread.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ class CheckThread : public QThread {
4444
*
4545
* @param settings settings for cppcheck
4646
*/
47-
void Check(const Settings &settings);
47+
void check(const Settings &settings);
4848

4949
/**
5050
* @brief Run whole program analysis
5151
* @param files All files
5252
*/
53-
void AnalyseWholeProgram(const QStringList &files);
53+
void analyseWholeProgram(const QStringList &files);
5454

5555
/**
5656
* @brief method that is run in a thread

gui/threadhandler.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ void ThreadHandler::Check(const Settings &settings, bool all)
9191
}
9292

9393
for (int i = 0; i < mRunningThreadCount; i++) {
94-
mThreads[i]->Check(settings);
94+
mThreads[i]->check(settings);
9595
}
9696

9797
// Date and time when checking starts..
@@ -148,7 +148,7 @@ void ThreadHandler::RemoveThreads()
148148
void ThreadHandler::ThreadDone()
149149
{
150150
if (mRunningThreadCount == 1 && mAnalyseWholeProgram) {
151-
mThreads[0]->AnalyseWholeProgram(mLastFiles);
151+
mThreads[0]->analyseWholeProgram(mLastFiles);
152152
mAnalyseWholeProgram = false;
153153
return;
154154
}

0 commit comments

Comments
 (0)