Skip to content

Commit 0a49c8c

Browse files
committed
remove unnecessary iostream includes
1 parent 7ef04f6 commit 0a49c8c

File tree

22 files changed

+20
-50
lines changed

22 files changed

+20
-50
lines changed

src/analysis/interpolation/DualEdgeTriangulation.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,10 @@
2323
#include <QList>
2424
#include "MathUtils.h"
2525
#include "TriangleInterpolator.h"
26-
//#include <qapp.h>
2726
#include <QColor>
2827
#include <QFile>
2928
#include <QTextStream>
3029
#include <QMessageBox>
31-
#include <iostream>
3230
#include <cfloat>
3331
#include <QBuffer>
3432
#include <QStringList>

src/analysis/interpolation/Node.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#define NODE_H
1919

2020
#include "Point3D.h"
21-
#include <iostream>
2221

2322
/**Node is a class used by Line3D. It represents a node in the single directed linked list. Associated Point3D objects are deleted when the node is deleted.*/
2423
class ANALYSIS_EXPORT Node

src/analysis/interpolation/ParametricLine.cc

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,75 +15,74 @@
1515
***************************************************************************/
1616

1717
#include "ParametricLine.h"
18-
#include <iostream>
19-
18+
#include <qgslogger.h>
2019

2120
void ParametricLine::add( ParametricLine* pl )
2221
{
2322
Q_UNUSED( pl );
24-
std::cout << "warning, derive a class from ParametricLine" << std::endl;
23+
QgsDebugMsg( "warning, derive a class from ParametricLine" );
2524
}
2625

2726
void ParametricLine::calcFirstDer( float t, Vector3D* v )
2827
{
2928
Q_UNUSED( t );
3029
Q_UNUSED( v );
31-
std::cout << "warning, derive a class from ParametricLine" << std::endl;
30+
QgsDebugMsg( "warning, derive a class from ParametricLine");
3231
}
3332

3433
void ParametricLine::calcSecDer( float t, Vector3D* v )
3534
{
3635
Q_UNUSED( t );
3736
Q_UNUSED( v );
38-
std::cout << "warning, derive a class from ParametricLine" << std::endl;
37+
QgsDebugMsg( "warning, derive a class from ParametricLine");
3938
}
4039

4140
void ParametricLine::calcPoint( float t, Point3D *p )
4241
{
4342
Q_UNUSED( t );
4443
Q_UNUSED( p );
45-
std::cout << "warning, derive a class from ParametricLine" << std::endl;
44+
QgsDebugMsg( "warning, derive a class from ParametricLine");
4645
}
4746

4847
ParametricLine* ParametricLine::getParent() const
4948
{
50-
std::cout << "warning, derive a class from ParametricLine" << std::endl;
49+
QgsDebugMsg( "warning, derive a class from ParametricLine");
5150
return 0;
5251
}
5352

5453
void ParametricLine::remove( int i )
5554
{
5655
Q_UNUSED( i );
57-
std::cout << "warning, derive a class from ParametricLine" << std::endl;
56+
QgsDebugMsg( "warning, derive a class from ParametricLine");
5857
}
5958

6059
void ParametricLine::setControlPoly( QVector<Point3D*>* cp )
6160
{
6261
Q_UNUSED( cp );
63-
std::cout << "warning, derive a class from ParametricLine" << std::endl;
62+
QgsDebugMsg( "warning, derive a class from ParametricLine");
6463
}
6564

6665
void ParametricLine::setParent( ParametricLine* paral )
6766
{
6867
Q_UNUSED( paral );
69-
std::cout << "warning, derive a class from ParametricLine" << std::endl;
68+
QgsDebugMsg( "warning, derive a class from ParametricLine");
7069
}
7170

7271
int ParametricLine::getDegree() const
7372
{
74-
std::cout << "warning, derive a class from ParametricLine" << std::endl;
73+
QgsDebugMsg( "warning, derive a class from ParametricLine");
7574
return mDegree;
7675
}
7776

7877
const Point3D* ParametricLine::getControlPoint( int number ) const
7978
{
8079
Q_UNUSED( number );
81-
std::cout << "warning, derive a class from ParametricLine" << std::endl;
80+
QgsDebugMsg( "warning, derive a class from ParametricLine");
8281
return 0;
8382
}
8483

8584
const QVector<Point3D*>* ParametricLine::getControlPoly() const
8685
{
87-
std::cout << "warning, derive a class from ParametricLine" << std::endl;
86+
QgsDebugMsg( "warning, derive a class from ParametricLine");
8887
return 0;
8988
}

src/analysis/interpolation/Point3D.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#define POINT3D_H
1919

2020
#include <cmath>
21-
#include <iostream>
2221

2322
/**Point3D is a class to represent a three dimensional point*/
2423
class ANALYSIS_EXPORT Point3D

src/app/ogr/qgsnewogrconnection.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* (at your option) any later version. *
1515
* *
1616
***************************************************************************/
17-
#include <iostream>
18-
1917
#include <QSettings>
2018
#include <QMessageBox>
2119
#include <QInputDialog>

src/app/qgsdecorationnortharrow.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ email : tim@linfiniti.com
3939
#include <QFile>
4040

4141
//non qt includes
42-
#include <iostream>
4342
#include <cmath>
4443
#include <cassert>
4544

src/app/qgslabelinggui.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#include <QColorDialog>
3131
#include <QFontDialog>
3232
#include <QTextEdit>
33-
#include <iostream>
3433
#include <QApplication>
3534
#include <QMessageBox>
3635

src/browser/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
* (at your option) any later version. *
1616
* *
1717
***************************************************************************/
18-
#include <iostream>
1918
#include <QLocale>
2019
#include <QSettings>
2120
#include <QTranslator>

src/core/composer/qgscomposermap.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#include <QGraphicsView>
3838
#include <QPainter>
3939
#include <QSettings>
40-
#include <iostream>
4140
#include <cmath>
4241

4342
QgsComposerMap::QgsComposerMap( QgsComposition *composition, int x, int y, int width, int height )

src/core/qgsmaplayerregistry.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
* *
1616
***************************************************************************/
1717

18-
#include <iostream>
19-
2018
#include "qgsmaplayerregistry.h"
2119
#include "qgsmaplayer.h"
2220
#include "qgslogger.h"

0 commit comments

Comments
 (0)