Fix deprecation warning.

Some headers from C library were deprecated in C++ and are no longer welcome in C++ codebases.
This commit is contained in:
Roman Telezhynskyi 2021-04-09 17:51:45 +03:00
parent 17de0410a0
commit 2a9adb5d88
15 changed files with 15 additions and 15 deletions

View File

@ -22,7 +22,7 @@
#ifndef QMUQPARSERBASE_H #ifndef QMUQPARSERBASE_H
#define QMUQPARSERBASE_H #define QMUQPARSERBASE_H
#include <limits.h> #include <climits>
#include <qcompilerdetection.h> #include <qcompilerdetection.h>
#include <QChar> #include <QChar>
#include <QMap> #include <QMap>

View File

@ -28,7 +28,7 @@
#include "vcontainer.h" #include "vcontainer.h"
#include <limits.h> #include <climits>
#include <QVector> #include <QVector>
#include <QtDebug> #include <QtDebug>
#include <QUuid> #include <QUuid>

View File

@ -28,7 +28,7 @@
#include "dialogarc.h" #include "dialogarc.h"
#include <limits.h> #include <climits>
#include <QDialog> #include <QDialog>
#include <QLabel> #include <QLabel>
#include <QPlainTextEdit> #include <QPlainTextEdit>

View File

@ -28,7 +28,7 @@
#include "dialogarcwithlength.h" #include "dialogarcwithlength.h"
#include <limits.h> #include <climits>
#include <QDialog> #include <QDialog>
#include <QLabel> #include <QLabel>
#include <QPlainTextEdit> #include <QPlainTextEdit>

View File

@ -28,7 +28,7 @@
#include "dialogellipticalarc.h" #include "dialogellipticalarc.h"
#include <limits.h> #include <climits>
#include <QDialog> #include <QDialog>
#include <QLabel> #include <QLabel>
#include <QPlainTextEdit> #include <QPlainTextEdit>

View File

@ -28,7 +28,7 @@
#include "dialogpointfromcircleandtangent.h" #include "dialogpointfromcircleandtangent.h"
#include <limits.h> #include <climits>
#include <QColor> #include <QColor>
#include <QComboBox> #include <QComboBox>
#include <QDialog> #include <QDialog>

View File

@ -28,7 +28,7 @@
#include "dialogpointofintersectioncircles.h" #include "dialogpointofintersectioncircles.h"
#include <limits.h> #include <climits>
#include <QColor> #include <QColor>
#include <QComboBox> #include <QComboBox>
#include <QDialog> #include <QDialog>

View File

@ -28,7 +28,7 @@
#include "dialogtool.h" #include "dialogtool.h"
#include <limits.h> #include <climits>
#include <qiterator.h> #include <qiterator.h>
#include <qnumeric.h> #include <qnumeric.h>
#include <QCloseEvent> #include <QCloseEvent>

View File

@ -28,7 +28,7 @@
#include "vtoolflippingbyaxis.h" #include "vtoolflippingbyaxis.h"
#include <limits.h> #include <climits>
#include <qiterator.h> #include <qiterator.h>
#include <QColor> #include <QColor>
#include <QDomNode> #include <QDomNode>

View File

@ -28,7 +28,7 @@
#include "vtoolflippingbyline.h" #include "vtoolflippingbyline.h"
#include <limits.h> #include <climits>
#include <qiterator.h> #include <qiterator.h>
#include <QColor> #include <QColor>
#include <QDomNode> #include <QDomNode>

View File

@ -28,7 +28,7 @@
#include "vtoolmove.h" #include "vtoolmove.h"
#include <limits.h> #include <climits>
#include <qiterator.h> #include <qiterator.h>
#include <QColor> #include <QColor>
#include <QDomNode> #include <QDomNode>

View File

@ -28,7 +28,7 @@
#include "vtoolrotation.h" #include "vtoolrotation.h"
#include <limits.h> #include <climits>
#include <qiterator.h> #include <qiterator.h>
#include <QColor> #include <QColor>
#include <QDomNode> #include <QDomNode>

View File

@ -28,7 +28,7 @@
#include "vtoolcurveintersectaxis.h" #include "vtoolcurveintersectaxis.h"
#include <limits.h> #include <climits>
#include <QLineF> #include <QLineF>
#include <QMap> #include <QMap>
#include <QRectF> #include <QRectF>

View File

@ -28,7 +28,7 @@
#include "vistoolmove.h" #include "vistoolmove.h"
#include <limits.h> #include <climits>
#include <QGraphicsLineItem> #include <QGraphicsLineItem>
#include <QGraphicsPathItem> #include <QGraphicsPathItem>
#include <QGuiApplication> #include <QGuiApplication>

View File

@ -28,7 +28,7 @@
#include "vistoolrotation.h" #include "vistoolrotation.h"
#include <limits.h> #include <climits>
#include <QGraphicsLineItem> #include <QGraphicsLineItem>
#include <QGraphicsPathItem> #include <QGraphicsPathItem>
#include <QGuiApplication> #include <QGuiApplication>