Commit f2dff69d authored by Laurent Montel's avatar Laurent Montel
Browse files

Remove unused includes

parent 6fefc4ac
Pipeline #238610 passed with stage
in 1 minute and 3 seconds
......@@ -15,8 +15,6 @@
#include <KStandardAction>
/* these includes are needed for Qt support */
#include <QAction>
#include <QLayout>
#include <QPushButton>
#include <QStandardPaths>
......
......@@ -12,7 +12,6 @@
#include <KXmlGuiWindow>
#include <QApplication>
#include <QHBoxLayout>
#include "MainQtWidget.h"
......
......@@ -13,7 +13,6 @@
/* these includes are needed for Qt support */
#include <QApplication>
#include <QLayout>
#include <QPushButton>
#ifdef DEBUG
......
......@@ -10,8 +10,6 @@
#define EXERCISECOMPARE_H
#include <QGridLayout>
#include <QLabel>
#include <QVBoxLayout>
#include <QWidget>
......
......@@ -15,10 +15,10 @@
/* these includes are needed for Qt support */
#include <QApplication>
#include <QIntValidator>
#include <QLayout>
#include <QLineEdit>
#include <QLocale>
#include <QPushButton>
#include <QFrame>
#ifdef DEBUG
#include <QDebug>
......
......@@ -13,8 +13,6 @@
#include "Ratio.h"
#include <QGridLayout>
#include <QLabel>
#include <QVBoxLayout>
class RationalWidget;
class ResultWidget;
......@@ -22,7 +20,7 @@ class ResultWidget;
class QLineEdit;
class QPushButton;
class QString;
class QFrame;
/*! Construct the exercise widget to convert rational numbers into fractions
*
* \author Sebastian Stein
......
......@@ -10,15 +10,12 @@
/* these includes are needed for KDE support */
#include <KLocalizedString>
#include <KMessageBox>
/* these includes are needed for Qt support */
#include <QApplication>
#include <QGridLayout>
#include <QLabel>
#include <QLayout>
#include <QPushButton>
#include <QPainter>
#ifdef DEBUG
#include <QDebug>
......
......@@ -10,7 +10,6 @@
#define EXERCISEFACTORIZE_H
#include <QList>
#include <QVariant>
#include <QWidget>
#include "ExerciseBase.h"
......
......@@ -8,13 +8,11 @@
/* these includes are needed for KDE support */
#include <KLocalizedString>
#include <KMessageBox>
/* these includes are needed for Qt support */
#include <QApplication>
#include <QGridLayout>
#include <QIntValidator>
#include <QLayout>
#include <QLineEdit>
#include <QPushButton>
......
......@@ -17,7 +17,6 @@
/* these includes are needed for Qt support */
#include <QAction>
#include <QApplication>
#include <QGridLayout>
#include <QLabel>
#include <QPainter>
......
......@@ -15,7 +15,6 @@
#include <KLocalizedString>
#include <KStandardShortcut>
#include <KActionCollection>
#include <KPageWidgetModel>
/* these includes are needed for Qt support */
#include <QAction>
......@@ -25,7 +24,6 @@
#include <QFrame>
#include <QIcon>
#include <QLabel>
#include <QLayout>
#include <QSplitter>
#include <QPushButton>
#include <QToolButton>
......@@ -50,7 +48,6 @@
#include "TaskColors.h"
#include "settingsclass.h"
#include <KPageView>
#include <QStandardPaths>
class TaskFonts : public QWidget, public Ui::TaskFontsBase
......
......@@ -11,7 +11,6 @@
#include "RationalWidget.h"
/* these includes are needed for Qt support */
#include <QLocale>
#include <QPainter>
#include <QPaintEvent>
......
......@@ -13,10 +13,10 @@
#include <KLocalizedString>
/* these includes are needed for Qt support */
#include <QLayout>
#include <QLabel>
#include <QPainter>
#include <QPaintEvent>
#include <QGridLayout>
#ifdef DEBUG
#include <QDebug>
......
......@@ -8,7 +8,6 @@
#include "StatisticsBarWidget.h"
/* these includes are needed for Qt support */
#include <QApplication>
#include <QGridLayout>
#include <QLabel>
#include <QProgressBar>
......
......@@ -16,7 +16,6 @@
/* the includes are needed for Qt support */
#include <QGridLayout>
#include <QLayout>
#include <QPushButton>
#ifdef DEBUG
......
......@@ -17,9 +17,9 @@
#include <QApplication>
#include <QGridLayout>
#include <QIntValidator>
#include <QLayout>
#include <QLineEdit>
#include <QPushButton>
#include <QFrame>
#ifdef DEBUG
#include <QDebug>
......
......@@ -17,7 +17,6 @@
#include "Task.h"
#include "TaskWidget.h"
#include <QLabel>
#include <QWidget>
......@@ -25,7 +24,7 @@ class QGridLayout;
class QPushButton;
class QLineEdit;
class QFrame;
/*! Constructs a QWidget, which shows the task to the user.
* The class also provides input fields, so that the user can enter the result.
* It also controls the interaction, so that the entered result gets checked
......
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