Commit 21c562ba authored by André Agenor's avatar André Agenor Committed by Tomaz Canabrava
Browse files

Standardizing includes across all project files

Summary: Plus changed call from C version lib files to respective C++ version. Like <math.h> to <cmath>

Reviewers: tcanabrava

Reviewed By: tcanabrava

Differential Revision: https://phabricator.kde.org/D18595
parent 158c9c60
......@@ -28,7 +28,7 @@
#include "kpTransformFlipCommand.h"
#include <qapplication.h>
#include <QApplication>
#include "kpLogCategories.h"
#include "layers/selections/image/kpAbstractImageSelection.h"
......
......@@ -41,14 +41,14 @@
#include "layers/selections/image/kpRectangularImageSelection.h"
#include "layers/selections/text/kpTextSelection.h"
#include <math.h>
#include <qapplication.h>
#include <qpoint.h>
#include <qpolygon.h>
#include <qrect.h>
#include <qsize.h>
#include <qmatrix.h>
#include <cmath>
#include <QApplication>
#include <QPoint>
#include <QPolygon>
#include <QRect>
#include <QSize>
#include <QMatrix>
#include "kpLogCategories.h"
......
......@@ -40,9 +40,9 @@
#include "views/manager/kpViewManager.h"
#include "kpLogCategories.h"
#include <qapplication.h>
#include <qpolygon.h>
#include <qmatrix.h>
#include <QApplication>
#include <QPolygon>
#include <QMatrix>
#include <KLocalizedString>
......
......@@ -41,9 +41,9 @@
#include "layers/selections/image/kpRectangularImageSelection.h"
#include "kpLogCategories.h"
#include <qapplication.h>
#include <qmatrix.h>
#include <qpolygon.h>
#include <QApplication>
#include <QMatrix>
#include <QPolygon>
// TODO: nasty, should avoid using GUI class in this command class
#include "dialogs/imagelib/transforms/kpTransformSkewDialog.h"
......
......@@ -33,8 +33,8 @@
#include <climits>
#include <qlinkedlist.h>
#include <qmenu.h>
#include <QLinkedList>
#include <QMenu>
#include <KSharedConfig>
#include <kconfiggroup.h>
......
......@@ -37,7 +37,7 @@
#include "tools/kpTool.h"
#include "views/manager/kpViewManager.h"
#include <qrect.h>
#include <QRect>
struct kpToolFlowCommandPrivate
......
......@@ -37,7 +37,7 @@
#include "imagelib/kpImage.h"
#include "kpLogCategories.h"
#include <qapplication.h>
#include <QApplication>
#include <KLocalizedString>
......
......@@ -44,15 +44,15 @@
#include "kpLogCategories.h"
#include <qapplication.h>
#include <qbitmap.h>
#include <qcursor.h>
#include <qevent.h>
#include <qmenu.h>
#include <qpainter.h>
#include <qpixmap.h>
#include <qpolygon.h>
#include <qtimer.h>
#include <QApplication>
#include <QBitmap>
#include <QCursor>
#include <QEvent>
#include <QMenu>
#include <QPainter>
#include <QPixmap>
#include <QPolygon>
#include <QTimer>
kpToolSelectionCreateCommand::kpToolSelectionCreateCommand (const QString &name,
......
......@@ -40,9 +40,9 @@
#include "layers/selections/text/kpTextSelection.h"
#include "kpLogCategories.h"
#include <qapplication.h>
#include <qcursor.h>
#include <qtimer.h>
#include <QApplication>
#include <QCursor>
#include <QTimer>
#include <KLocalizedString>
......
......@@ -33,7 +33,7 @@
#include "layers/selections/text/kpTextSelection.h"
#include "views/manager/kpViewManager.h"
#include <qlist.h>
#include <QList>
kpToolTextBackspaceCommand::kpToolTextBackspaceCommand (const QString &name,
......
......@@ -33,7 +33,7 @@
#include "layers/selections/text/kpTextSelection.h"
#include "views/manager/kpViewManager.h"
#include <qlist.h>
#include <QList>
kpToolTextDeleteCommand::kpToolTextDeleteCommand (const QString &name,
......
......@@ -33,7 +33,7 @@
#include "layers/selections/text/kpTextSelection.h"
#include "views/manager/kpViewManager.h"
#include <qlist.h>
#include <QList>
kpToolTextEnterCommand::kpToolTextEnterCommand (const QString &name,
......
......@@ -33,7 +33,7 @@
#include "layers/selections/text/kpTextSelection.h"
#include "views/manager/kpViewManager.h"
#include <qlist.h>
#include <QList>
//---------------------------------------------------------------------
......
......@@ -32,8 +32,8 @@
#include "kpLogCategories.h"
#include <qbitmap.h>
#include <qcursor.h>
#include <QBitmap>
#include <QCursor>
enum PixelValue
......
......@@ -30,7 +30,7 @@
#include "kpCursorLightCross.h"
#include <qcursor.h>
#include <QCursor>
static const QCursor *TheLightCursor = nullptr;
......
......@@ -48,11 +48,11 @@
#include "kpLogCategories.h"
#include <KLocalizedString>
#include <qcombobox.h>
#include <qgroupbox.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qtimer.h>
#include <QComboBox>
#include <QGroupBox>
#include <QLabel>
#include <QLayout>
#include <QTimer>
#include <QImage>
......
......@@ -31,15 +31,15 @@
#include "dialogs/imagelib/transforms/kpTransformPreviewDialog.h"
#include <qapplication.h>
#include <qboxlayout.h>
#include <qdialogbuttonbox.h>
#include <qgridlayout.h>
#include <qgroupbox.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qpixmap.h>
#include <qpushbutton.h>
#include <QApplication>
#include <QBoxLayout>
#include <QDialogButtonBox>
#include <QGridLayout>
#include <QGroupBox>
#include <QLabel>
#include <QLayout>
#include <QPixmap>
#include <QPushButton>
#include "kpLogCategories.h"
#include <KLocalizedString>
......
......@@ -31,20 +31,20 @@
#include "kpTransformResizeScaleDialog.h"
#include <math.h>
#include <qboxlayout.h>
#include <qbuttongroup.h>
#include <qcheckbox.h>
#include <qcombobox.h>
#include <qdialogbuttonbox.h>
#include <qgridlayout.h>
#include <qgroupbox.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qpixmap.h>
#include <qsize.h>
#include <qtoolbutton.h>
#include <cmath>
#include <QBoxLayout>
#include <QButtonGroup>
#include <QCheckBox>
#include <QComboBox>
#include <QDialogButtonBox>
#include <QGridLayout>
#include <QGroupBox>
#include <QLabel>
#include <QLayout>
#include <QPixmap>
#include <QSize>
#include <QToolButton>
#include <QSpinBox>
#include <QDoubleSpinBox>
......
......@@ -40,16 +40,16 @@
#include <kiconloader.h>
#include <KLocalizedString>
#include <qbuttongroup.h>
#include <qgroupbox.h>
#include <qlabel.h>
#include <qlayout.h>
#include <QButtonGroup>
#include <QGroupBox>
#include <QLabel>
#include <QLayout>
#include <QImage>
#include <QSpinBox>
#include <qpolygon.h>
#include <qpushbutton.h>
#include <qradiobutton.h>
#include <qmatrix.h>
#include <QPolygon>
#include <QPushButton>
#include <QRadioButton>
#include <QMatrix>
// private static
......
......@@ -31,13 +31,13 @@
#include "dialogs/imagelib/transforms/kpTransformSkewDialog.h"
#include <qapplication.h>
#include <qgridlayout.h>
#include <qgroupbox.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qpushbutton.h>
#include <qmatrix.h>
#include <QApplication>
#include <QGridLayout>
#include <QGroupBox>
#include <QLabel>
#include <QLayout>
#include <QPushButton>
#include <QMatrix>
#include <QImage>
#include <QSpinBox>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment