|
Cppcheck
|
Classes | |
| class | AboutDialog |
| About dialog. More... | |
| class | ApplicationDialog |
| Dialog to edit a startable application. More... | |
| class | ApplicationList |
| List of applications user has specified to open errors with. More... | |
| class | CheckStatistics |
| A class for check statistics. More... | |
| class | CheckThread |
| Thread to run cppcheck. More... | |
| class | CsvReport |
| CSV text file report. More... | |
| class | GuiSeverity |
| GUI versions of severity conversions. More... | |
| class | ErrorItem |
| A class containing error data for one error. More... | |
| class | ErrorLine |
| A class containing error data for one shown error line. More... | |
| class | FileViewDialog |
| File view -dialog. More... | |
| class | LogView |
| A tool window that shows checking log. More... | |
| class | MainWindow |
| Main window for cppcheck-gui. More... | |
| struct | Platform |
| Checked platform GUI-data. More... | |
| class | Platforms |
| List of checked platforms. More... | |
| class | Project |
| A class that contains project data and manages projects. More... | |
| class | ProjectFile |
| A class that reads and writes project files. More... | |
| class | ProjectFileDialog |
| A dialog for editing project file data. More... | |
| class | Report |
| A base class for reports. More... | |
| class | ResultsTree |
| Cppcheck's results are shown in this tree. More... | |
| class | ResultsView |
| Widget to show cppcheck progressbar and result. More... | |
| class | ScratchPad |
| A window with a text field that . More... | |
| class | SettingsDialog |
| Settings dialog. More... | |
| class | ShowTypes |
| A class for different show types we have. More... | |
| class | StatsDialog |
| A dialog that shows project and scan statistics. More... | |
| class | ThreadHandler |
| This class handles creating threadresult and starting threads. More... | |
| class | ThreadResult |
| Threads use this class to obtain new files to process and to publish results. More... | |
| struct | TranslationInfo |
| Information for one translation. More... | |
| class | TranslationHandler |
| A class handling the available translations. More... | |
| class | TxtReport |
| Text file report. More... | |
| class | XmlReport |
| Base class for XML report classes. More... | |
| class | XmlReportV1 |
| XML file report version 1. More... | |
| class | XmlReportV2 |
| XML file report version 2. More... | |
Defines | |
| #define | SETTINGS_WINDOW_MAXIMIZED "Window maximized" |
| QSetting value names. | |
| #define | SETTINGS_WINDOW_WIDTH "Window width" |
| #define | SETTINGS_WINDOW_HEIGHT "Window height" |
| #define | SETTINGS_LOG_VIEW_WIDTH "Log/View width" |
| #define | SETTINGS_LOG_VIEW_HEIGHT "Log/View height" |
| #define | SETTINGS_MAINWND_SPLITTER_STATE "Mainwindow/Vertical splitter state" |
| #define | SETTINGS_CHECK_DIALOG_WIDTH "Check dialog width" |
| #define | SETTINGS_CHECK_DIALOG_HEIGHT "Check dialog height" |
| #define | SETTINGS_PROJECT_DIALOG_WIDTH "Project dialog width" |
| #define | SETTINGS_PROJECT_DIALOG_HEIGHT "Project dialog height" |
| #define | SETTINGS_RESULT_COLUMN_WIDTH "Result column %1 width" |
| #define | SETTINGS_TOOLBARS_MAIN_SHOW "Toolbars/ShowStandard" |
| #define | SETTINGS_TOOLBARS_VIEW_SHOW "Toolbars/ShowView" |
| #define | SETTINGS_TOOLBARS_FILTER_SHOW "Toolbars/ShowFilter" |
| #define | SETTINGS_SHOW_STYLE "Show style" |
| #define | SETTINGS_SHOW_ERRORS "Show errors" |
| #define | SETTINGS_SHOW_WARNINGS "Show warnings" |
| #define | SETTINGS_SHOW_PERFORMANCE "Show performance" |
| #define | SETTINGS_SHOW_INFORMATION "Show information" |
| #define | SETTINGS_SHOW_PORTABILITY "Show portability" |
| #define | SETTINGS_STD_CPP03 "Platform CPP03" |
| #define | SETTINGS_STD_CPP11 "Platform CPP11" |
| #define | SETTINGS_STD_C89 "Platform C89" |
| #define | SETTINGS_STD_C99 "Platform C99" |
| #define | SETTINGS_STD_C11 "Platform C11" |
| #define | SETTINGS_STD_POSIX "Platform Posix" |
| #define | SETTINGS_CHECK_FORCE "Check force" |
| #define | SETTINGS_CHECK_THREADS "Check threads" |
| #define | SETTINGS_SHOW_FULL_PATH "Show full path" |
| #define | SETTINGS_SHOW_NO_ERRORS "Show no errors message" |
| #define | SETTINGS_SHOW_DEBUG_WARNINGS "Show debug warnings" |
| #define | SETTINGS_SAVE_ALL_ERRORS "Save all errors" |
| #define | SETTINGS_SAVE_FULL_PATH "Save full path" |
| #define | SETTINGS_APPLICATION_NAMES "Application names" |
| #define | SETTINGS_APPLICATION_PATHS "Application paths" |
| #define | SETTINGS_APPLICATION_PARAMS "Application parameters" |
| #define | SETTINGS_APPLICATION_DEFAULT "Default Application" |
| #define | SETTINGS_LANGUAGE "Application language" |
| #define | SETTINGS_GLOBAL_INCLUDE_PATHS "Global include paths" |
| #define | SETTINGS_INLINE_SUPPRESSIONS "Inline suppressions" |
| #define | SETTINGS_INCONCLUSIVE_ERRORS "Inconclusive errors" |
| #define | SETTINGS_MRU_PROJECTS "MRU Projects" |
| #define | SETTINGS_SHOW_ERROR_ID "Show error Id" |
| #define | PROGRESS_MAX 1024.0 |
| #define | SETTINGS_CHECKED_PLATFORM "Checked platform" |
| #define | SETTINGS_LAST_CHECK_PATH "Last check path" |
| #define | SETTINGS_LAST_PROJECT_PATH "Last project path" |
| #define | SETTINGS_LAST_RESULT_PATH "Last result path" |
| #define | SETTINGS_LAST_SOURCE_PATH "Last source path" |
| #define | SETTINGS_LAST_INCLUDE_PATH "Last include path" |
| #define | SETTINGS_LAST_APP_PATH "Last application path" |
Functions | |
| QString | GetPath (const QString &type) |
| Obtains the path of specified type Returns the path of specified type if not empty. | |
| void | SetPath (const QString &type, const QString &value) |
| Stores last used path of specified type Stores provided path as last used path for specified type. | |
| Q_DECLARE_METATYPE (ErrorItem) | |
| #define PROGRESS_MAX 1024.0 |
Definition at line 86 of file common.h.
Referenced by ResultsView::CheckingStarted(), ResultsView::Clear(), and ThreadResult::FileChecked().
| #define SETTINGS_APPLICATION_DEFAULT "Default Application" |
Definition at line 77 of file common.h.
Referenced by ApplicationList::LoadSettings(), and ApplicationList::SaveSettings().
| #define SETTINGS_APPLICATION_NAMES "Application names" |
Definition at line 74 of file common.h.
Referenced by ApplicationList::LoadSettings(), and ApplicationList::SaveSettings().
| #define SETTINGS_APPLICATION_PARAMS "Application parameters" |
Definition at line 76 of file common.h.
Referenced by ApplicationList::LoadSettings(), and ApplicationList::SaveSettings().
| #define SETTINGS_APPLICATION_PATHS "Application paths" |
Definition at line 75 of file common.h.
Referenced by ApplicationList::LoadSettings(), and ApplicationList::SaveSettings().
| #define SETTINGS_CHECK_DIALOG_HEIGHT "Check dialog height" |
Definition at line 40 of file common.h.
Referenced by SettingsDialog::LoadSettings(), and SettingsDialog::SaveSettings().
| #define SETTINGS_CHECK_DIALOG_WIDTH "Check dialog width" |
Definition at line 39 of file common.h.
Referenced by SettingsDialog::LoadSettings(), and SettingsDialog::SaveSettings().
| #define SETTINGS_CHECK_FORCE "Check force" |
Definition at line 67 of file common.h.
Referenced by MainWindow::GetCppcheckSettings(), SettingsDialog::SaveSettingValues(), and SettingsDialog::SettingsDialog().
| #define SETTINGS_CHECK_THREADS "Check threads" |
Definition at line 68 of file common.h.
Referenced by MainWindow::GetCppcheckSettings(), ThreadHandler::LoadSettings(), ThreadHandler::SaveSettings(), SettingsDialog::SaveSettingValues(), and SettingsDialog::SettingsDialog().
| #define SETTINGS_CHECKED_PLATFORM "Checked platform" |
Definition at line 88 of file common.h.
Referenced by MainWindow::GetCppcheckSettings(), MainWindow::MainWindow(), and MainWindow::SelectPlatform().
| #define SETTINGS_GLOBAL_INCLUDE_PATHS "Global include paths" |
Definition at line 79 of file common.h.
Referenced by MainWindow::GetCppcheckSettings(), SettingsDialog::InitIncludepathsList(), and SettingsDialog::SaveSettingValues().
| #define SETTINGS_INCONCLUSIVE_ERRORS "Inconclusive errors" |
Definition at line 81 of file common.h.
Referenced by MainWindow::GetCppcheckSettings(), SettingsDialog::SaveSettingValues(), and SettingsDialog::SettingsDialog().
| #define SETTINGS_INLINE_SUPPRESSIONS "Inline suppressions" |
Definition at line 80 of file common.h.
Referenced by MainWindow::GetCppcheckSettings(), SettingsDialog::SaveSettingValues(), and SettingsDialog::SettingsDialog().
| #define SETTINGS_LANGUAGE "Application language" |
Definition at line 78 of file common.h.
Referenced by main(), MainWindow::ProgramSettings(), MainWindow::SaveSettings(), and SettingsDialog::SaveSettingValues().
| #define SETTINGS_LAST_APP_PATH "Last application path" |
Definition at line 95 of file common.h.
Referenced by ApplicationDialog::Browse().
| #define SETTINGS_LAST_CHECK_PATH "Last check path" |
Definition at line 90 of file common.h.
Referenced by MainWindow::DoCheckFiles(), GetPath(), and MainWindow::SelectFilesToCheck().
| #define SETTINGS_LAST_INCLUDE_PATH "Last include path" |
Definition at line 94 of file common.h.
Referenced by SettingsDialog::AddIncludePath().
| #define SETTINGS_LAST_PROJECT_PATH "Last project path" |
Definition at line 91 of file common.h.
Referenced by MainWindow::NewProjectFile(), and MainWindow::OpenProjectFile().
| #define SETTINGS_LAST_RESULT_PATH "Last result path" |
Definition at line 92 of file common.h.
Referenced by MainWindow::LoadResults(), MainWindow::OpenResults(), and MainWindow::Save().
| #define SETTINGS_LAST_SOURCE_PATH "Last source path" |
Definition at line 93 of file common.h.
Referenced by ResultsTree::AskFileDir().
| #define SETTINGS_LOG_VIEW_HEIGHT "Log/View height" |
Definition at line 37 of file common.h.
Referenced by LogView::LogView(), and LogView::~LogView().
| #define SETTINGS_LOG_VIEW_WIDTH "Log/View width" |
Definition at line 36 of file common.h.
Referenced by LogView::LogView(), and LogView::~LogView().
| #define SETTINGS_MAINWND_SPLITTER_STATE "Mainwindow/Vertical splitter state" |
Definition at line 38 of file common.h.
Referenced by ResultsView::Initialize(), and ResultsView::SaveSettings().
| #define SETTINGS_MRU_PROJECTS "MRU Projects" |
Definition at line 82 of file common.h.
Referenced by MainWindow::AddProjectMRU(), MainWindow::RemoveProjectMRU(), and MainWindow::UpdateMRUMenuItems().
| #define SETTINGS_PROJECT_DIALOG_HEIGHT "Project dialog height" |
Definition at line 42 of file common.h.
Referenced by ProjectFileDialog::LoadSettings(), and ProjectFileDialog::SaveSettings().
| #define SETTINGS_PROJECT_DIALOG_WIDTH "Project dialog width" |
Definition at line 41 of file common.h.
Referenced by ProjectFileDialog::LoadSettings(), and ProjectFileDialog::SaveSettings().
| #define SETTINGS_RESULT_COLUMN_WIDTH "Result column %1 width" |
Definition at line 45 of file common.h.
Referenced by ResultsTree::LoadSettings(), and ResultsTree::SaveSettings().
| #define SETTINGS_SAVE_ALL_ERRORS "Save all errors" |
Definition at line 72 of file common.h.
Referenced by ResultsTree::LoadSettings(), SettingsDialog::SaveSettingValues(), and SettingsDialog::SettingsDialog().
| #define SETTINGS_SAVE_FULL_PATH "Save full path" |
Definition at line 73 of file common.h.
Referenced by ResultsTree::LoadSettings(), SettingsDialog::SaveSettingValues(), and SettingsDialog::SettingsDialog().
| #define SETTINGS_SHOW_DEBUG_WARNINGS "Show debug warnings" |
Definition at line 71 of file common.h.
Referenced by MainWindow::GetCppcheckSettings(), SettingsDialog::SaveSettingValues(), and SettingsDialog::SettingsDialog().
| #define SETTINGS_SHOW_ERROR_ID "Show error Id" |
Definition at line 83 of file common.h.
Referenced by ResultsTree::LoadSettings(), SettingsDialog::SaveSettingValues(), and SettingsDialog::SettingsDialog().
| #define SETTINGS_SHOW_ERRORS "Show errors" |
Definition at line 52 of file common.h.
Referenced by ShowTypes::load(), ShowTypes::save(), and MainWindow::SaveSettings().
| #define SETTINGS_SHOW_FULL_PATH "Show full path" |
Definition at line 69 of file common.h.
Referenced by ResultsTree::LoadSettings(), SettingsDialog::SaveSettingValues(), and SettingsDialog::SettingsDialog().
| #define SETTINGS_SHOW_INFORMATION "Show information" |
Definition at line 55 of file common.h.
Referenced by ShowTypes::load(), ShowTypes::save(), and MainWindow::SaveSettings().
| #define SETTINGS_SHOW_NO_ERRORS "Show no errors message" |
Definition at line 70 of file common.h.
Referenced by ResultsView::Initialize(), SettingsDialog::SaveSettingValues(), and SettingsDialog::SettingsDialog().
| #define SETTINGS_SHOW_PERFORMANCE "Show performance" |
Definition at line 54 of file common.h.
Referenced by ShowTypes::load(), ShowTypes::save(), and MainWindow::SaveSettings().
| #define SETTINGS_SHOW_PORTABILITY "Show portability" |
Definition at line 56 of file common.h.
Referenced by ShowTypes::load(), ShowTypes::save(), and MainWindow::SaveSettings().
| #define SETTINGS_SHOW_STYLE "Show style" |
Definition at line 51 of file common.h.
Referenced by ShowTypes::load(), ShowTypes::save(), and MainWindow::SaveSettings().
| #define SETTINGS_SHOW_WARNINGS "Show warnings" |
Definition at line 53 of file common.h.
Referenced by ShowTypes::load(), ShowTypes::save(), and MainWindow::SaveSettings().
| #define SETTINGS_STD_C11 "Platform C11" |
Definition at line 63 of file common.h.
Referenced by MainWindow::GetCppcheckSettings(), MainWindow::LoadSettings(), and MainWindow::SaveSettings().
| #define SETTINGS_STD_C89 "Platform C89" |
Definition at line 61 of file common.h.
Referenced by MainWindow::LoadSettings(), and MainWindow::SaveSettings().
| #define SETTINGS_STD_C99 "Platform C99" |
Definition at line 62 of file common.h.
Referenced by MainWindow::GetCppcheckSettings(), MainWindow::LoadSettings(), and MainWindow::SaveSettings().
| #define SETTINGS_STD_CPP03 "Platform CPP03" |
Definition at line 59 of file common.h.
Referenced by MainWindow::LoadSettings(), and MainWindow::SaveSettings().
| #define SETTINGS_STD_CPP11 "Platform CPP11" |
Definition at line 60 of file common.h.
Referenced by MainWindow::GetCppcheckSettings(), MainWindow::LoadSettings(), and MainWindow::SaveSettings().
| #define SETTINGS_STD_POSIX "Platform Posix" |
Definition at line 64 of file common.h.
Referenced by MainWindow::GetCppcheckSettings(), MainWindow::LoadSettings(), and MainWindow::SaveSettings().
| #define SETTINGS_TOOLBARS_FILTER_SHOW "Toolbars/ShowFilter" |
Definition at line 48 of file common.h.
Referenced by MainWindow::LoadSettings(), and MainWindow::SaveSettings().
| #define SETTINGS_TOOLBARS_MAIN_SHOW "Toolbars/ShowStandard" |
Definition at line 46 of file common.h.
Referenced by MainWindow::LoadSettings(), and MainWindow::SaveSettings().
| #define SETTINGS_TOOLBARS_VIEW_SHOW "Toolbars/ShowView" |
Definition at line 47 of file common.h.
Referenced by MainWindow::LoadSettings(), and MainWindow::SaveSettings().
| #define SETTINGS_WINDOW_HEIGHT "Window height" |
Definition at line 35 of file common.h.
Referenced by MainWindow::LoadSettings(), and MainWindow::SaveSettings().
| #define SETTINGS_WINDOW_MAXIMIZED "Window maximized" |
QSetting value names.
Definition at line 33 of file common.h.
Referenced by MainWindow::LoadSettings(), and MainWindow::SaveSettings().
| #define SETTINGS_WINDOW_WIDTH "Window width" |
Definition at line 34 of file common.h.
Referenced by MainWindow::LoadSettings(), and MainWindow::SaveSettings().
| QString GetPath | ( | const QString & | type | ) |
Obtains the path of specified type Returns the path of specified type if not empty.
Otherwise returns last check path if valid or user's home directory.
| type | Type of path to obtain |
Definition at line 26 of file common.cpp.
References SETTINGS_LAST_CHECK_PATH.
Referenced by SettingsDialog::AddIncludePath(), ResultsTree::AskFileDir(), ApplicationDialog::Browse(), MainWindow::NewProjectFile(), MainWindow::OpenProjectFile(), MainWindow::OpenResults(), MainWindow::Save(), and MainWindow::SelectFilesToCheck().
| void SetPath | ( | const QString & | type, |
| const QString & | value | ||
| ) |
Stores last used path of specified type Stores provided path as last used path for specified type.
Definition at line 40 of file common.cpp.
Referenced by SettingsDialog::AddIncludePath(), ResultsTree::AskFileDir(), ApplicationDialog::Browse(), MainWindow::DoCheckFiles(), MainWindow::LoadResults(), MainWindow::NewProjectFile(), MainWindow::OpenProjectFile(), MainWindow::Save(), and MainWindow::SelectFilesToCheck().
1.7.6.1