Cppcheck
Functions | Variables
projectfiledialog.cpp File Reference
#include "projectfiledialog.h"
#include "checkthread.h"
#include "common.h"
#include "importproject.h"
#include "library.h"
#include "newsuppressiondialog.h"
#include "platform.h"
#include "platforms.h"
#include "projectfile.h"
#include "settings.h"
#include "ui_projectfile.h"
#include <list>
#include <string>
#include <utility>
#include <QByteArray>
#include <QCheckBox>
#include <QComboBox>
#include <QCoreApplication>
#include <QDialogButtonBox>
#include <QDir>
#include <QFileDialog>
#include <QFileInfo>
#include <QFlags>
#include <QLabel>
#include <QLineEdit>
#include <QListWidget>
#include <QListWidgetItem>
#include <QMap>
#include <QPushButton>
#include <QRadioButton>
#include <QRegularExpression>
#include <QRegularExpressionValidator>
#include <QSettings>
#include <QSize>
#include <QSpinBox>
#include <QVariant>

Go to the source code of this file.

Functions

static QStringList getPaths (const QListWidget *list)
 Return paths from QListWidget. More...
 
static void updateAddonCheckBox (QCheckBox *cb, const ProjectFile *projectFile, const QString &dataDir, const QString &addon)
 

Variables

static constexpr char ADDON_MISRA [] = "misra"
 
static constexpr char CODING_STANDARD_MISRA_C_2023 [] = "misra-c-2023"
 
static constexpr char CODING_STANDARD_MISRA_CPP_2008 [] = "misra-cpp-2008"
 
static constexpr char CODING_STANDARD_CERT_C [] = "cert-c-2016"
 
static constexpr char CODING_STANDARD_CERT_CPP [] = "cert-cpp-2016"
 
static constexpr char CODING_STANDARD_AUTOSAR [] = "autosar"
 
static constexpr Platform::Type builtinPlatforms []
 Platforms shown in the platform combobox. More...
 
static constexpr int numberOfBuiltinPlatforms = sizeof(builtinPlatforms) / sizeof(builtinPlatforms[0])
 

Function Documentation

◆ getPaths()

static QStringList getPaths ( const QListWidget *  list)
static

◆ updateAddonCheckBox()

static void updateAddonCheckBox ( QCheckBox *  cb,
const ProjectFile projectFile,
const QString &  dataDir,
const QString &  addon 
)
static

Variable Documentation

◆ ADDON_MISRA

constexpr char ADDON_MISRA[] = "misra"
staticconstexpr

◆ builtinPlatforms

constexpr Platform::Type builtinPlatforms[]
staticconstexpr
Initial value:
= {
Platform::Type::Native,
Platform::Type::Win32A,
Platform::Type::Win32W,
Platform::Type::Win64,
Platform::Type::Unix32,
Platform::Type::Unix64
}

Platforms shown in the platform combobox.

Definition at line 80 of file projectfiledialog.cpp.

Referenced by ProjectFileDialog::loadFromProjectFile(), ProjectFileDialog::ProjectFileDialog(), and ProjectFileDialog::saveToProjectFile().

◆ CODING_STANDARD_AUTOSAR

constexpr char CODING_STANDARD_AUTOSAR[] = "autosar"
staticconstexpr

◆ CODING_STANDARD_CERT_C

constexpr char CODING_STANDARD_CERT_C[] = "cert-c-2016"
staticconstexpr

◆ CODING_STANDARD_CERT_CPP

constexpr char CODING_STANDARD_CERT_CPP[] = "cert-cpp-2016"
staticconstexpr

◆ CODING_STANDARD_MISRA_C_2023

constexpr char CODING_STANDARD_MISRA_C_2023[] = "misra-c-2023"
staticconstexpr

◆ CODING_STANDARD_MISRA_CPP_2008

constexpr char CODING_STANDARD_MISRA_CPP_2008[] = "misra-cpp-2008"
staticconstexpr

◆ numberOfBuiltinPlatforms

constexpr int numberOfBuiltinPlatforms = sizeof(builtinPlatforms) / sizeof(builtinPlatforms[0])
staticconstexpr