[PATCH] RatingPainter and RatingWidget take 2

Sebastian Trüg strueg at mandriva.com
Wed Feb 27 15:49:59 GMT 2008


On Wednesday 27 February 2008 14:26:00 Tobias Koenig wrote:
> On Wed, Feb 27, 2008 at 01:00:52PM +0100, Sebastian Trüg wrote:
> > Hi guys,
>
> Hej Sebastian,
>
> > #ifndef _NEPOMUK_RATING_PAINTER_H_
> > #define _NEPOMUK_RATING_PAINTER_H_
> >
> > #include <nepomuk/nepomuk_export.h>
> >
> > #include <QtCore/QRect>
> >
> > class QIcon;
> > class QPixmap;
> > class QPainter;
> > class QPoint;
> > class QRect;
>
> The '#include <QtCore/QRect>' can be omitted as well then, or?

To be honest, I kept it because I did not know which minimal include to use 
for the Qt namespace (Qt::Alignment).

Cheers,
Sebastian





More information about the kde-core-devel mailing list