File indexing completed on 2024-12-22 04:11:23
0001 /* This file is part of the KDE project 0002 SPDX-FileCopyrightText: 2017 Boudewijn Rempt 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 #ifndef TESTSHAPE_H 0007 #define TESTSHAPE_H 0008 0009 #include <QObject> 0010 #include <KisDocument.h> 0011 #include <kis_shape_layer.h> 0012 #include <VectorLayer.h> 0013 0014 class TestShape : public QObject 0015 { 0016 Q_OBJECT 0017 private Q_SLOTS: 0018 void initTestCase(); 0019 void testParentShape(); 0020 void cleanupTestCase(); 0021 private: 0022 KisDocument* kisdoc; 0023 VectorLayer *vNode; 0024 KisImageSP image; 0025 KisShapeLayerSP vLayer1; 0026 }; 0027 0028 #endif