Commit 4bd796c3 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

If include is define in .h remove it if it's defined in .cpp too (scripted)

parent 7003bf56
......@@ -25,8 +25,6 @@
/* these includes are needed for Qt support */
#include <QAction>
#include <QApplication>
#include <QHBoxLayout>
#include <QLayout>
#include <QPushButton>
#include <QStandardPaths>
......
......@@ -25,8 +25,6 @@
/* these includes are needed for Qt support */
#include <QApplication>
#include <QGridLayout>
#include <QLabel>
#include <QLayout>
#include <QPushButton>
......
......@@ -26,9 +26,7 @@
/* these includes are needed for Qt support */
#include <QApplication>
#include <QGridLayout>
#include <QIntValidator>
#include <QLabel>
#include <QLayout>
#include <QLineEdit>
#include <QLocale>
......
......@@ -39,10 +39,8 @@
/* standard C++ library includes */
#include <cstdlib>
#include "PrimeFactorsLineEdit.h"
#include "PrimeNumber.h"
#include "RationalWidget.h"
#include "ResultWidget.h"
#include "settingsclass.h"
/* ----- public member functions ----- */
......
......@@ -25,7 +25,6 @@
#include <QApplication>
#include <QGridLayout>
#include <QIntValidator>
#include <QLabel>
#include <QLayout>
#include <QLineEdit>
#include <QPushButton>
......
......@@ -43,8 +43,6 @@
#include <QDebug>
#endif
#include "Ratio.h"
#include "FractionPainter.h"
#include "ui_taskfontsbase.h"
#include "settingsclass.h"
#include "TaskColors.h"
......
......@@ -41,7 +41,6 @@
#include <QToolButton>
#include <QWidget>
#include <QWidgetAction>
#include <QRadioButton>
#ifdef DEBUG
#include <QDebug>
......
......@@ -20,7 +20,6 @@
#include "Ratio.h"
#include <QTextStream>
#ifdef DEBUG
#include <QDebug>
......
......@@ -26,7 +26,6 @@
/* the includes are needed for Qt support */
#include <QGridLayout>
#include <QLabel>
#include <QLayout>
#include <QPushButton>
......
......@@ -25,7 +25,6 @@
#include <ctime>
#include <QDebug>
#include <QTextStream>
/** constructor of class task */
Task::Task()
......
......@@ -28,7 +28,6 @@
#include <QApplication>
#include <QGridLayout>
#include <QIntValidator>
#include <QLabel>
#include <QLayout>
#include <QLineEdit>
#include <QPushButton>
......
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