Skip to content
Permalink
Browse files

Merge pull request #1245 from simonsonc/remove-qtgui

Remove include of QtGui in favor of individual includes
  • Loading branch information
wonder-sk committed Mar 26, 2014
2 parents d0c93b9 + 690e7b0 commit f8a558a680207c4b5ee62d2c3af6a712dee74fcd
@@ -14,6 +14,8 @@
* *
***************************************************************************/

#include <QMessageBox>

#include "qgsatlascompositionwidget.h"
#include "qgsatlascomposition.h"
#include "qgscomposition.h"
@@ -82,6 +82,7 @@
#include <QPaintEngine>
#include <QProgressBar>
#include <QProgressDialog>
#include <QShortcut>


// sort function for QList<QAction*>, e.g. menu listings
@@ -48,6 +48,8 @@ class QResizeEvent;
class QFile;
class QSizeGrip;
class QUndoView;
class QComboBox;
class QLabel;

/** \ingroup MapComposer
* \brief A gui for composing a printable map.
@@ -14,7 +14,8 @@
* *
***************************************************************************/

#include <QtGui>
#include <QDockWidget>
#include <QMessageBox>

#include "qgsattributetabledialog.h"
#include "qgsattributetablemodel.h"
@@ -15,15 +15,15 @@
#ifndef QGSUNDOWIDGET_H
#define QGSUNDOWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QDockWidget>
#include <QtGui/QGridLayout>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QWidget>
#include <QVariant>
#include <QAction>
#include <QApplication>
#include <QButtonGroup>
#include <QDockWidget>
#include <QGridLayout>
#include <QPushButton>
#include <QSpacerItem>
#include <QWidget>
#include <QUndoView>
#include <QUndoStack>

@@ -18,8 +18,8 @@
#ifndef QGSCOMPOSEREFFECT_H
#define QGSCOMPOSEREFFECT_H

#include <QtGui>
#include <QGraphicsEffect>
#include <QPainter>

class CORE_EXPORT QgsComposerEffect : public QGraphicsEffect
{
@@ -22,6 +22,8 @@
#include <QDate>
#include <QDomElement>
#include <QPainter>
#include <QSettings>
#include <QTimer>
#include <QWebFrame>
#include <QWebPage>
#include <QEventLoop>
@@ -19,6 +19,7 @@
#include "qgscomposition.h"
#include <QFont>
#include <QMap>
#include <QSettings>
#include <QString>
#include <QDomElement>
#include <QDomDocument>
@@ -14,6 +14,8 @@
* (at your option) any later version. *
* *
***************************************************************************/
#include <QGraphicsView>
#include <QGraphicsSceneHoverEvent>
#include <QPainter>
#include <QWidget>

@@ -18,6 +18,7 @@
#include "qgscomposertable.h"
#include "qgslogger.h"
#include <QPainter>
#include <QSettings>

QgsComposerTable::QgsComposerTable( QgsComposition* composition )
: QgsComposerItem( composition )
@@ -20,6 +20,7 @@
#include "qgsstylev2.h"
#include "qgslogger.h"
#include <QGraphicsRectItem>
#include <QGraphicsView>
#include <QPainter>

//QgsPaperGrid
@@ -27,7 +27,6 @@
#include "qgsexpression.h"
#include "qgsmaplayeractionregistry.h"

#include <QtGui>
#include <QVariant>

#include <limits>
@@ -22,6 +22,8 @@
#include <QClipboard>
#include <QMimeData>
#include <QGridLayout>
#include <QScrollBar>
#include <QDesktopWidget>

#include "qgsapplication.h"
#include "qgscomposerview.h"
@@ -43,7 +43,13 @@
**
****************************************************************************/

#include <QtGui>
#include <QFontDatabase>
#include <QMouseEvent>
#include <QPaintEvent>
#include <QPainter>
#include <QPen>
#include <QPoint>
#include <QToolTip>

#include "characterwidget.h"

0 comments on commit f8a558a

Please sign in to comment.
You can’t perform that action at this time.