KDStateMachineEditor
1.0.0
A framework for creating Qt State Machine metacode using a graphical user interface
Main Page
Namespaces
Classes
Examples
src
core
import
abstractimporter.h
1
/*
2
This file is part of the KDAB State Machine Editor Library.
3
4
Copyright (C) 2014-2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com.
5
All rights reserved.
6
Author: Kevin Funk <kevin.funk@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_ABSTRACTIMPORTER_H
24
#define KDSME_ABSTRACTIMPORTER_H
25
26
#include "kdsme_core_export.h"
27
28
#include <QCoreApplication>
29
#include <QScopedPointer>
30
#include <QString>
31
32
namespace
KDSME
{
33
34
class
StateMachine;
35
36
class
KDSME_CORE_EXPORT
AbstractImporter
37
{
38
Q_DECLARE_TR_FUNCTIONS(
AbstractImporter
)
39
40
public
:
41
AbstractImporter
();
42
virtual
~
AbstractImporter
();
43
52
virtual
StateMachine
*
import
() = 0;
53
57
QString errorString()
const
;
58
59
protected
:
63
void
setErrorString(
const
QString& errorString);
64
65
private
:
66
struct
Private;
67
QScopedPointer<Private> d;
68
};
69
70
}
71
72
#endif // KDSME_ABSTRACTIMPORTER_H
KDSME::StateMachine
Definition:
state.h:160
KDSME::AbstractImporter
Definition:
abstractimporter.h:36
KDSME
Definition:
abstractexporter.h:33
Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
https://github.com/KDAB/KDStateMachineEditor