Commit bf47082e authored by Laurent Montel's avatar Laurent Montel 😁

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

parent d35cbff3
......@@ -22,7 +22,6 @@
#include "configuredialog.h"
#include <KConfigDialog>
#include <KLocalizedString>
#include <QTabWidget>
......
......@@ -35,7 +35,6 @@
#include <KStandardGuiItem>
#include <KStatusNotifierItem>
#include <KToggleAction>
#include <KXmlGuiWindow>
#include <QAction>
#include <QApplication>
......@@ -52,11 +51,9 @@
#include "configuredialog.h"
#include "dictionaryupdatemanager.h"
#include "dictquery.h"
#include "entrylist.h"
#include "entrylistmodel.h"
#include "entrylistview.h"
#include "historyptrlist.h"
#include "kitenconfig.h"
#include "resultsview.h"
#include "searchstringinput.h"
......
......@@ -22,7 +22,6 @@
#include "entry.h"
#include <KComboBox>
WordType::WordType( QWidget *parent )
: KComboBox( parent )
......
......@@ -28,7 +28,6 @@
#include <QString>
#include <QStringList>
#include <QVBoxLayout>
#include <QWidget>
DictFileFieldSelector::DictFileFieldSelector( KConfigSkeleton *config,
const QString &dictionaryTypeName, QWidget *parent )
......
......@@ -24,12 +24,10 @@
#include <QApplication>
#include <KProcess>
#include <QFile>
#include <QFileInfo>
#include <QStandardPaths>
#include <QString>
#include <QTextCodec>
#include <QVector>
#include <sys/mman.h>
......
......@@ -31,7 +31,6 @@ TODO: Add features to limit the number of hits on a per-search basis.
#include <QDebug>
#include <QString>
#include <QStringList>
class DictQuery::Private
{
......
......@@ -22,7 +22,6 @@
*****************************************************************************/
#include "entry.h"
#include "dictquery.h"
#include <KLocalizedString>
......
......@@ -29,14 +29,12 @@
#include "buttongrid.h"
#include "radicalbutton.h"
#include <KLocalizedString>
#include <QGridLayout>
#include <QLabel>
#include <QString>
#include <QWidget>
ButtonGrid::ButtonGrid( QWidget *parent, RadicalFile *radicalInfo )
: QWidget( parent )
......
......@@ -21,8 +21,6 @@
#include "radicalbutton.h"
#include <QMouseEvent>
#include <QPushButton>
#include <QString>
#include <QStyle>
#include <QStyleOptionButton>
#include <QWidget>
......
......@@ -25,7 +25,6 @@
#include "radselectview.h"
#include "radicalfile.h"
#include "buttongrid.h"
#include "radselectconfig.h"
......@@ -34,12 +33,10 @@
#include <QApplication>
#include <QClipboard>
#include <QList>
#include <QListWidget>
#include <QListWidgetItem>
#include <QPushButton>
#include <QString>
#include <QWidget>
RadSelectView::RadSelectView( QWidget *parent )
: QWidget( parent )
......
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