File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ ThreadHandler::ThreadHandler(QObject *parent) :
3838
3939ThreadHandler::~ThreadHandler ()
4040{
41- RemoveThreads ();
41+ removeThreads ();
4242}
4343
4444void ThreadHandler::clearFiles ()
@@ -116,7 +116,7 @@ void ThreadHandler::setThreadCount(const int count)
116116 }
117117
118118 // Remove unused old threads
119- RemoveThreads ();
119+ removeThreads ();
120120 // Create new threads
121121 for (int i = mThreads .size (); i < count; i++) {
122122 mThreads << new CheckThread (mResults );
@@ -129,14 +129,14 @@ void ThreadHandler::setThreadCount(const int count)
129129}
130130
131131
132- void ThreadHandler::RemoveThreads ()
132+ void ThreadHandler::removeThreads ()
133133{
134134 for (int i = 0 ; i < mThreads .size (); i++) {
135135 mThreads [i]->terminate ();
136136 disconnect (mThreads .last (), SIGNAL (Done ()),
137- this , SLOT (ThreadDone ()));
137+ this , SLOT (threadDone ()));
138138 disconnect (mThreads .last (), SIGNAL (FileChecked (const QString &)),
139- &mResults , SLOT (FileChecked (const QString &)));
139+ &mResults , SLOT (fileChecked (const QString &)));
140140
141141 delete mThreads [i];
142142 }
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ protected slots:
215215 * @brief Function to delete all threads
216216 *
217217 */
218- void RemoveThreads ();
218+ void removeThreads ();
219219
220220 /* *
221221 * @brief Thread results are stored here
You can’t perform that action at this time.
0 commit comments