Commit 2135835d authored by Boudewijn Rempt's avatar Boudewijn Rempt

Remove all the module prefixes from the includes

Unnecessary and high-maintenance, especially when Qt or KDE decides to
move stuff around.
parent 7c75e931
......@@ -24,7 +24,7 @@
#include <QWidget>
#include <QtXml/QDomDocumentFragment>
#include <QDomDocumentFragment>
#include <KDChartAbstractArea.h>
#include <KDChartCartesianCoordinatePlane.h>
#include <KDChartTextAttributes.h>
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_BSPLINES_TEST_H
#define __KIS_BSPLINES_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisBSplinesTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_CAGE_TRANSFORM_WORKER_TEST_H
#define __KIS_CAGE_TRANSFORM_WORKER_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisCageTransformWorkerTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_DOM_UTILS_TEST_H
#define __KIS_DOM_UTILS_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisDomUtilsTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_FILL_INTERVAL_MAP_TEST_H
#define __KIS_FILL_INTERVAL_MAP_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisFillIntervalMapTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_FILL_INTERVAL_TEST_H
#define __KIS_FILL_INTERVAL_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisFillIntervalTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_FILTER_WEIGHTS_APPLICATOR_TEST_H
#define __KIS_FILTER_WEIGHTS_APPLICATOR_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisFilterWeightsApplicatorTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_FILTER_WEIGHTS_BUFFER_TEST_H
#define __KIS_FILTER_WEIGHTS_BUFFER_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisFilterWeightsBufferTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_FIXED_POINT_MATHS_TEST_H
#define __KIS_FIXED_POINT_MATHS_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisFixedPointMathsTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_LIQUIFY_TRANSFORM_WORKER_TEST_H
#define __KIS_LIQUIFY_TRANSFORM_WORKER_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisLiquifyTransformWorkerTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_PERSPECTIVE_TRANSFORM_WORKER_TEST_H
#define __KIS_PERSPECTIVE_TRANSFORM_WORKER_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisPerspectiveTransformWorkerTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_SCANLINE_FILL_TEST_H
#define __KIS_SCANLINE_FILL_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class QColor;
class KisFillInterval;
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_TRANSFORM_MASK_TEST_H
#define __KIS_TRANSFORM_MASK_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisTransformMaskTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_WARP_TRANSFORM_WORKER_TEST_H
#define __KIS_WARP_TRANSFORM_WORKER_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisWarpTransformWorkerTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_OCIO_DISPLAY_FILTER_TEST_H
#define __KIS_OCIO_DISPLAY_FILTER_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisOcioDisplayFilterTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_UNSHARP_MASK_TEST_H
#define __KIS_UNSHARP_MASK_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisUnsharpMaskTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_BRUSHOP_TEST_H
#define __KIS_BRUSHOP_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisBrushOpTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_EMBEDDED_PATTERN_MANAGER_TEST_H
#define __KIS_EMBEDDED_PATTERN_MANAGER_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisEmbeddedPatternManagerTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __TEST_SAVE_LOAD_TRANSFORM_ARGS_H
#define __TEST_SAVE_LOAD_TRANSFORM_ARGS_H
#include <QtTest/QtTest>
#include <QtTest>
class TestSaveLoadTransformArgs : public QObject
{
......
......@@ -20,7 +20,7 @@
#define DOCUMENTMANAGER_H
#include <QObject>
#include <QtCore/QVariantMap>
#include <QVariantMap>
#include "krita_sketch_export.h"
......
......@@ -32,9 +32,9 @@
#include "NetworkAccessManager.h"
#include <QtCore/QLocale>
#include <QtCore/QUrl>
#include <QtNetwork/QNetworkReply>
#include <QLocale>
#include <QUrl>
#include <QNetworkReply>
#ifdef Q_OS_UNIX
#include <sys/utsname.h>
......
......@@ -30,7 +30,7 @@
**
**************************************************************************/
#include <QtNetwork/QNetworkAccessManager>
#include <QNetworkAccessManager>
QT_FORWARD_DECLARE_CLASS(QUrl)
......
......@@ -18,7 +18,7 @@
*/
#include "PageThumbnailProvider.h"
#include <QtCore/QHash>
#include <QHash>
class PageThumbnailProvider::Private
{
......
......@@ -19,7 +19,7 @@
#ifndef KRITA_SKETCH_PROGRESSPROXY_H
#define KRITA_SKETCH_PROGRESSPROXY_H
#include <QtCore/QObject>
#include <QObject>
#include <KoProgressProxy.h>
#include "krita_sketch_export.h"
......
......@@ -19,17 +19,17 @@
#include "Theme.h"
#include <QtCore/QStringList>
#include <QtCore/QUrl>
#include <QtCore/QDebug>
#include <QtCore/QFile>
#include <QtCore/QDir>
#include <QtGui/QColor>
#include <QtGui/QFont>
#include <QtGui/QFontDatabase>
#include <QtGui/QApplication>
#include <QtGui/QWidget>
#include <QtDeclarative/QDeclarativeComponent>
#include <QStringList>
#include <QUrl>
#include <QDebug>
#include <QFile>
#include <QDir>
#include <QColor>
#include <QFont>
#include <QFontDatabase>
#include <QApplication>
#include <QWidget>
#include <QDeclarativeComponent>
#include <kglobal.h>
#include <kstandarddirs.h>
......
......@@ -20,8 +20,8 @@
#ifndef THEME_H
#define THEME_H
#include <QtCore/QObject>
#include <QtCore/QVariantMap>
#include <QObject>
#include <QVariantMap>
#include "krita_sketch_export.h"
......
......@@ -20,7 +20,7 @@
#ifndef COLORDEPTHMODEL_H
#define COLORDEPTHMODEL_H
#include <QtCore/QAbstractListModel>
#include <QAbstractListModel>
class ColorDepthModel : public QAbstractListModel
{
......
......@@ -20,7 +20,7 @@
#ifndef COLORMODELMODEL_H
#define COLORMODELMODEL_H
#include <QtCore/QAbstractListModel>
#include <QAbstractListModel>
class ColorModelModel : public QAbstractListModel
{
......
......@@ -20,7 +20,7 @@
#ifndef COLORPROFILEMODEL_H
#define COLORPROFILEMODEL_H
#include <QtCore/QAbstractListModel>
#include <QAbstractListModel>
class ColorProfileModel : public QAbstractListModel
{
......
......@@ -20,7 +20,7 @@
#ifndef COMPOSITEOPMODEL_H
#define COMPOSITEOPMODEL_H
#include <QtCore/QModelIndex>
#include <QModelIndex>
#include <kis_types.h>
class KoCanvasController;
......
......@@ -23,8 +23,8 @@
#ifndef CALLIGRAMOBILE_FILESYSTEMMODEL_H
#define CALLIGRAMOBILE_FILESYSTEMMODEL_H
#include <QtDeclarative/QDeclarativeParserStatus>
#include <QtDeclarative/QtDeclarative>
#include <QDeclarativeParserStatus>
#include <QtDeclarative>
#include <QAbstractListModel>
......
......@@ -19,7 +19,7 @@
#ifndef FILTERSCATEGORYMODEL_H
#define FILTERSCATEGORYMODEL_H
#include <QtCore/QModelIndex>
#include <QModelIndex>
#include <kis_types.h>
class FiltersModel;
......
......@@ -19,7 +19,7 @@
#ifndef FILTERSMODEL_H
#define FILTERSMODEL_H
#include <QtCore/QModelIndex>
#include <QModelIndex>
#include <kis_types.h>
class FiltersModel : public QAbstractListModel
......
......@@ -19,7 +19,7 @@
#ifndef LAYERCOMPOSITEDETAILS_H
#define LAYERCOMPOSITEDETAILS_H
#include <QtCore/QObject>
#include <QObject>
class LayerCompositeDetails : public QObject
......
......@@ -20,7 +20,7 @@
#ifndef LAYERTHUMBPROVIDER_H
#define LAYERTHUMBPROVIDER_H
#include <QtDeclarative/QDeclarativeImageProvider>
#include <QDeclarativeImageProvider>
class LayerModel;
......
......@@ -32,14 +32,14 @@
#include "MultiFeedRSSModel.h"
#include <QtCore/QTimer>
#include <QtCore/QThread>
#include <QtCore/QXmlStreamReader>
#include <QtCore/QCoreApplication>
#include <QtCore/QLocale>
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QTimer>
#include <QThread>
#include <QXmlStreamReader>
#include <QCoreApplication>
#include <QLocale>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <NetworkAccessManager.h>
namespace Welcome {
......
......@@ -33,9 +33,9 @@
#ifndef MULTIFEEDRSSMODEL_H
#define MULTIFEEDRSSMODEL_H
#include <QtCore/QAbstractListModel>
#include <QtCore/QStringList>
#include <QtCore/QDateTime>
#include <QAbstractListModel>
#include <QStringList>
#include <QDateTime>
QT_BEGIN_NAMESPACE
class QThread;
......
......@@ -26,8 +26,8 @@
#include <GL/glew.h>
#endif
#include <QtGui/QPainter>
#include <QtGui/QToolButton>
#include <QPainter>
#include <QToolButton>
#include <QApplication>
#include <QPaintEngine>
......
......@@ -286,7 +286,7 @@ namespace VSyncWorkaround {
}
#endif // defined Q_OS_LINUX
#include <QtOpenGL/QGLFormat>
#include <QGLFormat>
namespace Sync {
//For checking sync status
enum SyncStatus {
......
......@@ -19,7 +19,7 @@
#ifndef __FILL_PROCESSING_VISITOR_TEST_H
#define __FILL_PROCESSING_VISITOR_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class FillProcessingVisitorTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_CATEGORIES_MAPPER_TEST_H
#define __KIS_CATEGORIES_MAPPER_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisCategoriesMapperTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_CATEGORIZED_LIST_MODEL_TEST_H
#define __KIS_CATEGORIZED_LIST_MODEL_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisCategorizedListModelTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_FILE_LAYER_TEST_H
#define __KIS_FILE_LAYER_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisFileLayerTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_NODE_MANAGER_TEST_H
#define __KIS_NODE_MANAGER_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisNodeManagerTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_SELECTION_DECORATION_TEST_H
#define __KIS_SELECTION_DECORATION_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisSelectionDecorationTest : public QObject
{
......
......@@ -20,7 +20,7 @@
#ifndef CALLIGRADB_TESTCONNECTION_H
#define CALLIGRADB_TESTCONNECTION_H
#include <QtCore/QObject>
#include <QObject>
#include <db/connection.h>
#include <db/drivermanager.h>
......
......@@ -32,7 +32,7 @@
#include "FontFamilyAction.h"
#include <QtGui/QToolBar>
#include <QToolBar>
#include <kdebug.h>
#include <kicon.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