KDStateMachineEditor API Documentation 2.1
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
KDSME::AbstractImporter Class Referenceabstract

#include <abstractimporter.h>

Inheritance diagram for KDSME::AbstractImporter:
Inheritance graph
[legend]

Public Member Functions

 AbstractImporter ()
 
virtual ~AbstractImporter ()
 
QString errorString () const
 
virtual StateMachineimport ()=0
 

Protected Member Functions

void setErrorString (const QString &errorString)
 

Detailed Description

Definition at line 29 of file abstractimporter.h.

Constructor & Destructor Documentation

◆ AbstractImporter()

AbstractImporter::AbstractImporter ( )

Definition at line 26 of file abstractimporter.cpp.

◆ ~AbstractImporter()

AbstractImporter::~AbstractImporter ( )
virtual

Definition at line 31 of file abstractimporter.cpp.

Member Function Documentation

◆ errorString()

QString AbstractImporter::errorString ( ) const

Returns a human readable description of the last error that occurred.

Definition at line 35 of file abstractimporter.cpp.

Referenced by main(), and setErrorString().

◆ import()

virtual StateMachine * KDSME::AbstractImporter::import ( )
pure virtual

Imports the state machine

Note
Ownership of the object is transferred to the caller
Returns
On success, the pointer to the KDSME::StateMachine instance is returned, otherwise null
See also
errorString()

Implemented in KDSME::ScxmlImporter.

◆ setErrorString()

void AbstractImporter::setErrorString ( const QString &  errorString)
protected

Sets the human readable description of the last device error that occurred to errorString

Definition at line 40 of file abstractimporter.cpp.

References errorString().

Referenced by KDSME::ScxmlImporter::import().


The documentation for this class was generated from the following files:

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDStateMachineEditor
Create Qt State Machine metacode using a graphical user interface
https://github.com/KDAB/KDStateMachineEditor
Generated on Tue Jul 15 2025 15:21:47 for KDStateMachineEditor API Documentation by doxygen 1.9.8