1 /* This file is part of the KDE project 2 * Copyright (C) 2008 Thorsten Zachmann <zachmann@kde.org> 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Library General Public 6 * License as published by the Free Software Foundation; either 7 * version 2 of the License, or ( at your option ) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * 13 * Library General Public License for more details. 14 * 15 * You should have received a copy of the GNU Library General Public License 16 * along with this library; see the file COPYING.LIB. If not, write to 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * Boston, MA 02110-1301, USA. 19 */ 20 21 #ifndef KPRSHAPEMANAGERDISPLAYMASTERSTRATEGY_H 22 #define KPRSHAPEMANAGERDISPLAYMASTERSTRATEGY_H 23 24 #include <KoShapeManagerPaintingStrategy.h> 25 26 class KPrPageSelectStrategyBase; 27 28 class KPrShapeManagerDisplayMasterStrategy : public KoShapeManagerPaintingStrategy 29 { 30 public: 31 /** 32 * 33 */ 34 KPrShapeManagerDisplayMasterStrategy( KoShapeManager * shapeManager, KPrPageSelectStrategyBase * strategy ); 35 ~KPrShapeManagerDisplayMasterStrategy() override; 36 37 /// reimplemented 38 void paint( KoShape * shape, QPainter &painter, const KoViewConverter &converter, KoShapePaintingContext &paintContext) override; 39 40 private: 41 KPrPageSelectStrategyBase *m_strategy; 42 }; 43 44 #endif /* KPRSHAPEMANAGERDISPLAYMASTERSTRATEGY_H */ 45