0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-25 09:04:39 +03:00
LimeReport/limereport/bands/lrtearoffband.h
Andy Maloney 491f7b49d7 Fix "hidden overloaded virtual function" warning
I'm presuming that TearOffBand::isUnique() is supposed to override the base class's isUnique(), but it was missing a const...
2017-04-07 23:02:58 -04:00

21 lines
462 B
C++

#ifndef TEAROFFBAND_H
#define TEAROFFBAND_H
#include "lrbanddesignintf.h"
namespace LimeReport {
class TearOffBand : public BandDesignIntf
{
Q_OBJECT
public:
TearOffBand(QObject* owner = 0, QGraphicsItem *parent=0);
virtual BaseDesignIntf* createSameTypeItem(QObject* owner=0, QGraphicsItem* parent=0);
protected:
QColor bandColor() const;
virtual bool isUnique() const {return true;}
};
} // namespace LimeReport
#endif // TEAROFFBAND_H