Skip to content

Commit

Permalink
Remove unused QtGlobal header
Browse files Browse the repository at this point in the history
  • Loading branch information
dantti committed Sep 2, 2024
1 parent f5d0795 commit c643be3
Show file tree
Hide file tree
Showing 52 changed files with 27 additions and 89 deletions.
1 change: 0 additions & 1 deletion QXlsx/header/xlsxcell.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <QString>
#include <QTime>
#include <QVariant>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxcell_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#include <QList>
#include <QObject>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxcelllocation.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <QObject>
#include <QString>
#include <QVector>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxcellrange.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "xlsxglobal.h"

#include <QObject>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
2 changes: 0 additions & 2 deletions QXlsx/header/xlsxcellreference.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

#include "xlsxglobal.h"

#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

const int XLSX_ROW_MAX = 1048576;
Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxchart.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxchartsheet.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include "xlsxabstractsheet.h"

#include <QStringList>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
2 changes: 0 additions & 2 deletions QXlsx/header/xlsxchartsheet_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
#include "xlsxchartsheet.h"
#include "xlsxglobal.h"

#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

class ChartsheetPrivate : public AbstractSheetPrivate
Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxcolor_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <QVariant>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxconditionalformatting.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <QString>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QtGlobal>

class ConditionalFormattingTest;

Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxcontenttypes_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <QMap>
#include <QString>
#include <QStringList>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxdatavalidation.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <QString>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QtGlobal>

class QXmlStreamReader;
class QXmlStreamWriter;
Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxdatavalidation_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include "xlsxdatavalidation.h"

#include <QSharedData>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxdatetype.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <QString>
#include <QStringList>
#include <QTime>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxdocument.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <QImage>
#include <QObject>
#include <QVariant>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxdocument_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "xlsxworkbook.h"

#include <QMap>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxdrawing_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include <QList>
#include <QString>
#include <QtGlobal>

class QIODevice;
class QXmlStreamWriter;
Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxformat_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <QMap>
#include <QSet>
#include <QSharedData>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxglobal.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <QString>
#include <QStringList>
#include <QVariant>
#include <QtGlobal>

#if defined(QXlsx_SHAREDLIB)
# if defined(QXlsx_EXPORTS)
Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxtheme_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include <QIODevice>
#include <QString>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxutility_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <QStringList>
#include <QTime>
#include <QVariant>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxworkbook.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <QImage>
#include <QList>
#include <QSharedPointer>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxworkbook_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#include <QSharedPointer>
#include <QStringList>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxworksheet.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <QStringList>
#include <QUrl>
#include <QVariant>
#include <QtGlobal>

class WorksheetTest;

Expand Down
18 changes: 9 additions & 9 deletions QXlsx/header/xlsxworksheet_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,23 +227,23 @@ class WorksheetPrivate : public AbstractSheetPrivate
public:
CellTable cellTable;

QMap<int, QMap<int, QString>> comments;
QMap<int, QMap<int, QSharedPointer<XlsxHyperlinkData>>> urlTable;
QHash<int, QHash<int, QString>> comments;
QHash<int, QHash<int, QSharedPointer<XlsxHyperlinkData>>> urlTable;
QList<CellRange> merges;
QMap<int, QSharedPointer<XlsxRowInfo>> rowsInfo;
QMap<int, QSharedPointer<XlsxColumnInfo>> colsInfo;
QMap<int, QSharedPointer<XlsxColumnInfo>> colsInfoHelper;
QHash<int, QSharedPointer<XlsxRowInfo>> rowsInfo;
QHash<int, QSharedPointer<XlsxColumnInfo>> colsInfo;
QHash<int, QSharedPointer<XlsxColumnInfo>> colsInfoHelper;

QList<DataValidation> dataValidationsList;
QList<ConditionalFormatting> conditionalFormattingList;

QMap<int, CellFormula> sharedFormulaMap; // shared formula map
QHash<int, CellFormula> sharedFormulaMap; // shared formula map

CellRange dimension;

mutable QMap<int, QString> row_spans;
QMap<int, double> row_sizes;
QMap<int, double> col_sizes;
mutable QHash<int, QString> row_spans;
QHash<int, double> row_sizes;
QHash<int, double> col_sizes;

// pagesetup and print settings add by liufeijin 20181028, liufeijin
QString PpaperSize;
Expand Down
1 change: 0 additions & 1 deletion QXlsx/header/xlsxzipwriter_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include <QIODevice>
#include <QString>
#include <QtGlobal>

class QZipWriter;

Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxabstractooxmlfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

#include <QBuffer>
#include <QByteArray>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
2 changes: 0 additions & 2 deletions QXlsx/source/xlsxabstractsheet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
#include "xlsxabstractsheet_p.h"
#include "xlsxworkbook.h"

#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

AbstractSheetPrivate::AbstractSheetPrivate(AbstractSheet *p, AbstractSheet::CreateFlag flag)
Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxcell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <QDateTime>
#include <QDebug>
#include <QTime>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxcellformula.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <QString>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxcelllocation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <QObject>
#include <QString>
#include <QVector>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxcellrange.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <QPoint>
#include <QString>
#include <QStringList>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxchart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <QString>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxchartsheet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <QDir>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxconditionalformatting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <QDebug>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxdatavalidation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
2 changes: 0 additions & 2 deletions QXlsx/source/xlsxdatetype.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
#include "xlsxglobal.h"
#include "xlsxutility_p.h"

#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

DateType::DateType()
Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxdocpropscore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <QFile>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxdocument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <QPointF>
#include <QSharedPointer>
#include <QTemporaryFile>
#include <QtGlobal>

/*
From Wikipedia: The Open Packaging Conventions (OPC) is a
Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxdrawing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <QBuffer>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxdrawinganchor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <QDir>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxformat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include <QDataStream>
#include <QDebug>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxmediafile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include "xlsxmediafile_p.h"

#include <QCryptographicHash>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxnumformatparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include "xlsxnumformatparser_p.h"

#include <QString>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxrelationships.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <QFile>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
1 change: 0 additions & 1 deletion QXlsx/source/xlsxrichstring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <QDebug>
#include <QTextDocument>
#include <QTextFragment>
#include <QtGlobal>

QT_BEGIN_NAMESPACE_XLSX

Expand Down
Loading

0 comments on commit c643be3

Please sign in to comment.