File indexing completed on 2024-05-12 15:57:03

0001 /*
0002  *  SPDX-FileCopyrightText: 2017 Dmitry Kazakov <dimula73@gmail.com>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #ifndef KISQPAINTERSTATESAVER_H
0008 #define KISQPAINTERSTATESAVER_H
0009 
0010 #include "kritaglobal_export.h"
0011 
0012 class QPainter;
0013 
0014 class KRITAGLOBAL_EXPORT KisQPainterStateSaver
0015 {
0016 public:
0017     KisQPainterStateSaver(QPainter *painter);
0018     ~KisQPainterStateSaver();
0019 
0020 private:
0021     KisQPainterStateSaver(const KisQPainterStateSaver &rhs);
0022     QPainter *m_painter;
0023 };
0024 
0025 #endif // KISQPAINTERSTATESAVER_H