Commit 83da42dc authored by Halla Rempt's avatar Halla Rempt
Browse files

Make all KDE includes consistent

We used CamelCase and .h includes all mixed up. This patch chances all
includes to .h style.

I choose that style over CamelCase for the following reasons

* the change was easier to automate
* CamelCase include files are created manually and so have inconsistencies
* the majority of Calligra KDE includes were .h style
parent 514ecfc7
......@@ -22,8 +22,8 @@
#define KOICON_H
// KDE
#include <KIcon>
#include <KIconLoader>
#include <kicon.h>
#include <kiconloader.h>
/**
* Macros to support collecting the icons in use.
......
......@@ -19,7 +19,7 @@
#include "kis_selection_filters.h"
#include <KLocale>
#include <klocale.h>
#include <KoColorSpace.h>
#include "kis_convolution_painter.h"
......
......@@ -32,7 +32,7 @@ Parser::~Parser()
#include <QRegExp>
#include <QStringList>
#include <QVariant>
#include <KDateTime>
#include <kdatetime.h>
Value IntegerParser::parse(const QString& _v) const
{
......
......@@ -18,7 +18,7 @@
#include "kis_macro_player.h"
#include <KLocale>
#include <klocale.h>
#include <KoProgressUpdater.h>
#include <KoUpdater.h>
......
......@@ -25,7 +25,7 @@
#include <QDomDocument>
#include <Eigen/Array>
#include <KDebug>
#include <kdebug.h>
void KisPaintInformationTest::testCreation()
{
......
#include <KApplication>
#include <KCmdLineArgs>
#include <KAboutData>
#include <kapplication.h>
#include <kcmdlineargs.h>
#include <kaboutdata.h>
#include "kis_random_generator_demo.h"
#include "../kis_random_generator.h"
......
......@@ -21,7 +21,7 @@
#include "krita_export.h"
#include <KTemporaryFile>
#include <ktemporaryfile.h>
#include "kis_chunk_allocator.h"
......
......@@ -31,7 +31,7 @@
#include <KoIcon.h>
#include <KMessageBox>
#include <kmessagebox.h>
#include <QMenu>
#include <QSignalMapper>
......
......@@ -22,10 +22,10 @@
#include <QWheelEvent>
#include <QMouseEvent>
#include <KConfig>
#include <KConfigGroup>
#include <KComponentData>
#include <KGlobal>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <kcomponentdata.h>
#include <kglobal.h>
#include "kis_canvas2.h"
#include "KoCanvasResourceManager.h"
......
......@@ -26,11 +26,11 @@
#include <QTimer>
#include <QPushButton>
#include <KConfig>
#include <KConfigGroup>
#include <KComponentData>
#include <KGlobal>
#include <KDebug>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <kcomponentdata.h>
#include <kglobal.h>
#include <kdebug.h>
#include <KoCanvasResourceManager.h>
#include <KoIcon.h>
......
......@@ -24,10 +24,10 @@
#include <QCursor>
#include <QPainter>
#include <KConfig>
#include <KConfigGroup>
#include <KComponentData>
#include <KGlobal>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <kcomponentdata.h>
#include <kglobal.h>
#include "KoColorSpace.h"
#include "KoColorSpaceRegistry.h"
......
......@@ -25,12 +25,12 @@
#include <QHBoxLayout>
#include <QPushButton>
#include <KConfig>
#include <KConfigGroup>
#include <KComponentData>
#include <KGlobal>
#include <KAction>
#include <KActionCollection>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <kcomponentdata.h>
#include <kglobal.h>
#include <kaction.h>
#include <kactioncollection.h>
#include "kis_view2.h"
#include "kis_canvas2.h"
......
......@@ -21,12 +21,12 @@
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <KConfig>
#include <KConfigGroup>
#include <KComponentData>
#include <KGlobal>
#include <KAction>
#include <KActionCollection>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <kcomponentdata.h>
#include <kglobal.h>
#include <kaction.h>
#include <kactioncollection.h>
#include "kis_canvas2.h"
#include "kis_view2.h"
......
......@@ -23,7 +23,7 @@
#include <QDialogButtonBox>
#include <QPushButton>
#include <KConfigGroup>
#include <kconfiggroup.h>
#include <KoIcon.h>
#include "KoColorSpace.h"
......
......@@ -24,10 +24,10 @@
#include <QThreadPool>
#include <QApplication>
#include <KConfig>
#include <KConfigGroup>
#include <KComponentData>
#include <KGlobal>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <kcomponentdata.h>
#include <kglobal.h>
#include <KoIcon.h>
#include "KoColor.h"
......
......@@ -22,10 +22,10 @@
#include <QPainter>
#include <QMouseEvent>
#include <KConfig>
#include <KConfigGroup>
#include <KComponentData>
#include <KGlobal>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <kcomponentdata.h>
#include <kglobal.h>
#include "KoCanvasResourceManager.h"
......
......@@ -33,10 +33,10 @@
#include <QtGlobal>
#include <QTimer>
#include <KConfig>
#include <KConfigGroup>
#include <KComponentData>
#include <KGlobal>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <kcomponentdata.h>
#include <kglobal.h>
#include "KoColorSpace.h"
#include "KoColorSpaceRegistry.h"
......
......@@ -21,11 +21,11 @@
#include <QColor>
#include <QMouseEvent>
#include <KConfig>
#include <KConfigGroup>
#include <KComponentData>
#include <KGlobal>
#include <KLocale>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <kcomponentdata.h>
#include <kglobal.h>
#include <klocale.h>
#include <KoColor.h>
#include "KoColorSpaceRegistry.h"
......
......@@ -25,7 +25,7 @@
#include <QDoubleSpinBox>
#include <QLabel>
#include <KLocale>
#include <klocale.h>
#include "kis_shade_selector_line.h"
......
......@@ -19,10 +19,10 @@
#include <QVBoxLayout>
#include <KConfig>
#include <KConfigGroup>
#include <KComponentData>
#include <KGlobal>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <kcomponentdata.h>
#include <kglobal.h>
#include "kis_shade_selector_line_combo_box.h"
......
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