1
/* This file is part of the KDE project
2
* Copyright (C) 2008 Jan Hambrecht <jaham@gmx.net>
3
* Copyright 2012 Friedrich W. H. Kossebau <kossebau@kde.org>
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Library General Public
7
* License as published by the Free Software Foundation; either
8
* version 2 of the License, or (at your option) any later version.
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Library General Public License for more details.
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.
21
#ifndef VECTORSHAPECONFIGWIDGET_H
22
#define VECTORSHAPECONFIGWIDGET_H
24
#include <KoShapeConfigWidgetBase.h>
32
class VectorShapeConfigWidget : public KoShapeConfigWidgetBase
36
VectorShapeConfigWidget();
37
~VectorShapeConfigWidget();
39
/// reimplemented from KoShapeConfigWidgetBase
40
virtual void open(KoShape *shape);
41
/// reimplemented from KoShapeConfigWidgetBase
43
/// reimplemented from KoShapeConfigWidgetBase
44
virtual bool showOnShapeCreate();
45
/// reimplemented from KoShapeConfigWidgetBase
46
virtual bool showOnShapeSelect();
50
KFileWidget *m_fileWidget;
53
class LoadWaiter : public QObject
57
LoadWaiter(VectorShape *shape) : m_vectorShape(shape) { }
60
void setImageData(KJob *job);
63
VectorShape *m_vectorShape;
66
#endif //VECTORSHAPECONFIGWIDGET_H