GUI: Rename MainWindow slots

This commit is contained in:
Daniel Marjamäki 2017-07-28 10:41:03 +02:00
parent 213f17e79f
commit 24bdd6d246
2 changed files with 101 additions and 101 deletions

View File

@ -357,7 +357,7 @@ void MainWindow::saveSettings() const
void MainWindow::doCheckProject(ImportProject p) void MainWindow::doCheckProject(ImportProject p)
{ {
ClearResults(); clearResults();
mIsLogfileLoaded = false; mIsLogfileLoaded = false;
if (mProject) { if (mProject) {
@ -379,7 +379,7 @@ void MainWindow::doCheckProject(ImportProject p)
const QString checkPath = inf.canonicalPath(); const QString checkPath = inf.canonicalPath();
SetPath(SETTINGS_LAST_CHECK_PATH, checkPath); SetPath(SETTINGS_LAST_CHECK_PATH, checkPath);
CheckLockDownUI(); // lock UI while checking checkLockDownUI(); // lock UI while checking
mUI.mResults->SetCheckDirectory(checkPath); mUI.mResults->SetCheckDirectory(checkPath);
Settings checkSettings = getCppcheckSettings(); Settings checkSettings = getCppcheckSettings();
@ -403,7 +403,7 @@ void MainWindow::doCheckFiles(const QStringList &files)
if (files.isEmpty()) { if (files.isEmpty()) {
return; return;
} }
ClearResults(); clearResults();
mIsLogfileLoaded = false; mIsLogfileLoaded = false;
FileList pathList; FileList pathList;
@ -435,7 +435,7 @@ void MainWindow::doCheckFiles(const QStringList &files)
const QString checkPath = inf.canonicalPath(); const QString checkPath = inf.canonicalPath();
SetPath(SETTINGS_LAST_CHECK_PATH, checkPath); SetPath(SETTINGS_LAST_CHECK_PATH, checkPath);
CheckLockDownUI(); // lock UI while checking checkLockDownUI(); // lock UI while checking
mUI.mResults->SetCheckDirectory(checkPath); mUI.mResults->SetCheckDirectory(checkPath);
Settings checkSettings = getCppcheckSettings(); Settings checkSettings = getCppcheckSettings();
@ -473,11 +473,11 @@ void MainWindow::checkCode(const QString& code, const QString& filename)
cppcheck.settings() = getCppcheckSettings(); cppcheck.settings() = getCppcheckSettings();
// Check // Check
CheckLockDownUI(); checkLockDownUI();
ClearResults(); clearResults();
mUI.mResults->CheckingStarted(1); mUI.mResults->CheckingStarted(1);
cppcheck.check(filename.toStdString(), code.toStdString()); cppcheck.check(filename.toStdString(), code.toStdString());
CheckDone(); checkDone();
} }
QStringList MainWindow::selectFilesToCheck(QFileDialog::FileMode mode) QStringList MainWindow::selectFilesToCheck(QFileDialog::FileMode mode)
@ -530,7 +530,7 @@ QStringList MainWindow::selectFilesToCheck(QFileDialog::FileMode mode)
return selected; return selected;
} }
void MainWindow::CheckFiles() void MainWindow::checkFiles()
{ {
QStringList selected = selectFilesToCheck(QFileDialog::ExistingFiles); QStringList selected = selectFilesToCheck(QFileDialog::ExistingFiles);
@ -562,7 +562,7 @@ void MainWindow::CheckFiles()
doCheckFiles(selected); doCheckFiles(selected);
} }
void MainWindow::CheckDirectory() void MainWindow::checkDirectory()
{ {
QStringList dir = selectFilesToCheck(QFileDialog::DirectoryOnly); QStringList dir = selectFilesToCheck(QFileDialog::DirectoryOnly);
if (dir.isEmpty()) if (dir.isEmpty())
@ -826,7 +826,7 @@ Settings MainWindow::getCppcheckSettings()
return result; return result;
} }
void MainWindow::CheckDone() void MainWindow::checkDone()
{ {
if (mExiting) { if (mExiting) {
close(); close();
@ -867,10 +867,10 @@ void MainWindow::CheckDone()
// Notify user - if the window is not active - that check is ready // Notify user - if the window is not active - that check is ready
QApplication::alert(this, 3000); QApplication::alert(this, 3000);
if (mSettings->value(SETTINGS_SHOW_STATISTICS, false).toBool()) if (mSettings->value(SETTINGS_SHOW_STATISTICS, false).toBool())
ShowStatistics(); showStatistics();
} }
void MainWindow::CheckLockDownUI() void MainWindow::checkLockDownUI()
{ {
enableCheckButtons(false); enableCheckButtons(false);
mUI.mActionSettings->setEnabled(false); mUI.mActionSettings->setEnabled(false);
@ -891,7 +891,7 @@ void MainWindow::CheckLockDownUI()
} }
} }
void MainWindow::ProgramSettings() void MainWindow::programSettings()
{ {
SettingsDialog dialog(mApplications, mTranslation, this); SettingsDialog dialog(mApplications, mTranslation, this);
if (dialog.exec() == QDialog::Accepted) { if (dialog.exec() == QDialog::Accepted) {
@ -907,12 +907,12 @@ void MainWindow::ProgramSettings()
} }
} }
void MainWindow::ReCheckModified() void MainWindow::reCheckModified()
{ {
reCheck(false); reCheck(false);
} }
void MainWindow::ReCheckAll() void MainWindow::reCheckAll()
{ {
reCheck(true); reCheck(true);
} }
@ -935,7 +935,7 @@ void MainWindow::reCheckSelected(QStringList files, bool all)
if (mProject) if (mProject)
pathList.AddExcludeList(mProject->getProjectFile()->getExcludedPaths()); pathList.AddExcludeList(mProject->getProjectFile()->getExcludedPaths());
QStringList fileNames = pathList.GetFileList(); QStringList fileNames = pathList.GetFileList();
CheckLockDownUI(); // lock UI while checking checkLockDownUI(); // lock UI while checking
mUI.mResults->CheckingStarted(fileNames.size()); mUI.mResults->CheckingStarted(fileNames.size());
mThread->SetCheckFiles(fileNames); mThread->SetCheckFiles(fileNames);
@ -960,7 +960,7 @@ void MainWindow::reCheck(bool all)
for (int i = 0; i < files.size(); ++i) for (int i = 0; i < files.size(); ++i)
mUI.mResults->Clear(files[i]); mUI.mResults->Clear(files[i]);
CheckLockDownUI(); // lock UI while checking checkLockDownUI(); // lock UI while checking
mUI.mResults->CheckingStarted(files.size()); mUI.mResults->CheckingStarted(files.size());
if (mProject) if (mProject)
@ -970,7 +970,7 @@ void MainWindow::reCheck(bool all)
mThread->Check(getCppcheckSettings(), all); mThread->Check(getCppcheckSettings(), all);
} }
void MainWindow::ClearResults() void MainWindow::clearResults()
{ {
mUI.mResults->Clear(true); mUI.mResults->Clear(true);
mUI.mActionClearResults->setEnabled(false); mUI.mActionClearResults->setEnabled(false);
@ -979,7 +979,7 @@ void MainWindow::ClearResults()
mUI.mActionPrintPreview->setEnabled(false); mUI.mActionPrintPreview->setEnabled(false);
} }
void MainWindow::OpenResults() void MainWindow::openResults()
{ {
if (mUI.mResults->HasResults()) { if (mUI.mResults->HasResults()) {
QMessageBox msgBox(this); QMessageBox msgBox(this);
@ -1015,7 +1015,7 @@ void MainWindow::loadResults(const QString selectedFile)
{ {
if (!selectedFile.isEmpty()) { if (!selectedFile.isEmpty()) {
if (mProject) if (mProject)
CloseProjectFile(); closeProjectFile();
mIsLogfileLoaded = true; mIsLogfileLoaded = true;
mUI.mResults->Clear(true); mUI.mResults->Clear(true);
mUI.mActionRecheckModified->setEnabled(false); mUI.mActionRecheckModified->setEnabled(false);
@ -1044,42 +1044,42 @@ void MainWindow::enableCheckButtons(bool enable)
mUI.mActionCheckDirectory->setEnabled(enable); mUI.mActionCheckDirectory->setEnabled(enable);
} }
void MainWindow::ShowStyle(bool checked) void MainWindow::showStyle(bool checked)
{ {
mUI.mResults->ShowResults(ShowTypes::ShowStyle, checked); mUI.mResults->ShowResults(ShowTypes::ShowStyle, checked);
} }
void MainWindow::ShowErrors(bool checked) void MainWindow::showErrors(bool checked)
{ {
mUI.mResults->ShowResults(ShowTypes::ShowErrors, checked); mUI.mResults->ShowResults(ShowTypes::ShowErrors, checked);
} }
void MainWindow::ShowWarnings(bool checked) void MainWindow::showWarnings(bool checked)
{ {
mUI.mResults->ShowResults(ShowTypes::ShowWarnings, checked); mUI.mResults->ShowResults(ShowTypes::ShowWarnings, checked);
} }
void MainWindow::ShowPortability(bool checked) void MainWindow::showPortability(bool checked)
{ {
mUI.mResults->ShowResults(ShowTypes::ShowPortability, checked); mUI.mResults->ShowResults(ShowTypes::ShowPortability, checked);
} }
void MainWindow::ShowPerformance(bool checked) void MainWindow::showPerformance(bool checked)
{ {
mUI.mResults->ShowResults(ShowTypes::ShowPerformance, checked); mUI.mResults->ShowResults(ShowTypes::ShowPerformance, checked);
} }
void MainWindow::ShowInformation(bool checked) void MainWindow::showInformation(bool checked)
{ {
mUI.mResults->ShowResults(ShowTypes::ShowInformation, checked); mUI.mResults->ShowResults(ShowTypes::ShowInformation, checked);
} }
void MainWindow::CheckAll() void MainWindow::checkAll()
{ {
toggleAllChecked(true); toggleAllChecked(true);
} }
void MainWindow::UncheckAll() void MainWindow::uncheckAll()
{ {
toggleAllChecked(false); toggleAllChecked(false);
} }
@ -1116,45 +1116,45 @@ void MainWindow::closeEvent(QCloseEvent *event)
void MainWindow::toggleAllChecked(bool checked) void MainWindow::toggleAllChecked(bool checked)
{ {
mUI.mActionShowStyle->setChecked(checked); mUI.mActionShowStyle->setChecked(checked);
ShowStyle(checked); showStyle(checked);
mUI.mActionShowErrors->setChecked(checked); mUI.mActionShowErrors->setChecked(checked);
ShowErrors(checked); showErrors(checked);
mUI.mActionShowWarnings->setChecked(checked); mUI.mActionShowWarnings->setChecked(checked);
ShowWarnings(checked); showWarnings(checked);
mUI.mActionShowPortability->setChecked(checked); mUI.mActionShowPortability->setChecked(checked);
ShowPortability(checked); showPortability(checked);
mUI.mActionShowPerformance->setChecked(checked); mUI.mActionShowPerformance->setChecked(checked);
ShowPerformance(checked); showPerformance(checked);
mUI.mActionShowInformation->setChecked(checked); mUI.mActionShowInformation->setChecked(checked);
ShowInformation(checked); showInformation(checked);
} }
void MainWindow::About() void MainWindow::about()
{ {
AboutDialog *dlg = new AboutDialog(CppCheck::version(), CppCheck::extraVersion(), this); AboutDialog *dlg = new AboutDialog(CppCheck::version(), CppCheck::extraVersion(), this);
dlg->exec(); dlg->exec();
} }
void MainWindow::ShowLicense() void MainWindow::showLicense()
{ {
FileViewDialog *dlg = new FileViewDialog(":COPYING", tr("License"), this); FileViewDialog *dlg = new FileViewDialog(":COPYING", tr("License"), this);
dlg->resize(570, 400); dlg->resize(570, 400);
dlg->exec(); dlg->exec();
} }
void MainWindow::ShowAuthors() void MainWindow::showAuthors()
{ {
FileViewDialog *dlg = new FileViewDialog(":AUTHORS", tr("Authors"), this); FileViewDialog *dlg = new FileViewDialog(":AUTHORS", tr("Authors"), this);
dlg->resize(350, 400); dlg->resize(350, 400);
dlg->exec(); dlg->exec();
} }
void MainWindow::PerformSelectedFilesCheck(QStringList selectedFilesList) void MainWindow::performSelectedFilesCheck(QStringList selectedFilesList)
{ {
reCheckSelected(selectedFilesList, true); reCheckSelected(selectedFilesList, true);
} }
void MainWindow::Save() void MainWindow::save()
{ {
QString selectedFilter; QString selectedFilter;
const QString filter(tr("XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv)")); const QString filter(tr("XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv)"));
@ -1199,21 +1199,21 @@ void MainWindow::Save()
} }
} }
void MainWindow::ResultsAdded() void MainWindow::resultsAdded()
{ {
} }
void MainWindow::ToggleMainToolBar() void MainWindow::toggleMainToolBar()
{ {
mUI.mToolBarMain->setVisible(mUI.mActionToolBarMain->isChecked()); mUI.mToolBarMain->setVisible(mUI.mActionToolBarMain->isChecked());
} }
void MainWindow::ToggleViewToolBar() void MainWindow::toggleViewToolBar()
{ {
mUI.mToolBarView->setVisible(mUI.mActionToolBarView->isChecked()); mUI.mToolBarView->setVisible(mUI.mActionToolBarView->isChecked());
} }
void MainWindow::ToggleFilterToolBar() void MainWindow::toggleFilterToolBar()
{ {
mUI.mToolBarFilter->setVisible(mUI.mActionToolBarFilter->isChecked()); mUI.mToolBarFilter->setVisible(mUI.mActionToolBarFilter->isChecked());
mLineEditFilter->clear(); // Clearing the filter also disables filtering mLineEditFilter->clear(); // Clearing the filter also disables filtering
@ -1244,20 +1244,20 @@ void MainWindow::setLanguage(const QString &code)
} }
} }
void MainWindow::AboutToShowViewMenu() void MainWindow::aboutToShowViewMenu()
{ {
mUI.mActionToolBarMain->setChecked(mUI.mToolBarMain->isVisible()); mUI.mActionToolBarMain->setChecked(mUI.mToolBarMain->isVisible());
mUI.mActionToolBarView->setChecked(mUI.mToolBarView->isVisible()); mUI.mActionToolBarView->setChecked(mUI.mToolBarView->isVisible());
mUI.mActionToolBarFilter->setChecked(mUI.mToolBarFilter->isVisible()); mUI.mActionToolBarFilter->setChecked(mUI.mToolBarFilter->isVisible());
} }
void MainWindow::StopChecking() void MainWindow::stopChecking()
{ {
mThread->Stop(); mThread->Stop();
mUI.mResults->DisableProgressbar(); mUI.mResults->DisableProgressbar();
} }
void MainWindow::OpenHelpContents() void MainWindow::openHelpContents()
{ {
openOnlineHelp(); openOnlineHelp();
} }
@ -1267,7 +1267,7 @@ void MainWindow::openOnlineHelp()
QDesktopServices::openUrl(QUrl(OnlineHelpURL)); QDesktopServices::openUrl(QUrl(OnlineHelpURL));
} }
void MainWindow::OpenProjectFile() void MainWindow::openProjectFile()
{ {
const QString lastPath = mSettings->value(SETTINGS_LAST_PROJECT_PATH, QString()).toString(); const QString lastPath = mSettings->value(SETTINGS_LAST_PROJECT_PATH, QString()).toString();
const QString filter = tr("Project files (*.cppcheck);;All files(*.*)"); const QString filter = tr("Project files (*.cppcheck);;All files(*.*)");
@ -1285,7 +1285,7 @@ void MainWindow::OpenProjectFile()
} }
} }
void MainWindow::ShowScratchpad() void MainWindow::showScratchpad()
{ {
if (!mScratchPad) if (!mScratchPad)
mScratchPad = new ScratchPad(*this); mScratchPad = new ScratchPad(*this);
@ -1362,7 +1362,7 @@ void MainWindow::checkProject(Project *project)
doCheckFiles(paths); doCheckFiles(paths);
} }
void MainWindow::NewProjectFile() void MainWindow::newProjectFile()
{ {
const QString filter = tr("Project files (*.cppcheck);;All files(*.*)"); const QString filter = tr("Project files (*.cppcheck);;All files(*.*)");
QString filepath = QFileDialog::getSaveFileName(this, QString filepath = QFileDialog::getSaveFileName(this,
@ -1389,7 +1389,7 @@ void MainWindow::NewProjectFile()
} }
} }
void MainWindow::CloseProjectFile() void MainWindow::closeProjectFile()
{ {
delete mProject; delete mProject;
mProject = NULL; mProject = NULL;
@ -1398,7 +1398,7 @@ void MainWindow::CloseProjectFile()
formatAndSetTitle(); formatAndSetTitle();
} }
void MainWindow::EditProjectFile() void MainWindow::editProjectFile()
{ {
if (!mProject) { if (!mProject) {
QMessageBox msg(QMessageBox::Critical, QMessageBox msg(QMessageBox::Critical,
@ -1413,7 +1413,7 @@ void MainWindow::EditProjectFile()
checkProject(mProject); checkProject(mProject);
} }
void MainWindow::ShowLogView() void MainWindow::showLogView()
{ {
if (mLogView == NULL) if (mLogView == NULL)
mLogView = new LogView; mLogView = new LogView;
@ -1423,7 +1423,7 @@ void MainWindow::ShowLogView()
mLogView->activateWindow(); mLogView->activateWindow();
} }
void MainWindow::ShowStatistics() void MainWindow::showStatistics()
{ {
StatsDialog statsDialog(this); StatsDialog statsDialog(this);
@ -1439,27 +1439,27 @@ void MainWindow::ShowStatistics()
statsDialog.exec(); statsDialog.exec();
} }
void MainWindow::ShowLibraryEditor() void MainWindow::showLibraryEditor()
{ {
LibraryDialog libraryDialog(this); LibraryDialog libraryDialog(this);
libraryDialog.exec(); libraryDialog.exec();
} }
void MainWindow::Log(const QString &logline) void MainWindow::log(const QString &logline)
{ {
if (mLogView) { if (mLogView) {
mLogView->AppendLine(logline); mLogView->AppendLine(logline);
} }
} }
void MainWindow::DebugError(const ErrorItem &item) void MainWindow::debugError(const ErrorItem &item)
{ {
if (mLogView) { if (mLogView) {
mLogView->AppendLine(item.ToString()); mLogView->AppendLine(item.ToString());
} }
} }
void MainWindow::FilterResults() void MainWindow::filterResults()
{ {
mUI.mResults->FilterResults(mLineEditFilter->text()); mUI.mResults->FilterResults(mLineEditFilter->text());
} }
@ -1476,7 +1476,7 @@ void MainWindow::enableProjectOpenActions(bool enable)
mUI.mActionOpenProjectFile->setEnabled(enable); mUI.mActionOpenProjectFile->setEnabled(enable);
} }
void MainWindow::OpenRecentProject() void MainWindow::openRecentProject()
{ {
QAction *action = qobject_cast<QAction *>(sender()); QAction *action = qobject_cast<QAction *>(sender());
if (action) { if (action) {
@ -1562,7 +1562,7 @@ void MainWindow::removeProjectMRU(const QString &project)
updateMRUMenuItems(); updateMRUMenuItems();
} }
void MainWindow::SelectPlatform() void MainWindow::selectPlatform()
{ {
QAction *action = qobject_cast<QAction *>(sender()); QAction *action = qobject_cast<QAction *>(sender());
if (action) { if (action) {

View File

@ -73,153 +73,153 @@ public:
public slots: public slots:
/** @brief Slot for check files menu item */ /** @brief Slot for check files menu item */
void CheckFiles(); void checkFiles();
/** @brief Slot to recheck all files */ /** @brief Slot to recheck all files */
void ReCheckAll(); void reCheckAll();
/** /**
* @brief Slot to recheck selected files * @brief Slot to recheck selected files
* @param selectedFilesList list of selected files * @param selectedFilesList list of selected files
*/ */
void PerformSelectedFilesCheck(QStringList selectedFilesList); void performSelectedFilesCheck(QStringList selectedFilesList);
/** @brief Slot to recheck modified files */ /** @brief Slot to recheck modified files */
void ReCheckModified(); void reCheckModified();
/** @brief Slot to clear all search results */ /** @brief Slot to clear all search results */
void ClearResults(); void clearResults();
/** @brief Slot to open XML report file */ /** @brief Slot to open XML report file */
void OpenResults(); void openResults();
/** /**
* @brief Show errors with type "style" * @brief Show errors with type "style"
* @param checked Should errors be shown (true) or hidden (false) * @param checked Should errors be shown (true) or hidden (false)
*/ */
void ShowStyle(bool checked); void showStyle(bool checked);
/** /**
* @brief Show errors with type "error" * @brief Show errors with type "error"
* @param checked Should errors be shown (true) or hidden (false) * @param checked Should errors be shown (true) or hidden (false)
*/ */
void ShowErrors(bool checked); void showErrors(bool checked);
/** /**
* @brief Show errors with type "warning" * @brief Show errors with type "warning"
* @param checked Should errors be shown (true) or hidden (false) * @param checked Should errors be shown (true) or hidden (false)
*/ */
void ShowWarnings(bool checked); void showWarnings(bool checked);
/** /**
* @brief Show errors with type "portability" * @brief Show errors with type "portability"
* @param checked Should errors be shown (true) or hidden (false) * @param checked Should errors be shown (true) or hidden (false)
*/ */
void ShowPortability(bool checked); void showPortability(bool checked);
/** /**
* @brief Show errors with type "performance" * @brief Show errors with type "performance"
* @param checked Should errors be shown (true) or hidden (false) * @param checked Should errors be shown (true) or hidden (false)
*/ */
void ShowPerformance(bool checked); void showPerformance(bool checked);
/** /**
* @brief Show errors with type "information" * @brief Show errors with type "information"
* @param checked Should errors be shown (true) or hidden (false) * @param checked Should errors be shown (true) or hidden (false)
*/ */
void ShowInformation(bool checked); void showInformation(bool checked);
/** @brief Slot to check all "Show errors" menu items */ /** @brief Slot to check all "Show errors" menu items */
void CheckAll(); void checkAll();
/** @brief Slot to uncheck all "Show errors" menu items */ /** @brief Slot to uncheck all "Show errors" menu items */
void UncheckAll(); void uncheckAll();
/** @brief Slot for check directory menu item */ /** @brief Slot for check directory menu item */
void CheckDirectory(); void checkDirectory();
/** @brief Slot to open program's settings dialog */ /** @brief Slot to open program's settings dialog */
void ProgramSettings(); void programSettings();
/** @brief Slot to open program's about dialog */ /** @brief Slot to open program's about dialog */
void About(); void about();
/** @brief Slot to to show license text */ /** @brief Slot to to show license text */
void ShowLicense(); void showLicense();
/** @brief Slot to to show authors list */ /** @brief Slot to to show authors list */
void ShowAuthors(); void showAuthors();
/** @brief Slot to save results */ /** @brief Slot to save results */
void Save(); void save();
/** @brief Slot to create new project file */ /** @brief Slot to create new project file */
void NewProjectFile(); void newProjectFile();
/** @brief Slot to open project file and start checking contained paths. */ /** @brief Slot to open project file and start checking contained paths. */
void OpenProjectFile(); void openProjectFile();
/** @brief Slot to show scratchpad. */ /** @brief Slot to show scratchpad. */
void ShowScratchpad(); void showScratchpad();
/** @brief Slot to close open project file. */ /** @brief Slot to close open project file. */
void CloseProjectFile(); void closeProjectFile();
/** @brief Slot to edit project file. */ /** @brief Slot to edit project file. */
void EditProjectFile(); void editProjectFile();
/** @brief Slot for showing the log view. */ /** @brief Slot for showing the log view. */
void ShowLogView(); void showLogView();
/** @brief Slot for showing the scan and project statistics. */ /** @brief Slot for showing the scan and project statistics. */
void ShowStatistics(); void showStatistics();
/** @brief Slot for showing the library editor */ /** @brief Slot for showing the library editor */
void ShowLibraryEditor(); void showLibraryEditor();
protected slots: protected slots:
/** @brief Slot for checkthread's done signal */ /** @brief Slot for checkthread's done signal */
void CheckDone(); void checkDone();
/** @brief Lock down UI while checking */ /** @brief Lock down UI while checking */
void CheckLockDownUI(); void checkLockDownUI();
/** @brief Slot for enabling save and clear button */ /** @brief Slot for enabling save and clear button */
void ResultsAdded(); void resultsAdded();
/** @brief Slot for showing/hiding standard toolbar */ /** @brief Slot for showing/hiding standard toolbar */
void ToggleMainToolBar(); void toggleMainToolBar();
/** @brief Slot for showing/hiding Categories toolbar */ /** @brief Slot for showing/hiding Categories toolbar */
void ToggleViewToolBar(); void toggleViewToolBar();
/** @brief Slot for showing/hiding Filter toolbar */ /** @brief Slot for showing/hiding Filter toolbar */
void ToggleFilterToolBar(); void toggleFilterToolBar();
/** @brief Slot for updating View-menu before it is shown. */ /** @brief Slot for updating View-menu before it is shown. */
void AboutToShowViewMenu(); void aboutToShowViewMenu();
/** @brief Slot when stop checking button is pressed */ /** @brief Slot when stop checking button is pressed */
void StopChecking(); void stopChecking();
/** @brief Open help file contents */ /** @brief Open help file contents */
void OpenHelpContents(); void openHelpContents();
/** @brief Add new line to log. */ /** @brief Add new line to log. */
void Log(const QString &logline); void log(const QString &logline);
/** @brief Handle new debug error. */ /** @brief Handle new debug error. */
void DebugError(const ErrorItem &item); void debugError(const ErrorItem &item);
/** @brief Filters the results in the result list. */ /** @brief Filters the results in the result list. */
void FilterResults(); void filterResults();
/** @brief Opens recently opened project file. */ /** @brief Opens recently opened project file. */
void OpenRecentProject(); void openRecentProject();
/** @brief Selects the platform as checked platform. */ /** @brief Selects the platform as checked platform. */
void SelectPlatform(); void selectPlatform();
private: private: