remove about 45 useless #include statements from campain.* - copypasta ftw, eh? :p
authorsheepluva
Thu, 16 May 2013 10:03:00 +0200
changeset 9000 af202eff659c
parent 8999 b5f0fb670b38
child 9001 89418f84d1dd
remove about 45 useless #include statements from campain.* - copypasta ftw, eh? :p
QTfrontend/campaign.cpp
QTfrontend/campaign.h
--- a/QTfrontend/campaign.cpp	Wed May 15 23:33:38 2013 -0400
+++ b/QTfrontend/campaign.cpp	Thu May 16 10:03:00 2013 +0200
@@ -16,42 +16,12 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  */
 
-#include <QDir>
-#include <QFile>
-#include <QTextStream>
-#include <QPushButton>
-#include <QListWidget>
-#include <QStackedLayout>
-#include <QLineEdit>
-#include <QLabel>
-#include <QRadioButton>
-#include <QSpinBox>
-#include <QCloseEvent>
-#include <QCheckBox>
-#include <QTextBrowser>
-#include <QAction>
-#include <QTimer>
-#include <QScrollBar>
-#include <QDataWidgetMapper>
-#include <QTableView>
-#include <QCryptographicHash>
-#include <QSignalMapper>
-#include <QShortcut>
-#include <QDesktopServices>
-#include <QInputDialog>
-#include <QPropertyAnimation>
+#include "campaign.h"
+
+#include "hwconsts.h"
+
 #include <QSettings>
 
-#include "campaign.h"
-#include "gameuiconfig.h"
-#include "hwconsts.h"
-#include "gamecfgwidget.h"
-#include "bgwidget.h"
-#include "mouseoverfilter.h"
-#include "tcpBase.h"
-
-#include "DataManager.h"
-
 extern QString campaign, campaignTeam;
 
 QStringList getCampMissionList(QString & campaign)
--- a/QTfrontend/campaign.h	Wed May 15 23:33:38 2013 -0400
+++ b/QTfrontend/campaign.h	Thu May 16 10:03:00 2013 +0200
@@ -19,21 +19,8 @@
 #ifndef CAMPAIGN_H
 #define CAMPAIGN_H
 
-#include <QMainWindow>
-#include <QStack>
-#include <QTime>
-#include <QPointer>
-#include <QPropertyAnimation>
-#include <QUrl>
-#include <QNetworkReply>
-#include <QNetworkRequest>
-#include <QNetworkAccessManager>
-
-#include "netserver.h"
-#include "game.h"
-#include "ui_hwform.h"
-#include "SDLInteraction.h"
-#include "bgwidget.h"
+#include <QString>
+#include <QStringList>
 
 QStringList getCampMissionList(QString & campaign);
 unsigned int getCampProgress(QString & teamName, QString & campName);