Remove QtCore include to supress warning on Qt5.12

This commit is contained in:
Vadim Kuznetsov 2022-02-15 22:41:25 +01:00
parent 88828bf793
commit 5084662512
16 changed files with 48 additions and 30 deletions

View File

@ -19,7 +19,12 @@
#include "schematic.h"
#include "extsimkernels/spicecompat.h"
#include "extsimkernels/verilogawriter.h"
#include <QtCore>
#include <QString>
#include <QStringList>
#include <QList>
#include <QRegExp>
#include <QFontMetrics>
#include <QFileInfo>

View File

@ -20,7 +20,13 @@
#ifndef ABSTRACTSPICEKERNEL_H
#define ABSTRACTSPICEKERNEL_H
#include <QtCore>
#include <QList>
#include <QString>
#include <QStringList>
#include <QDataStream>
#include <QTextStream>
#include <QProcess>
#include "schematic.h"
/*!

View File

@ -23,7 +23,10 @@
#ifndef CODEMODELGEN_H
#define CODEMODELGEN_H
#include <QtCore>
#include <QString>
#include <QStringList>
#include <QTextStream>
#include <schematic.h>
/*!

View File

@ -19,7 +19,7 @@
#define EXTERNSIMDIALOG_H
#include <QtGui>
#include <QtCore>
#include "schematic.h"
#include "ngspice.h"
#include "xyce.h"

View File

@ -19,7 +19,9 @@
#ifndef NGSPICE_H
#define NGSPICE_H
#include <QtCore>
#include <QString>
#include <QStringList>
#include <QDataStream>
#include "schematic.h"
#include "abstractspicekernel.h"

View File

@ -20,7 +20,7 @@
#ifndef QUCS2SPICE_H
#define QUCS2SPICE_H
#include <QtCore>
#include <QString>
/*!
\file qucs2spice.h

View File

@ -1,6 +1,8 @@
#include "spicecompat.h"
#include "main.h"
#include <QDebug>
/*!
* \brief spicecompat::check_refdes If starting letters of the component name
* match spice model (i.e. R1, C1, L1)returns Name. Otherwise function

View File

@ -1,7 +1,8 @@
#ifndef SPICECOMPAT_H
#define SPICECOMPAT_H
#include <QtCore>
#include <QString>
#include <QStringList>
/*!
\brief spicecompat namespace contains definitions responsible

View File

@ -23,7 +23,9 @@
#ifndef VERILOGAWRITER_H
#define VERILOGAWRITER_H
#include <QtCore>
#include <QString>
#include <QStringList>
#include <QTextStream>
#include <schematic.h>
/*!

View File

@ -19,7 +19,9 @@
#ifndef XSPICE_CMBUILDER_H
#define XSPICE_CMBUILDER_H
#include <QtCore>
#include <QString>
#include <QStringList>
#include <QTextStream>
#include "schematic.h"
class XSPICE_CMbuilder

View File

@ -18,7 +18,10 @@
#ifndef XYCE_H
#define XYCE_H
#include <QtCore>
#include <QObject>
#include <QString>
#include <QStringList>
#include <QTextStream>
#include "abstractspicekernel.h"
/*!

View File

@ -41,7 +41,8 @@
#include "q3gdict.h"
#include "qt_compat.h"
#include <QtCore>
#include <QString>
#include <QDataStream>
#include <ctype.h>
#include <stdint.h>

View File

@ -43,7 +43,6 @@
#define Q3GDICT_H
#include "q3ptrcollection.h"
#include <QtCore>
class Q3GDictIterator;
class Q3GDItList;

View File

@ -42,22 +42,16 @@
#ifndef Q3VALUELIST_H
#define Q3VALUELIST_H
#include <QtCore/qalgorithms.h>
#include <QtCore/qdatastream.h>
#include <QtCore/qlinkedlist.h>
#include <QtCore/qlist.h>
#include <QtAlgorithms>
#include <QDataStream>
#include <QLinkedList>
#include <QList>
#ifndef QT_NO_STL
#include <iterator>
#include <list>
#endif
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Qt3SupportLight)
template <typename T>
class Q3ValueListIterator : public QLinkedList<T>::iterator
{
@ -210,7 +204,7 @@ public:
};
template <typename T>
Q_OUTOFLINE_TEMPLATE void Q3ValueList<T>::insert(typename Q3ValueList<T>::Iterator pos,
void Q3ValueList<T>::insert(typename Q3ValueList<T>::Iterator pos,
typename Q3ValueList<T>::size_type n, const T& x)
{
for (; n > 0; --n)
@ -219,20 +213,17 @@ Q_OUTOFLINE_TEMPLATE void Q3ValueList<T>::insert(typename Q3ValueList<T>::Iterat
#ifndef QT_NO_DATASTREAM
template <typename T>
Q_OUTOFLINE_TEMPLATE QDataStream& operator>>(QDataStream& s, Q3ValueList<T>& l)
QDataStream& operator>>(QDataStream& s, Q3ValueList<T>& l)
{
return operator>>(s, static_cast<QLinkedList<T> &>(l));
}
template <typename T>
Q_OUTOFLINE_TEMPLATE QDataStream& operator<<(QDataStream& s, const Q3ValueList<T>& l)
QDataStream& operator<<(QDataStream& s, const Q3ValueList<T>& l)
{
return operator<<(s, static_cast<const QLinkedList<T> &>(l));
}
#endif
QT_END_NAMESPACE
QT_END_HEADER
#endif // Q3VALUELIST_H

View File

@ -14,7 +14,7 @@
* (at your option) any later version. *
* *
***************************************************************************/
#include <QtCore>
#include <QString>
#include <QFontMetrics>
#include "spicegeneric.h"

View File

@ -14,7 +14,8 @@
* (at your option) any later version. *
* *
***************************************************************************/
#include <QtCore>
#include <QString>
#include <QStringList>
#include <QFontMetrics>
#include "xspicegeneric.h"