umbrello: umbrello/diagram_utils.h Source File

umbrello 2.32.3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

diagram_utils.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2017-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef DIAGRAM_UTILS_H
7#define DIAGRAM_UTILS_H
8
9#include "basictypes.h"
10
11#include <QString>
12
13class UMLScene;
14class QMimeData;
15class QStringList;
16
22namespace Diagram_Utils {
23 typedef enum { Invalid, GDB, QtCreatorGDB, Simple} SequenceLineFormat;
24 SequenceLineFormat detectSequenceLineFormat(const QStringList &lines);
25 bool importSequences(const QStringList &lines, UMLScene *scene, const QString &fileName=QString());
26 bool importGraph(const QStringList &lines, UMLScene *scene, const QString &fileName=QString());
27 bool importGraph(const QString &fileName, UMLScene *scene);
28 bool importGraph(const QMimeData *mimeData, UMLScene *scene);
29 bool isUniqueDiagramName(Uml::DiagramType::Enum type, QString &name);
30} // end namespace Diagram_Utils
31
32#endif
basictypes.h
UMLScene
Definition: umlscene.h:65
Diagram_Utils
Definition: diagram_utils.cpp:34
Diagram_Utils::importGraph
bool importGraph(const QStringList &lines, UMLScene *scene, const QString &fileName)
Definition: diagram_utils.cpp:312
Diagram_Utils::SequenceLineFormat
SequenceLineFormat
Definition: diagram_utils.h:23
Diagram_Utils::Simple
@ Simple
Definition: diagram_utils.h:23
Diagram_Utils::GDB
@ GDB
Definition: diagram_utils.h:23
Diagram_Utils::Invalid
@ Invalid
Definition: diagram_utils.h:23
Diagram_Utils::QtCreatorGDB
@ QtCreatorGDB
Definition: diagram_utils.h:23
Diagram_Utils::detectSequenceLineFormat
SequenceLineFormat detectSequenceLineFormat(const QStringList &lines)
Definition: diagram_utils.cpp:41
Diagram_Utils::isUniqueDiagramName
bool isUniqueDiagramName(Uml::DiagramType::Enum type, QString &name)
Definition: diagram_utils.cpp:517
Diagram_Utils::importSequences
bool importSequences(const QStringList &lines, UMLScene *scene, const QString &fileName)
Definition: diagram_utils.cpp:197
Uml::DiagramType::Enum
Enum
Definition: basictypes.h:63