Commit 81a9b0b3 authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor EBN issues

parent 4cc91407
......@@ -26,7 +26,7 @@ class QRectF;
class QPointF;
#include <QtGlobal>
#include <QtCore/QString>
#include <QString>
/// This class provides a loading context for filter effects
class KRITAFLAKE_EXPORT KoFilterEffectLoadingContext
......
......@@ -37,7 +37,6 @@
#include <QStringList>
#include <QImage>
#include <QPainter>
#include <QByteArray>
#include <QXmlStreamReader>
#include <QXmlStreamAttributes>
#include <QtEndian> // qFromLittleEndian
......@@ -50,7 +49,6 @@
#include <KoColorSpace.h>
#include <KoColorSpaceRegistry.h>
#include <KoColorProfile.h>
#include <KoColorProfile.h>
#include <KoColorModelStandardIds.h>
#include "KisSwatch.h"
......
......@@ -35,7 +35,6 @@
#include <QGroupBox>
#include <QFuture>
#include <QtConcurrent>
#include <QFileInfo>
#include <klocalizedstring.h>
#include <ksqueezedtextlabel.h>
......
......@@ -123,7 +123,6 @@
#include "kis_custom_image_widget.h"
#include <KisDocument.h>
#include "kis_group_layer.h"
#include "kis_icon_utils.h"
#include "kis_image_from_clipboard_widget.h"
#include "kis_image.h"
#include <KisImportExportFilter.h>
......
......@@ -38,7 +38,6 @@
#include <KisDocument.h>
#include <KoResourceServer.h>
#include <KoResourceServerProvider.h>
#include <KoDialog.h>
#include <KisPaletteModel.h>
#include <kis_color_button.h>
......
......@@ -23,7 +23,7 @@
#include <QFile>
#include <QDomDocument>
#include <QApplication>
#include <QtCore/QEventLoop>
#include <QEventLoop>
#include <QWindow>
#include <QScreen>
......
......@@ -17,8 +17,8 @@
*/
#include <KisSessionResource.h>
#include <KisResourceServerProvider.h>
#include <QtWidgets/QInputDialog>
#include <QtWidgets/QMessageBox>
#include <QInputDialog>
#include <QMessageBox>
#include <KisPart.h>
#include "KisSessionManagerDialog.h"
......
......@@ -22,8 +22,8 @@
#define KIS_TABLET_SUPPORT_WIN_P_H
#include <QtCore/QVector>
#include <QtCore/QPointF>
#include <QVector>
#include <QPointF>
#include <QMap>
#include <QRect>
......
......@@ -41,7 +41,7 @@
#include <QTouchEvent>
#include <QWindow>
#include <QPointer>
#include <QtCore/QLoggingCategory>
#include <QLoggingCategory>
#include <xcb/xcb.h>
#define XCB_USE_XINPUT2 1
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_ASL_LAYER_STYLE_SERIALIZER_TEST_H
#define __KIS_ASL_LAYER_STYLE_SERIALIZER_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisAslLayerStyleSerializerTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_BRUSH_HUD_PROPERTIES_CONFIG_TEST_H
#define __KIS_BRUSH_HUD_PROPERTIES_CONFIG_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisBrushHudPropertiesConfigTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_DERIVED_RESOURCES_TEST_H
#define __KIS_DERIVED_RESOURCES_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisDerivedResourcesTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_GRID_CONFIG_TEST_H
#define __KIS_GRID_CONFIG_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisGridConfigTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_MULTINODE_PROPERTY_TEST_H
#define __KIS_MULTINODE_PROPERTY_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisMultinodePropertyTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_NODE_JUGGLER_COMPRESSED_TEST_H
#define __KIS_NODE_JUGGLER_COMPRESSED_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
#include "testutil.h"
#include "kis_group_layer.h"
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_NODE_VIEW_TEST_H
#define __KIS_NODE_VIEW_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
#include "empty_nodes_test.h"
class KisDocument;
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_STABILIZED_EVENTS_SAMPLER_TEST_H
#define __KIS_STABILIZED_EVENTS_SAMPLER_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisStabilizedEventsSamplerTest : public QObject
{
......
......@@ -19,7 +19,7 @@
#ifndef __KIS_STOP_GRADIENT_EDITOR_TEST_H
#define __KIS_STOP_GRADIENT_EDITOR_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
class KisStopGradientEditorTest : public QObject
{
......
......@@ -21,10 +21,10 @@
#define KODIALOG_P_H
#include "KoDialog.h"
#include <QtCore/QPointer>
#include <QtCore/QSignalMapper>
#include <QtCore/QSize>
#include <QtCore/QHash>
#include <QPointer>
#include <QSignalMapper>
#include <QSize>
#include <QHash>
class QBoxLayout;
class QPushButton;
......
......@@ -18,7 +18,7 @@
#include "KoVBox.h"
#include <QtCore/QEvent>
#include <QEvent>
#include <QApplication>
#include <QVBoxLayout>
......
......@@ -20,7 +20,7 @@
#include "kis_color_button.h"
#include <QtCore/QPointer>
#include <QPointer>
#include <QPainter>
#include <qdrawutil.h>
#include <QApplication>
......
......@@ -19,7 +19,7 @@
#ifndef __KO_ANCHOR_SELECTION_WIDGET_TEST_H
#define __KO_ANCHOR_SELECTION_WIDGET_TEST_H
#include <QtTest/QtTest>
#include <QtTest>
#include <KoAnchorSelectionWidget.h>
......
......@@ -23,7 +23,7 @@
#include <kritawidgetutils_export.h>
#include <ksharedconfig.h>
#include <QtCore/QExplicitlySharedDataPointer>
#include <QExplicitlySharedDataPointer>
#include <QPalette>
......
......@@ -22,8 +22,8 @@
#define KHELPCLIENT_H
#include "kritawidgetutils_export.h"
#include <QtCore/QString>
#include <QtCore/QByteArray>
#include <QString>
#include <QByteArray>
namespace KHelpClient
{
......
......@@ -28,7 +28,7 @@
#include "krecentfilesaction.h"
#include "krecentfilesaction_p.h"
#include <QtCore/QFile>
#include <QFile>
#include <QDesktopWidget>
#include <QDir>
#include <QMenu>
......
......@@ -20,7 +20,7 @@
#include "kstandardaction_p.h"
#include "moc_kstandardaction_p.cpp"
#include <QtCore/QMutableStringListIterator>
#include <QMutableStringListIterator>
#include <QToolButton>
#include <QApplication>
......
......@@ -21,7 +21,7 @@
#include <kritawidgetutils_export.h>
#include <kstandardshortcut.h>
#include <QtCore/QList>
#include <QList>
class QObject;
class QStringList;
......
......@@ -33,8 +33,8 @@
#include <QKeySequence>
#include <QMetaType>
#include <QModelIndex>
#include <QtCore/QList>
#include <QtCore/QCollator>
#include <QList>
#include <QCollator>
#include <QHBoxLayout>
class QLabel;
......
......@@ -23,9 +23,9 @@
#include <kritawidgetutils_export.h>
#include "config-xmlgui.h"
#include <QtCore/QObject>
#include <QtCore/QString>
#include <QtCore/QList>
#include <QObject>
#include <QString>
#include <QList>
#include <kstandardaction.h>
#include "kactioncollection.h"
......
......@@ -36,11 +36,11 @@
#include <ksharedconfig.h>
#include <QDebug>
#include <QtXml/QDomDocument>
#include <QtCore/QSet>
#include <QDomDocument>
#include <QSet>
#include <QGuiApplication>
#include <QtCore/QMap>
#include <QtCore/QList>
#include <QMap>
#include <QList>
#include <QAction>
#include <QMetaMethod>
......
......@@ -28,7 +28,7 @@
#include "config-xmlgui.h"
#include <kritawidgetutils_export.h>
#include <kstandardaction.h>
#include <QtCore/QObject>
#include <QObject>
class QAction;
class KXMLGUIClient;
......
......@@ -19,8 +19,8 @@
#include "kbugreport.h"
#include <QtCore/QProcess>
#include <QtCore/QCoreApplication>
#include <QProcess>
#include <QCoreApplication>
#include <QDialogButtonBox>
#include <QPushButton>
#include <QLayout>
......
......@@ -28,8 +28,8 @@
#include <QDialogButtonBox>
#include <QDomDocument>
#include <QLayout>
#include <QtCore/QDir>
#include <QtCore/QFile>
#include <QDir>
#include <QFile>
#include <QHeaderView>
#include <QToolButton>
#include <QLabel>
......
......@@ -22,8 +22,8 @@
#include <kritawidgetutils_export.h>
#include <QtCore/QString>
#include <QtCore/QHash>
#include <QString>
#include <QHash>
#include <QPolygon>
/*
......
......@@ -20,8 +20,8 @@
#ifndef KGESTUREMAP_H
#define KGESTUREMAP_H
#include <QtCore/QObject>
#include <QtCore/QHash>
#include <QObject>
#include <QHash>
#include <QTimer>
#include <QPolygon>
......
......@@ -23,7 +23,7 @@
#include "khelpmenu.h"
#include "config-xmlgui.h"
#include <QtCore/QTimer>
#include <QTimer>
#include <QAction>
#include <QApplication>
#include <QDialogButtonBox>
......
......@@ -24,8 +24,8 @@
#include <kritawidgetutils_export.h>
#include <QtCore/QObject>
#include <QtCore/QString>
#include <QObject>
#include <QString>
class QMenu;
class QWidget;
......
......@@ -25,7 +25,7 @@
#include <QAction>
#include <QKeyEvent>
#include <QTimer>
#include <QtCore/QHash>
#include <QHash>
#include <QHBoxLayout>
#include <QToolButton>
#include <QApplication>
......
......@@ -23,7 +23,7 @@
#include <kritawidgetutils_export.h>
#include <QtCore/QList>
#include <QList>
#include <QPushButton>
class KKeySequenceWidgetPrivate;
......
......@@ -35,9 +35,9 @@
#include "ktoolbar.h"
#include <QApplication>
#include <QtCore/QList>
#include <QtCore/QObject>
#include <QtCore/QTimer>
#include <QList>
#include <QObject>
#include <QTimer>
#include <QCloseEvent>
#include <QDesktopWidget>
#include <QDockWidget>
......
......@@ -32,7 +32,7 @@
#include <kritawidgetutils_export.h>
#include <QMainWindow>
#include <QtCore/QMetaClassInfo>
#include <QMetaClassInfo>
class QMenu;
class KConfig;
......
......@@ -22,7 +22,7 @@
#define KMAINWINDOWIFACE_P_H
#include <QDBusAbstractAdaptor>
#include <QtCore/QMap>
#include <QMap>
class KXmlGuiWindow;
......
......@@ -25,7 +25,7 @@
#include <QFile>
#include <QPushButton>
#include <QTextStream>
#include <QtXml/QDomDocument>
#include <QDomDocument>
#include <QFileDialog>
#include <QStandardPaths>
#include <QInputDialog>
......
......@@ -22,7 +22,7 @@
#include <QCoreApplication>
#include <QFile>
#include <QTextStream>
#include <QtXml/QDomDocument>
#include <QDomDocument>
#include <QStandardPaths>
#include <QDir>
......
......@@ -25,8 +25,8 @@
#include <QLayout>
#include <QLabel>
#include <QPushButton>
#include <QtCore/QEvent>
#include <QtCore/QMap>
#include <QEvent>
#include <QMap>
#include <QSettings>
#include <QSharedPointer>
#include <QStandardPaths>
......
......@@ -27,9 +27,9 @@
#include "ktoggletoolbaraction.h"
#include <QtCore/QByteArray>
#include <QtCore/QEvent>
#include <QtCore/QPointer>
#include <QByteArray>
#include <QEvent>
#include <QPointer>
#include <klocalizedstring.h>
......
......@@ -37,7 +37,7 @@
#include <QDrag>
#include <QMouseEvent>
#include <QToolButton>
#include <QtXml/QDomElement>
#include <QDomElement>
#ifdef HAVE_DBUS
#include <QDBusConnection>
#include <QDBusMessage>
......
......@@ -18,7 +18,7 @@
#include "ktoolbarhandler_p.h"
#include "config-xmlgui.h"
#include <QtXml/QDomDocument>
#include <QDomDocument>
#include <QAction>
#include <QMenu>
......
......@@ -19,9 +19,9 @@
#ifndef KTOOLBARHANDLER_H
#define KTOOLBARHANDLER_H
#include <QtCore/QLinkedList>
#include <QtCore/QObject>
#include <QtCore/QPointer>
#include <QLinkedList>
#include <QObject>
#include <QPointer>
#include <kxmlguiclient.h>
......
......@@ -29,9 +29,9 @@
#include <kauthorized.h>
#include <klocalizedstring.h>
#include <QtXml/QDomElement>
#include <QtCore/QObject>
#include <QtCore/QMutableStringListIterator>
#include <QDomElement>
#include <QObject>
#include <QMutableStringListIterator>
#include <QAction>
#include <QMenu>
#include <QMenuBar>
......
......@@ -21,8 +21,8 @@
#include <kritawidgetutils_export.h>
#include <QtCore/QMap>
#include <QtCore/QStringList>
#include <QMap>
#include <QStringList>
class QDomDocument;
class QDomElement;
......
......@@ -29,14 +29,14 @@
#include "kactioncollection.h"
#include <QAction>
#include <QtCore/QDir>
#include <QtXml/QDomDocument>
#include <QtCore/QFile>
#include <QtCore/QCoreApplication>
#include <QtCore/QTextStream>
#include <QDir>
#include <QDomDocument>
#include <QFile>
#include <QCoreApplication>
#include <QTextStream>
#include <QWidget>
#include <QtCore/QDate>
#include <QtCore/QVariant>
#include <QDate>
#include <QVariant>
#include <QTextCodec>
#include <QStandardPaths>
#include <QDebug>
......
......@@ -22,7 +22,7 @@
#include <kritawidgetutils_export.h>
#include <QtCore/QObject>
#include <QObject>
class QAction;
class KXMLGUIFactoryPrivate;
......
......@@ -19,9 +19,9 @@
#ifndef kxmlguifactory_p_h
#define kxmlguifactory_p_h
#include <QtCore/QStringList>
#include <QtCore/QMap>
#include <QtXml/QDomElement>
#include <QStringList>
#include <QMap>
#include <QDomElement>
#include <QStack>
#include <QAction>
......
......@@ -42,7 +42,7 @@
#ifdef HAVE_DBUS
#include <QDBusConnection>
#endif
#include <QtXml/QDomDocument>
#include <QDomDocument>
#include <QLayout>
#include <QDebug>
#include <QMenuBar>
......
......@@ -31,7 +31,7 @@
#include "kxmlguiclient.h"
#include "kxmlguibuilder.h"
#include "kmainwindow.h"
#include <QtCore/QMetaClassInfo>
#include <QMetaClassInfo>
class KMenu;
class KXMLGUIFactory;
......
......@@ -19,7 +19,7 @@
#ifndef _KISCOLORSPACESELECTORPLUGIN_H_
#define _KISCOLORSPACESELECTORPLUGIN_H_
#include <QtCore/QObject>
#include <QObject>
#include <QtUiPlugin/QDesignerCustomWidgetInterface>
class KisColorSpaceSelectorPlugin : public QObject, public QDesignerCustomWidgetInterface
......
......@@ -19,7 +19,7 @@
#ifndef _KISGRADIENTSLIDERPLUGIN_H_
#define _KISGRADIENTSLIDERPLUGIN_H_
#include <QtCore/QObject>
#include <QObject>
#include <QtUiPlugin/QDesignerCustomWidgetInterface>
class KisGradientSliderPlugin : public QObject, public QDesignerCustomWidgetInterface
......
......@@ -33,7 +33,6 @@
#include <kis_image.h>
#include <KoColorSpace.h>
#include <KoColorSpaceRegistry.h>
#include <KisPart.h>
#include <QTemporaryFile>
#include <QFileInfo>
......
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