Cppcheck
|
#include "resultstree.h"
#include "application.h"
#include "applicationlist.h"
#include "common.h"
#include "config.h"
#include "erroritem.h"
#include "errorlogger.h"
#include "errortypes.h"
#include "path.h"
#include "projectfile.h"
#include "report.h"
#include "showtypes.h"
#include "suppressions.h"
#include "threadhandler.h"
#include "xmlreportv2.h"
#include <utility>
#include <QAction>
#include <QApplication>
#include <QClipboard>
#include <QContextMenuEvent>
#include <QDebug>
#include <QDesktopServices>
#include <QDir>
#include <QFileInfo>
#include <QFileDialog>
#include <QIcon>
#include <QItemSelectionModel>
#include <QKeyEvent>
#include <QList>
#include <QLocale>
#include <QMap>
#include <QMenu>
#include <QMessageBox>
#include <QModelIndex>
#include <QProcess>
#include <QSet>
#include <QSettings>
#include <QSignalMapper>
#include <QStandardItem>
#include <QUrl>
#include <QVariant>
#include <QVariantMap>
#include <Qt>
Go to the source code of this file.
Functions | |
static int | indexOf (const QList< ErrorItem > &list, const ErrorItem &item) |
Variables | |
static constexpr char | COLUMN [] = "column" |
static constexpr char | CWE [] = "cwe" |
static constexpr char | ERRORID [] = "id" |
static constexpr char | FILENAME [] = "file" |
static constexpr char | FILE0 [] = "file0" |
static constexpr char | HASH [] = "hash" |
static constexpr char | HIDE [] = "hide" |
static constexpr char | INCONCLUSIVE [] = "inconclusive" |
static constexpr char | LINE [] = "line" |
static constexpr char | MESSAGE [] = "message" |
static constexpr char | SEVERITY [] = "severity" |
static constexpr char | SINCEDATE [] = "sinceDate" |
static constexpr char | SYMBOLNAMES [] = "symbolNames" |
static constexpr char | SUMMARY [] = "summary" |
static constexpr char | TAGS [] = "tags" |
static constexpr int | COLUMN_SINCE_DATE = 6 |
static constexpr int | COLUMN_TAGS = 7 |
Definition at line 1224 of file resultstree.cpp.
References ErrorItem::sameCID().
Referenced by ResultsTree::updateFromOldReport().
|
staticconstexpr |
Definition at line 66 of file resultstree.cpp.
Referenced by ResultsTree::addErrorItem().
|
staticconstexpr |
Definition at line 83 of file resultstree.cpp.
Referenced by ResultsTree::updateFromOldReport().
|
staticconstexpr |
Definition at line 84 of file resultstree.cpp.
Referenced by ResultsTree::tagSelectedItems().
|
staticconstexpr |
Definition at line 67 of file resultstree.cpp.
Referenced by ResultsTree::addErrorItem(), CheckMemoryLeak::deallocuseError(), CheckOther::invalidFreeError(), CheckMemoryLeak::memleakError(), CheckMemoryLeak::memleakUponReallocFailureError(), CheckMemoryLeak::mismatchAllocDealloc(), CheckClass::overrideError(), CheckClass::pureVirtualFunctionCallInConstructorError(), ResultsTree::readErrorItem(), Check::reportError(), CheckMemoryLeak::resourceLeakError(), CheckClass::thisUseAfterFree(), CheckClass::unsafeClassRefMemberError(), CheckClass::uselessOverrideError(), and CheckClass::virtualFunctionCallInConstructorError().
|
staticconstexpr |
Definition at line 68 of file resultstree.cpp.
Referenced by ResultsTree::addErrorItem(), ResultsTree::contextMenuEvent(), ResultsTree::copy(), ResultsTree::hideAllIdResult(), ResultsTree::readErrorItem(), ResultsTree::refreshTree(), ResultsTree::suppressHash(), and ResultsTree::suppressSelectedIds().
|
staticconstexpr |
Definition at line 70 of file resultstree.cpp.
Referenced by ResultsTree::addErrorItem(), ResultsTree::clear(), ResultsTree::ensureFileItem(), ResultsTree::readErrorItem(), and ResultsTree::recheckSelectedFiles().
|
staticconstexpr |
Definition at line 69 of file resultstree.cpp.
Referenced by ResultsTree::addErrorItem(), ResultsTree::clear(), ResultsTree::clearRecheckFile(), ResultsTree::copy(), ResultsTree::ensureFileItem(), ResultsTree::getFilePath(), ResultsTree::readErrorItem(), ResultsTree::recheckSelectedFiles(), ResultsTree::refreshFilePaths(), ResultsTree::refreshTree(), ResultsTree::startApplication(), and ResultsTree::suppressHash().
|
staticconstexpr |
Definition at line 71 of file resultstree.cpp.
Referenced by ResultsTree::addErrorItem(), ResultsTree::readErrorItem(), ResultsTree::suppressHash(), and ResultsTree::tagSelectedItems().
|
staticconstexpr |
Definition at line 72 of file resultstree.cpp.
Referenced by ResultsTree::addErrorItem(), ResultsTree::hideAllIdResult(), ResultsTree::hideResult(), ResultsTree::refreshTree(), and ResultsTree::showHiddenResults().
|
staticconstexpr |
Definition at line 73 of file resultstree.cpp.
Referenced by ResultsTree::addErrorItem(), ResultsTree::copy(), and ResultsTree::readErrorItem().
|
staticconstexpr |
Definition at line 74 of file resultstree.cpp.
Referenced by ResultsTree::addErrorItem(), ResultsTree::copy(), ResultsTree::readErrorItem(), ResultsTree::startApplication(), and ResultsTree::suppressHash().
|
staticconstexpr |
Definition at line 75 of file resultstree.cpp.
Referenced by ResultsTree::addErrorItem(), ResultsTree::copy(), ResultsTree::readErrorItem(), ResultsTree::refreshTree(), and ResultsTree::startApplication().
|
staticconstexpr |
Definition at line 76 of file resultstree.cpp.
Referenced by ResultsTree::addErrorItem(), ResultsTree::copy(), ResultsTree::readErrorItem(), ResultsTree::refreshTree(), and ResultsTree::startApplication().
|
staticconstexpr |
Definition at line 77 of file resultstree.cpp.
Referenced by ResultsTree::addErrorItem(), ResultsTree::readErrorItem(), and ResultsTree::updateFromOldReport().
|
staticconstexpr |
Definition at line 79 of file resultstree.cpp.
Referenced by ResultsTree::addErrorItem(), ResultsTree::readErrorItem(), and ResultsTree::refreshTree().
|
staticconstexpr |
Definition at line 78 of file resultstree.cpp.
Referenced by ResultsTree::addErrorItem().
|
staticconstexpr |
Definition at line 80 of file resultstree.cpp.
Referenced by ResultsTree::addErrorItem(), ResultsTree::readErrorItem(), ResultsTree::tagSelectedItems(), and ResultsTree::updateFromOldReport().