Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove unused iostream header
  • Loading branch information
jef-n committed Jul 5, 2015
1 parent 05ae68f commit 12b7831
Show file tree
Hide file tree
Showing 21 changed files with 6 additions and 29 deletions.
2 changes: 0 additions & 2 deletions tests/src/app/testqgisappclipboard.cpp
Expand Up @@ -12,8 +12,6 @@
* (at your option) any later version. *
* *
***************************************************************************/
#include <iostream>

#include <QApplication>
#include <QObject>
#include <QSplashScreen>
Expand Down
1 change: 0 additions & 1 deletion tests/src/core/regression992.cpp
Expand Up @@ -16,7 +16,6 @@
#include <QObject>
#include <QString>
#include <QStringList>
#include <iostream>
#include <QApplication>
#include <QFileInfo>
#include <QDir>
Expand Down
2 changes: 0 additions & 2 deletions tests/src/core/testqgsapplication.cpp
Expand Up @@ -13,8 +13,6 @@ Email : sherman at mrcc dot com
* *
***************************************************************************/
#include <QtTest/QtTest>
#include <iostream>

#include <QPixmap>

#define CPL_SUPRESS_CPLUSPLUS
Expand Down
2 changes: 0 additions & 2 deletions tests/src/core/testqgscoordinatereferencesystem.cpp
Expand Up @@ -13,8 +13,6 @@ Email : sherman at mrcc dot com
* *
***************************************************************************/
#include <QtTest/QtTest>
#include <iostream>

#include <QPixmap>

#include <qgsapplication.h>
Expand Down
1 change: 0 additions & 1 deletion tests/src/core/testqgsdiagram.cpp
Expand Up @@ -22,7 +22,6 @@
#include <QDesktopServices>
#include <QPainter>

#include <iostream>
//qgis includes...
// #include <qgisapp.h>
#include <diagram/qgspiediagram.h>
Expand Down
1 change: 0 additions & 1 deletion tests/src/core/testqgsgeometry.cpp
Expand Up @@ -25,7 +25,6 @@
#include <QImage>
#include <QPainter>

#include <iostream>
//qgis includes...
#include <qgsapplication.h>
#include <qgsgeometry.h>
Expand Down
1 change: 0 additions & 1 deletion tests/src/core/testqgsgradients.cpp
Expand Up @@ -21,7 +21,6 @@
#include <QDir>
#include <QDesktopServices>

#include <iostream>
//qgis includes...
#include <qgsmaprenderer.h>
#include <qgsmaplayer.h>
Expand Down
1 change: 0 additions & 1 deletion tests/src/core/testqgsinvertedpolygonrenderer.cpp
Expand Up @@ -21,7 +21,6 @@
#include <QDir>
#include <QDesktopServices>

