Skip to content

Commit

Permalink
Replace Qt3 stuff by Qt4 stuff
Browse files Browse the repository at this point in the history
Tidy up #includes


git-svn-id: http://svn.osgeo.org/qgis/trunk@4761 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Jan 28, 2006
1 parent 271172e commit 0f80ae4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
20 changes: 10 additions & 10 deletions src/core/qgsmarkercatalogue.cpp
Expand Up @@ -16,15 +16,15 @@
#include <cmath>
#include <iostream>

#include <qpainter.h>
#include <qpixmap.h>
#include <qimage.h>
#include <qbitmap.h>
#include <qstring.h>
#include <qstringlist.h>
#include <qrect.h>
#include <q3pointarray.h>
#include <qdir.h>
#include <QPen>
#include <QBrush>
#include <QPainter>
#include <QPixmap>
#include <QString>
#include <QStringList>
#include <QRect>
#include <QPolygon>
#include <QDir>
#include <QPicture>

#include "qgsapplication.h"
Expand Down Expand Up @@ -145,7 +145,7 @@ QPicture QgsMarkerCatalogue::hardMarker ( QString name, int s, QPen pen, QBrush
else if ( name == "diamond" )
{
half = (int) ( sqrt(area/2.) );
Q3PointArray pa(4);
QPolygon pa(4);
pa.setPoint ( 0, 0, half);
pa.setPoint ( 1, half, 2*half);
pa.setPoint ( 2, 2*half, half);
Expand Down
12 changes: 5 additions & 7 deletions src/core/qgsmarkercatalogue.h
Expand Up @@ -18,14 +18,12 @@

#include <iostream>

#include <qbrush.h>
#include <qpen.h>
#include <qpixmap.h>
#include <qpicture.h>
#include <qdom.h>
#include <qstringlist.h>

class QString;
class QStringList;
class QPicture;
class QPixmap;
class QPen;
class QBrush;

/** Catalogue of point symbols */
class QgsMarkerCatalogue{
Expand Down

0 comments on commit 0f80ae4

Please sign in to comment.