Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

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

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>
......
......@@ -33,12 +33,12 @@
#include <KLocalizedString>
#include "../widgets/imagelib/effects/kpNumInput.h"
#include <qboxlayout.h>
#include <qdialogbuttonbox.h>
#include <qgroupbox.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qpushbutton.h>
#include <QBoxLayout>
#include <QDialogButtonBox>
#include <QGroupBox>
#include <QLabel>
#include <QLayout>
#include <QPushButton>
#include <QWhatsThis>
kpColorSimilarityDialog::kpColorSimilarityDialog (QWidget *parent)
......
......@@ -30,11 +30,11 @@
#include "kpDocumentSaveOptionsPreviewDialog.h"
#include <qevent.h>
#include <qgridlayout.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qpixmap.h>
#include <QEvent>
#include <QGridLayout>
#include <QLabel>
#include <QLayout>
#include <QPixmap>
#include <kconfig.h>
#include "kpLogCategories.h"
......
......@@ -46,23 +46,23 @@
#include "widgets/toolbars/kpToolToolBar.h"
#include "lgpl/generic/kpUrlFormatter.h"
#include <math.h>
#include <cmath>
#include "kpLogCategories.h"
#include <kio/netaccess.h> // kdelibs4support
#include <KLocalizedString>
#include <qcolor.h>
#include <qbitmap.h>
#include <qbrush.h>
#include <qfile.h>
#include <qimage.h>
#include <qlist.h>
#include <QColor>
#include <QBitmap>
#include <QBrush>
#include <QFile>
#include <QImage>
#include <qpainter.h>
#include <qrect.h>
#include <qsize.h>
#include <qmatrix.h>
#include <QList>
#include <QImage>
#include <QPainter>
#include <QRect>
#include <QSize>
#include <QMatrix>
//---------------------------------------------------------------------
......
......@@ -37,9 +37,9 @@
#include "kpLogCategories.h"
#include <ksharedconfig.h>
#include <qbitmap.h>
#include <QBitmap>
#include <QImage>
#include <qstring.h>
#include <QString>
//---------------------------------------------------------------------
......
......@@ -43,10 +43,10 @@
#include "lgpl/generic/kpUrlFormatter.h"
#include "views/manager/kpViewManager.h"
#include <math.h>
#include <cmath>
#include <qcolor.h>
#include <qimage.h>
#include <QColor>
#include <QImage>
#include <QMimeDatabase>
#include <QImageReader>
......
......@@ -31,21 +31,21 @@
#include "kpDocument.h"
#include "kpDocumentPrivate.h"
#include <math.h>
#include <qcolor.h>
#include <qbitmap.h>
#include <qbrush.h>
#include <qfile.h>
#include <qimage.h>
#include <qlist.h>
#include <cmath>
#include <QColor>
#include <QBitmap>
#include <QBrush>
#include <QFile>
#include <QImage>
#include <QList>
#include <QImage>
#include <qpainter.h>
#include <qrect.h>
#include <qsavefile.h>
#include <qsize.h>
#include <qtemporaryfile.h>
#include <qmatrix.h>
#include <QPainter>
#include <QRect>
#include <QSaveFile>
#include <QSize>
#include <QTemporaryFile>
#include <QMatrix>
#include <QMimeDatabase>
#include "kpLogCategories.h"
......
......@@ -32,11 +32,11 @@
#include "kpDocument.h"
#include "kpDocumentPrivate.h"
#include <math.h>
#include <cmath>
#include <qimage.h>
#include <qpainter.h>
#include <qrect.h>
#include <QImage>
#include <QPainter>
#include <QRect>
#include "kpLogCategories.h"
#include <KLocalizedString>
......
......@@ -28,9 +28,9 @@
#include "kpWidgetMapper.h"
#include <qpoint.h>
#include <qrect.h>
#include <qwidget.h>
#include <QPoint>
#include <QRect>
#include <QWidget>
namespace kpWidgetMapper
......
......@@ -31,7 +31,7 @@
#include "generic/widgets/kpResizeSignallingLabel.h"
#include <qevent.h>
#include <QEvent>
#include "kpLogCategories.h"
......
......@@ -31,9 +31,9 @@
#include "kpEffectBalance.h"
#include <math.h>
#include <cmath>
#include <qimage.h>
#include <QImage>
#include "kpLogCategories.h"
......
......@@ -29,10 +29,10 @@
#include "kpEffectHSV.h"
#include <math.h>
#include <cmath>
#include <qbitmap.h>
#include <qimage.h>
#include <QBitmap>
#include <QImage>
#include "kpLogCategories.h"
......
......@@ -31,7 +31,7 @@
#include "kpEffectInvert.h"
#include <qimage.h>
#include <QImage>
#include <QImage>
#include "kpLogCategories.h"
......
......@@ -31,7 +31,7 @@
#include "kpEffectToneEnhance.h"
#include <qimage.h>
#include <QImage>
#include "kpLogCategories.h"
......
......@@ -31,7 +31,7 @@
#include "kpColor.h"
#include <qdatastream.h>
#include <QDataStream>
#include "kpLogCategories.h"
......
......@@ -29,10 +29,9 @@
#include "kpDocumentMetaInfo.h"
#include <cmath>
#include <math.h>
#include <qlist.h>
#include <qpoint.h>
#include <QList>
#include <QPoint>
#include "kpLogCategories.h"
......
......@@ -63,7 +63,7 @@
#include <kmessagebox.h>
#include <KLocalizedString>
#include <qimage.h>
#include <QImage>
//---------------------------------------------------------------------
......
......@@ -29,13 +29,13 @@
#include "kpViewScrollableContainer.h"
#include <qbitmap.h>
#include <qcursor.h>
#include <qevent.h>
#include <qpainter.h>
#include <qpen.h>
#include <qpixmap.h>
#include <qtimer.h>
#include <QBitmap>
#include <QCursor>
#include <QKeyEvent>
#include <QPainter>
#include <QPen>
#include <QPixmap>
#include <QTimer>
#include <QScrollBar>
#include "kpLogCategories.h"
......
......@@ -31,7 +31,7 @@
#include "kpSelectionDrag.h"
#include <qdatastream.h>
#include <QDataStream>
#include <QImage>
#include <QUrl>
......
......@@ -28,9 +28,9 @@
#include "layers/selections/text/kpTextStyle.h"
#include <qdatastream.h>
#include <qfont.h>
#include <qfontmetrics.h>
#include <QDataStream>
#include <QFont>
#include <QFontMetrics>
kpTextStyle::kpTextStyle ()
......
......@@ -52,9 +52,9 @@
#include <kconfiggroup.h>
#include <KLocalizedString>
#include <qevent.h>
#include <qmenu.h>
#include <qtimer.h>
#include <QEvent>
#include <QMenu>
#include <QTimer>
#include "kpLogCategories.h"
......
......@@ -29,12 +29,12 @@
#include "kpMainWindow.h"
#include "kpMainWindowPrivate.h"
#include <qapplication.h>
#include <qclipboard.h>
#include <qfontmetrics.h>
#include <qimage.h>
#include <qlist.h>
#include <qmenu.h>
#include <QApplication>
#include <QClipboard>
#include <QFontMetrics>
#include <QImage>
#include <QList>
#include <QMenu>
#include <QDesktopWidget>
#include <QScrollBar>
......
......@@ -30,15 +30,15 @@
#include "kpMainWindow.h"
#include "kpMainWindowPrivate.h"
#include <qaction.h>
#include <qdatastream.h>
#include <QAction>
#include <QDataStream>
#include <QDesktopWidget>
#include <QDialog>