Commit 4f107a84 authored by Laurent Montel's avatar Laurent Montel
Browse files

Remove unused includes

parent d903d20d
Pipeline #238609 passed with stage
in 3 minutes and 28 seconds
......@@ -37,7 +37,6 @@
#include "../objects/transform_types.h"
#include "../objects/vector_type.h"
#include <QColor>
#include <QFile>
#include <QRegExp>
......
......@@ -10,10 +10,6 @@
#include "filter.h"
#include <QAbstractXmlReceiver>
#include <QMap>
#include <QXmlNamePool>
class ObjectCalcer;
class ObjectType;
......
......@@ -11,7 +11,6 @@
#include <QDesktopWidget>
#include <QLayout>
#include <QSize>
#include <QSpinBox>
ImageExporterOptions::ImageExporterOptions(QWidget *parent)
: QWidget(parent)
......
......@@ -10,7 +10,6 @@
#pragma once
#include <QString>
#include <iostream>
///////////////////////////////////////////////////////////////////
......
......@@ -16,13 +16,10 @@
#include <objects/object_holder.h>
#include <objects/object_type_factory.h>
#include <KZip>
#include <QDebug>
#include <QColor>
#include <QFile>
#include <QXmlName>
#include <QXmlQuery>
void GeogebraTransformer::atomicValue(const QVariant &)
{
......
......@@ -7,11 +7,9 @@
#include "kig.h"
#include <QAction>
#include <QApplication>
#include <QDropEvent>
#include <QFileDialog>
#include <QMessageBox>
#include <QMimeData>
#include <QProcess>
#include <QStandardPaths>
......
......@@ -7,9 +7,7 @@
#pragma once
#include <QUndoStack>
#include <QDebug>
#include <QUndoCommand>
#include "../objects/object_holder.h"
......
......@@ -44,18 +44,16 @@
#include <QStandardPaths>
#include <QTimer>
#include <KAboutData>
#include <KActionCollection>
#include <KIconEngine>
#include <KIconLoader>
#include <KMessageBox>
#include <KParts/OpenUrlArguments>
#include <KPluginFactory>
#include <KStandardAction>
#include <KToggleAction>
#include <KUndoActions>
#include <KParts/OpenUrlArguments>
using namespace std;
static const QString typesFile = QStringLiteral("macros.kigt");
......
......@@ -16,14 +16,10 @@
#include "kig_document.h"
#include "kig_part.h"
#include <QApplication>
#include <QEvent>
#include <QLayout>
#include <QGridLayout>
#include <QScrollBar>
#include <QWheelEvent>
#include <QDebug>
#include <algorithm>
#include <cmath>
#include <iterator>
......
......@@ -10,8 +10,6 @@
#include "coordinate.h"
#include "rect.h"
#include <QRect>
#include <assert.h>
#include <vector>
......
......@@ -19,11 +19,8 @@
#include <string>
#include <QDoubleValidator>
#include <QPainter>
#include <QRegExp>
#include <QDebug>
static QString withoutSpaces(const QString &str)
{
QString newstr;
......
......@@ -7,10 +7,8 @@
#include "kigcoordinateprecisiondialog.h"
#include <QBoxLayout>
#include <QCheckBox>
#include <QDialogButtonBox>
#include <QLabel>
#include <QVBoxLayout>
KigCoordinatePrecisionDialog::KigCoordinatePrecisionDialog(bool isUserSpecified, int currentPrecision)
......
......@@ -13,7 +13,6 @@
#include "../kig/kig_document.h"
#include <QApplication>
#include <QComboBox>
#include <QDialogButtonBox>
#include <QLabel>
......@@ -23,7 +22,6 @@
#include <QVBoxLayout>
#include <QValidator>
#include <KConfigGroup>
#include <KLocalizedString>
class KigInputDialogPrivate
......
......@@ -13,8 +13,6 @@
#include <cmath>
#include <QDebug>
using std::atan2;
using std::cos;
using std::fabs;
......
......@@ -11,8 +11,6 @@
#include "../kig/kig_part.h"
#include "../kig/kig_view.h"
#include <KCursor>
#include <QEvent>
#include <QMouseEvent>
BaseMode::BaseMode(KigPart &d)
......
......@@ -23,10 +23,7 @@
#include "popup/objectchooserpopup.h"
#include "popup/popup.h"
#include <QEvent>
#include <KCursor>
#include <QAction>
#include <QMouseEvent>
#include <algorithm>
......
......@@ -9,7 +9,6 @@
#include "../kig/kig_view.h"
#include "../misc/kigpainter.h"
#include <QAction>
#include <QMouseEvent>
#include <qglobal.h>
......
......@@ -10,10 +10,7 @@
#include "ui_edittypewidget.h"
#include <KConfigGroup>
#include <KHelpClient>
#include <KIconDialog>
#include <KLineEdit>
#include <KMessageBox>
#include <QDialogButtonBox>
#include <QPushButton>
......
......@@ -9,7 +9,6 @@
#include "ui_historywidget.h"
#include <QDebug>
#include <QDialogButtonBox>
#include <QIcon>
#include <QIntValidator>
......@@ -17,7 +16,6 @@
#include <QUndoStack>
#include <QVBoxLayout>
#include <KConfigGroup>
HistoryDialog::HistoryDialog(QUndoStack *kch, QWidget *parent)
: QDialog(parent)
......
......@@ -23,18 +23,15 @@
#include "../objects/text_type.h"
#include <QAction>
#include <QEvent>
#include <QIcon>
#include <QMenu>
#include <QMouseEvent>
#include <QRegExp>
#include <QVariant>
#include <KCursor>
#include <KIconEngine>
#include <KLazyLocalizedString>
#include <KMessageBox>
#include <QDebug>
#include <algorithm>
#include <functional>
......
Supports Markdown
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