Coverity scan missing includes.
--HG-- branch : develop
This commit is contained in:
parent
7a14bf255b
commit
65d2213ef9
|
@ -34,6 +34,8 @@
|
|||
#include <QDate>
|
||||
#include <QDesktopServices>
|
||||
#include <QMessageBox>
|
||||
#include <QUrl>
|
||||
#include <QtDebug>
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogAboutTape::DialogAboutTape(QWidget *parent)
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include "mapplication.h"
|
||||
|
||||
#include <QMessageBox> // For QT_REQUIRE_VERSION
|
||||
#include <QTimer>
|
||||
|
||||
// Lock producing random attribute order in XML
|
||||
// https://stackoverflow.com/questions/27378143/qt-5-produce-random-attribute-order-in-xml
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
#include <iostream>
|
||||
#include <QGridLayout>
|
||||
#include <QSpacerItem>
|
||||
#include <QThread>
|
||||
|
||||
Q_LOGGING_CATEGORY(mApp, "m.application")
|
||||
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
#include <QThread>
|
||||
#include <QDateTime>
|
||||
#include <QtXmlPatterns>
|
||||
#include <QIcon>
|
||||
|
||||
Q_LOGGING_CATEGORY(vApp, "v.application")
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include <QDate>
|
||||
#include <QDesktopServices>
|
||||
#include <QMessageBox>
|
||||
#include <QtDebug>
|
||||
#include "../options.h"
|
||||
#include "../core/vapplication.h"
|
||||
|
||||
|
|
|
@ -33,6 +33,8 @@
|
|||
|
||||
#include <QMessageBox>
|
||||
#include <QPushButton>
|
||||
#include <QMovie>
|
||||
#include <QtDebug>
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogLayoutProgress::DialogLayoutProgress(int count, QWidget *parent)
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#include "mainwindow.h"
|
||||
#include "core/vapplication.h"
|
||||
#include <QMessageBox> // For QT_REQUIRE_VERSION
|
||||
#include <QTimer>
|
||||
|
||||
// Lock producing random attribute order in XML
|
||||
// https://stackoverflow.com/questions/27378143/qt-5-produce-random-attribute-order-in-xml
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
|
||||
#include <QFile>
|
||||
#include <QFileInfo>
|
||||
#include <QDir>
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
VAbstractConverter::VAbstractConverter(const QString &fileName)
|
||||
|
@ -174,6 +175,7 @@ void VAbstractConverter::Replace(QString &formula, const QString &newName, int p
|
|||
bias = token.length() - newName.length();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VAbstractConverter::CorrectionsPositions(int position, int bias, QMap<int, QString> &tokens) const
|
||||
{
|
||||
if (bias == 0)
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
|
||||
#include "qmuformulabase.h"
|
||||
|
||||
#include <QLocale>
|
||||
|
||||
namespace qmu
|
||||
{
|
||||
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#ifndef DXFDEF_H
|
||||
#define DXFDEF_H
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
enum class VarMeasurement : unsigned char { English=0, Metric=1 };
|
||||
|
||||
//Default drawing units for AutoCAD DesignCenter blocks:
|
||||
|
|
|
@ -33,6 +33,8 @@
|
|||
#include "../vpatterndb/calculator.h"
|
||||
#include "../qmuparser/qmutokenparser.h"
|
||||
|
||||
#include <QDate>
|
||||
|
||||
const QString VMeasurements::TagVST = QStringLiteral("vst");
|
||||
const QString VMeasurements::TagVIT = QStringLiteral("vit");
|
||||
const QString VMeasurements::TagBodyMeasurements = QStringLiteral("body-measurements");
|
||||
|
|
|
@ -30,6 +30,9 @@
|
|||
#include "../vmisc/def.h"
|
||||
|
||||
#include <QLibraryInfo>
|
||||
#include <QLoggingCategory>
|
||||
#include <QTranslator>
|
||||
#include <QtDebug>
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
VAbstractApplication::VAbstractApplication(int &argc, char **argv)
|
||||
|
|
|
@ -29,6 +29,9 @@
|
|||
#include "vmeasurement.h"
|
||||
#include "vmeasurement_p.h"
|
||||
|
||||
#include <QMap>
|
||||
#include <QtDebug>
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
/**
|
||||
* @brief VMeasurement create measurement for standard table
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include "../vgeometry/vpointf.h"
|
||||
|
||||
#include <QDebug>
|
||||
#include <QPainterPath>
|
||||
#include <QString>
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -33,6 +33,9 @@
|
|||
#include "../qmuparser/qmutokenparser.h"
|
||||
#include "../ifc/ifcdef.h"
|
||||
|
||||
#include <QLocale>
|
||||
#include <QtDebug>
|
||||
|
||||
using namespace qmu;
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -36,6 +36,8 @@
|
|||
#include "../../../vwidgets/vmaingraphicsscene.h"
|
||||
#include "../support/dialogeditwrongformula.h"
|
||||
|
||||
#include <QTimer>
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogPointFromCircleAndTangent::DialogPointFromCircleAndTangent(const VContainer *data, const quint32 &toolId,
|
||||
QWidget *parent)
|
||||
|
|
|
@ -36,6 +36,8 @@
|
|||
#include "../../../vwidgets/vmaingraphicsscene.h"
|
||||
#include "../support/dialogeditwrongformula.h"
|
||||
|
||||
#include <QTimer>
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogPointOfIntersectionCircles::DialogPointOfIntersectionCircles(const VContainer *data, const quint32 &toolId,
|
||||
QWidget *parent)
|
||||
|
|
|
@ -31,6 +31,8 @@
|
|||
#include "../vgeometry/vpointf.h"
|
||||
#include "../../../../undocommands/movedoublelabel.h"
|
||||
|
||||
#include <QKeyEvent>
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
VToolDoublePoint::VToolDoublePoint(VAbstractPattern *doc, VContainer *data, quint32 id, quint32 p1id, quint32 p2id,
|
||||
QGraphicsItem *parent)
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
#define VABSTRACTSIMPLE_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QPen>
|
||||
#include <QColor>
|
||||
#include "../vmisc/def.h"
|
||||
|
||||
class VAbstractSimple : public QObject
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
|
||||
#include <QGraphicsSceneMouseEvent>
|
||||
#include <QStyleOptionGraphicsItem>
|
||||
#include <QPen>
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
VSimplePoint::VSimplePoint(quint32 id, const QColor ¤tColor, Unit patternUnit, qreal *factor, QObject *parent)
|
||||
|
|
|
@ -31,6 +31,8 @@
|
|||
|
||||
#include "abstracttest.h"
|
||||
|
||||
#include <QPointer>
|
||||
|
||||
class QTranslator;
|
||||
class VTranslateMeasurements;
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include "../qmuparser/qmuparsererror.h"
|
||||
|
||||
#include <QTranslator>
|
||||
#include <QPointer>
|
||||
|
||||
class TST_QmuParserErrorMsg : public AbstractTest
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user