#include <iostream>
//qgis includes...
#include <qgsmaprenderer.h>
#include <qgsmaplayer.h>
Expand Down
1 change: 1 addition & 0 deletions tests/src/core/testqgslegendrenderer.cpp
Expand Up @@ -50,6 +50,7 @@ static void _renderLegend( const QString& testName, QgsLayerTreeModel* legendMod
int dpi = 96;
qreal dpmm = dpi / 25.4;
QSize s( size.width() * dpmm, size.height() * dpmm );
qDebug() << QString( "testName:%1 size=%2x%3 dpmm=%4 s=%5x%6" ).arg( testName ).arg( size.width() ).arg( size.height() ).arg( dpmm ).arg( s.width() ).arg( s.height() );
QImage img( s, QImage::Format_ARGB32_Premultiplied );
img.fill( Qt::white );

Expand Down
1 change: 0 additions & 1 deletion tests/src/core/testqgsmaplayer.cpp
Expand Up @@ -16,7 +16,6 @@
#include <QObject>
#include <QString>
#include <QStringList>
#include <iostream>
#include <QApplication>
#include <QFileInfo>
#include <QDir>
Expand Down
2 changes: 0 additions & 2 deletions tests/src/core/testqgsmaprenderer.cpp
Expand Up @@ -18,8 +18,6 @@
#include <QStringList>
#include <QPainter>
#include <QTime>
#include <iostream>

#include <QApplication>
#include <QDesktopServices>

Expand Down
1 change: 0 additions & 1 deletion tests/src/core/testqgspoint.cpp
Expand Up @@ -20,7 +20,6 @@
#include <QDir>
#include <QDesktopServices>

#include <iostream>
//qgis includes...
#include <qgsapplication.h>
#include <qgsgeometry.h>
Expand Down
1 change: 0 additions & 1 deletion tests/src/core/testqgsrasterfilewriter.cpp
Expand Up @@ -16,7 +16,6 @@
#include <QObject>
#include <QString>
#include <QStringList>
#include <iostream>
#include <QApplication>
#include <QFileInfo>
#include <QDir>
Expand Down
1 change: 0 additions & 1 deletion tests/src/core/testqgsrasterfill.cpp
Expand Up @@ -21,7 +21,6 @@
#include <QDir>
#include <QDesktopServices>

#include <iostream>
//qgis includes...
#include <qgsmapsettings.h>
#include <qgsmaplayer.h>
Expand Down
1 change: 0 additions & 1 deletion tests/src/core/testqgsrasterlayer.cpp
Expand Up @@ -16,7 +16,6 @@
#include <QObject>
#include <QString>
#include <QStringList>
#include <iostream>
#include <QApplication>
#include <QFileInfo>
#include <QDir>
Expand Down
1 change: 0 additions & 1 deletion tests/src/core/testqgsrastersublayer.cpp
Expand Up @@ -16,7 +16,6 @@
#include <QObject>
#include <QString>
#include <QStringList>
#include <iostream>
#include <QApplication>
#include <QFileInfo>
#include <QDir>
Expand Down
1 change: 0 additions & 1 deletion tests/src/core/testqgsrenderers.cpp
Expand Up @@ -21,7 +21,6 @@
#include <QDir>
#include <QDesktopServices>

#include <iostream>
//qgis includes...
#include <qgsmaprenderer.h>
#include <qgsmaplayer.h>
Expand Down
1 change: 0 additions & 1 deletion tests/src/core/testqgsshapeburst.cpp
Expand Up @@ -21,7 +21,6 @@
#include <QDir>
#include <QDesktopServices>

#include <iostream>
//qgis includes...
#include <qgsmapsettings.h>
#include <qgsmaplayer.h>
Expand Down
2 changes: 0 additions & 2 deletions tests/src/core/testqgsvectorfilewriter.cpp
Expand Up @@ -16,8 +16,6 @@
#include <QObject>
#include <QString>
#include <QStringList>
#include <iostream>

#include <QApplication>

#include <qgsvectorlayer.h> //defines QgsFieldMap
Expand Down
10 changes: 5 additions & 5 deletions tests/src/core/testqgsvectorlayer.cpp
Expand Up @@ -21,7 +21,6 @@
#include <QDir>
#include <QDesktopServices>

#include <iostream>
//qgis includes...
#include <qgsmaprenderer.h>
#include <qgsmaplayer.h>
Expand All @@ -40,10 +39,11 @@ class TestSignalReceiver : public QObject
Q_OBJECT

public:
TestSignalReceiver() : QObject( 0 ),
rendererChanged( false ),
featureBlendMode( QPainter::CompositionMode( 0 ) ),
transparency( 0 )
TestSignalReceiver()
: QObject( 0 )
, rendererChanged( false )
, featureBlendMode( QPainter::CompositionMode( 0 ) )
, transparency( 0 )
{}
bool rendererChanged;
QPainter::CompositionMode featureBlendMode;
Expand Down
1 change: 0 additions & 1 deletion tests/src/gui/testqgsquickprint.cpp
Expand Up @@ -20,7 +20,6 @@
#include <QDir>
#include <QDesktopServices>

#include <iostream>
//qgis includes...
#include <qgsmaprenderer.h>
#include <qgsmaplayer.h>
Expand Down

0 comments on commit 12b7831

Please sign in to comment.