Refactorizations:

- Don't declare functions as slots if they are no slots (one recently added)
- Made some members private instead of protected
This commit is contained in:
PKEuS 2012-10-20 20:32:22 +02:00
parent 70ad457992
commit f63e68fcaa
1 changed files with 15 additions and 17 deletions

View File

@ -62,6 +62,14 @@ public:
*/
Platforms mPlatforms;
/**
* @brief Checks given code
*
* @param code Content of the (virtual) file to be checked
* @param filename Name of the (virtual) file to be checked - determines language.
*/
void CheckCode(const QString& code, const QString& filename);
public slots:
/**
@ -170,12 +178,6 @@ public slots:
*/
void Save();
/**
* @brief Check the project.
* @param project Pointer to the project to check.
*/
void CheckProject(Project *project);
/**
* @brief Slot to create new project file..
*
@ -218,14 +220,6 @@ public slots:
*/
void ShowStatistics();
/**
* @brief Checks given code
*
* @param code Content of the (virtual) file to be checked
* @param filename Name of the (virtual) file to be checked - determines language.
*/
void CheckCode(const QString& code, const QString& filename);
protected slots:
/**
@ -305,7 +299,13 @@ protected slots:
*/
void SelectPlatform();
protected:
private:
/**
* @brief Check the project.
* @param project Pointer to the project to check.
*/
void CheckProject(Project *project);
/**
* @brief Set current language
@ -493,8 +493,6 @@ protected:
*/
QActionGroup *mPlatformActions;
private:
/**
* @brief Are we exiting the cppcheck?
* If this is true then the cppcheck is waiting for check threads to exit