File indexing completed on 2024-10-06 06:47:00

0001 /*
0002     KBlackBox - A simple game inspired by an emacs module
0003 
0004     SPDX-FileCopyrightText: 2007 Nicolas Roffet <nicolas-kde@roffet.com>
0005 
0006     SPDX-License-Identifier: GPL-2.0-or-later
0007 */
0008 
0009 #ifndef KBBGRAPHICSITEM_H
0010 #define KBBGRAPHICSITEM_H
0011 
0012 
0013 
0014 #include <QGraphicsScene>
0015 #include <QGraphicsSvgItem>
0016 
0017 
0018 #include "kbbscalablegraphicwidget.h"
0019 class KBBThemeManager;
0020 
0021 
0022 
0023 /**
0024  * @brief Graphic item of the scalable graphic widget
0025  */
0026 class KBBGraphicsItem : public QGraphicsSvgItem
0027 {
0028     public:
0029         /**
0030          * @brief Constructor
0031          */
0032         KBBGraphicsItem(KBBScalableGraphicWidget::itemType itemType, QGraphicsScene* scene, KBBThemeManager* themeManager);
0033 };
0034 
0035 #endif // KBBGRAPHICSITEM_H