Cppcheck
Functions | Variables
resultstree.cpp File Reference
#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
 

Function Documentation

◆ indexOf()

static int indexOf ( const QList< ErrorItem > &  list,
const ErrorItem item 
)
static

Definition at line 1224 of file resultstree.cpp.

References ErrorItem::sameCID().

Referenced by ResultsTree::updateFromOldReport().

Variable Documentation

◆ COLUMN

constexpr char COLUMN[] = "column"
staticconstexpr

Definition at line 66 of file resultstree.cpp.

Referenced by ResultsTree::addErrorItem().

◆ COLUMN_SINCE_DATE

constexpr int COLUMN_SINCE_DATE = 6
staticconstexpr

Definition at line 83 of file resultstree.cpp.

Referenced by ResultsTree::updateFromOldReport().

◆ COLUMN_TAGS

constexpr int COLUMN_TAGS = 7
staticconstexpr

Definition at line 84 of file resultstree.cpp.

Referenced by ResultsTree::tagSelectedItems().

◆ CWE

constexpr char CWE[] = "cwe"
staticconstexpr

◆ ERRORID

constexpr char ERRORID[] = "id"
staticconstexpr

◆ FILE0

constexpr char FILE0[] = "file0"
staticconstexpr

◆ FILENAME

constexpr char FILENAME[] = "file"
staticconstexpr

◆ HASH

constexpr char HASH[] = "hash"
staticconstexpr

◆ HIDE

constexpr char HIDE[] = "hide"
staticconstexpr

◆ INCONCLUSIVE

constexpr char INCONCLUSIVE[] = "inconclusive"
staticconstexpr

◆ LINE

constexpr char LINE[] = "line"
staticconstexpr

◆ MESSAGE

constexpr char MESSAGE[] = "message"
staticconstexpr

◆ SEVERITY

constexpr char SEVERITY[] = "severity"
staticconstexpr

◆ SINCEDATE

constexpr char SINCEDATE[] = "sinceDate"
staticconstexpr

◆ SUMMARY

constexpr char SUMMARY[] = "summary"
staticconstexpr

◆ SYMBOLNAMES

constexpr char SYMBOLNAMES[] = "symbolNames"
staticconstexpr

Definition at line 78 of file resultstree.cpp.

Referenced by ResultsTree::addErrorItem().

◆ TAGS

constexpr char TAGS[] = "tags"
staticconstexpr