Commit bcdbc1cc 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 16cabc52
......@@ -51,7 +51,6 @@
//include files for QT
#include <QAction>
#include <QDialog>
#include <QDockWidget>
#include <QGridLayout>
#include <QHostInfo>
......
......@@ -22,7 +22,6 @@
#define KDE_NO_COMPAT
#include "kwaitedplayersetupdialog.h"
#include "GameLogic/gameautomaton.h"
#include "GameLogic/player.h"
#include "kgamewin.h"
#include "GameLogic/onu.h"
#include "Sprites/skinSpritesData.h"
......
......@@ -20,7 +20,6 @@
#include "KMessageParts.h"
#include <stdexcept>
#include <QPixmap>
namespace Ksirk {
......
......@@ -29,7 +29,6 @@
#include <QColorDialog>
#include <QInputDialog>
#include <QMessageBox>
#include <QPixmap>
#include <QTextDocument>
#include <iostream>
......
......@@ -29,7 +29,6 @@
#include <QPainter>
#include <QColorDialog>
#include <QInputDialog>
#include <QPixmap>
namespace Ksirk
{
class KGameWindow;
......
......@@ -32,7 +32,6 @@
#include <KLocalizedString>
#include "ksirk_debug.h"
#include <QSvgRenderer>
#include <QString>
#include <QApplication>
#include <QDataStream>
#include <QBitmap>
......
......@@ -22,14 +22,11 @@
#include "onu.h"
#include "Sprites/skinSpritesData.h"
#include "goal.h"
#include "gameautomaton.h"
#include "kgamewin.h"
#define KDE_NO_COMPAT
#include <QFile>
#include <qdom.h>
#include <QPainter>
#include <QPixmap>
#include <QPixmapCache>
#include <QFileInfo>
#include <QMenuBar>
......
......@@ -23,7 +23,6 @@
#include "player.h"
#include "Sprites/backgnd.h"
#include "Sprites/skinSpritesData.h"
#include "GameLogic/gameautomaton.h"
#include "GameLogic/onu.h"
#include "kgamewin.h"
......
......@@ -51,8 +51,6 @@
#include <KComponentData>
#include "jabberconnector.h"
#include "jabberclient.h"
#include "jabberprotocol.h"
#include "jabberresourcepool.h"
#include "jabbercontactpool.h"
// #include "jabberfiletransfer.h"
......
......@@ -23,9 +23,7 @@
#include "jabber_protocol_debug.h"
#include <QString>
#include <QStringList>
#include <QTimer>
#include <QPair>
#include <qdom.h>
#include <QTextStream>
......
......@@ -26,7 +26,6 @@
#include <QTimer>
#include <QRegExp>
#include <QtCrypto>
#include <bsocket.h>
#include <filetransfer.h>
......
......@@ -20,7 +20,6 @@
#include "jabber_protocol_debug.h"
#include "jabberconnector.h"
#include "jabberbytestream.h"
// #include "jabberprotocol.h"
JabberConnector::JabberConnector ( QObject *parent )
......
......@@ -31,7 +31,6 @@
#include <QImage>
#include <QRegExp>
#include <QBuffer>
#include <QList>
#include <KLocalizedString>
#include <KMessageBox>
......
......@@ -23,7 +23,6 @@
#include <KGenericFactory>
#include <KConfig>
#include <QMap>
#include <QTimer>
#include <QPixmap>
#include <QStringList>
......
......@@ -22,7 +22,6 @@
subclass KMessageJabber of KMessageIO
*/
#include "jabber_protocol_debug.h"
#include "kmessagejabber.h"
#include <QDataStream>
#include <QUuid>
......
......@@ -22,9 +22,7 @@
#include <algorithm>
#include <QDomElement>
#include <QString>
#include <QStringList>
#include <QList>
#include "jabber_protocol_debug.h"
// #include "jabberprotocol.h"
......
......@@ -20,10 +20,8 @@
/* begin : Mon Feb 07 2005 */
#include "ksirkgamexmlhandler.h"
#include "KsirkGlobalDefinitions.h"
#include "GameLogic/country.h"
#include "GameLogic/onu.h"
#include "GameLogic/goal.h"
#include "GameLogic/KMessageParts.h"
#include "ksirk_debug.h"
......
......@@ -21,9 +21,7 @@
#include "ksirkgamexmlloader.h"
#include "ksirkgamexmlhandler.h"
#include "KsirkGlobalDefinitions.h"
#include <qxml.h>
#include <KMessageBox>
#include <KLocalizedString>
......
......@@ -24,7 +24,6 @@
#include <QSize>
#include <QEvent>
#include <QMouseEvent>
#include <QGraphicsSceneMouseEvent>
#include <QScrollBar>
......
......@@ -51,7 +51,6 @@
#include "ndns.h"
#include "netnames.h"
// CS_NAMESPACE_BEGIN
......
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