Skip to content

Commit

Permalink
remove unused iostream header
Browse files Browse the repository at this point in the history
  • 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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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.