File indexing completed on 2024-05-12 15:56:47

0001 /* This file is part of the KDE project
0002  * SPDX-FileCopyrightText: 2007 Jan Hambrecht <jaham@gmx.net>
0003  *
0004  * SPDX-License-Identifier: LGPL-2.0-or-later
0005  */
0006 
0007 #include "KoShapeConfigWidgetBase.h"
0008 
0009 KoShapeConfigWidgetBase::KoShapeConfigWidgetBase()
0010         : m_resourceManager(0)
0011 {
0012 }
0013 
0014 KoShapeConfigWidgetBase::~KoShapeConfigWidgetBase()
0015 {
0016 }
0017 
0018 void KoShapeConfigWidgetBase::setUnit(const KoUnit &)
0019 {
0020 }
0021 
0022 void KoShapeConfigWidgetBase::setResourceManager(KoCanvasResourceProvider *rm)
0023 {
0024     m_resourceManager = rm;
0025 }
0026 
0027 bool KoShapeConfigWidgetBase::showOnShapeCreate()
0028 {
0029     return false;
0030 }
0031 
0032 bool KoShapeConfigWidgetBase::showOnShapeSelect()
0033 {
0034     return true;
0035 }
0036 
0037 KUndo2Command * KoShapeConfigWidgetBase::createCommand()
0038 {
0039     return 0;
0040 }