KDStateMachineEditor  1.1.0
A framework for creating Qt State Machine metacode using a graphical user interface
svgexporter.h
1 /*
2  This file is part of the KDAB State Machine Editor Library.
3 
4  Copyright (C) 2015-2016 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com.
5  All rights reserved.
6  Author: Volker Krause <volker.krause@kdab.com>
7 
8  Licensees holding valid commercial KDAB State Machine Editor Library
9  licenses may use this file in accordance with the KDAB State Machine Editor
10  Library License Agreement provided with the Software.
11 
12  This file may be distributed and/or modified under the terms of the
13  GNU Lesser General Public License version 2.1 as published by the
14  Free Software Foundation and appearing in the file LICENSE.LGPL.txt included.
15 
16  This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
17  WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18 
19  Contact info@kdab.com if any conditions of this licensing are not
20  clear to you.
21 */
22 
23 #ifndef KDSME_SVGEXPORTER_H
24 #define KDSME_SVGEXPORTER_H
25 
26 #include "abstractexporter.h"
27 
28 QT_BEGIN_NAMESPACE
29 class QIODevice;
30 QT_END_NAMESPACE
31 
32 namespace KDSME {
33 
34 class SvgExporterPrivate;
35 
36 class KDSME_CORE_EXPORT SvgExporter : public AbstractExporter
37 {
38 public:
39  explicit SvgExporter(QIODevice *ioDevice);
40  ~SvgExporter();
41 
42  bool exportMachine(StateMachine* machine) override;
43 private:
44  friend class SvgExporterPrivate;
45  QScopedPointer<SvgExporterPrivate> d;
46 };
47 
48 }
49 
50 #endif // KDSME_SVGEXPORTER_H
Definition: state.h:160
Definition: abstractexporter.h:37
Definition: svgexporter.h:36
Definition: abstractexporter.h:33

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
https://github.com/KDAB/KDStateMachineEditor