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

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

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
13 class UMLScene;
14 class QMimeData;
15 class QStringList;
16
22 namespace 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 &sourceHint=QString());
26 bool importClassGraph(const QStringList &lines, UMLScene *scene, const QString &sourceHint=QString());
27 bool importGraph(const QStringList &lines, UMLScene *scene, const QString &sourceHint=QString());
28 bool importGraph(const QString &fileName, UMLScene *scene);
29 bool importGraph(const QMimeData *mimeData, UMLScene *scene);
30 bool isUniqueDiagramName(Uml::DiagramType::Enum type, QString &name);
31} // end namespace Diagram_Utils
32
33#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 &sourceHint)
Definition diagram_utils.cpp:449
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::importSequences
bool importSequences(const QStringList &lines, UMLScene *scene, const QString &sourceHint)
Definition diagram_utils.cpp:198
Diagram_Utils::isUniqueDiagramName
bool isUniqueDiagramName(Uml::DiagramType::Enum type, QString &name)
Definition diagram_utils.cpp:522
Diagram_Utils::importClassGraph
bool importClassGraph(const QStringList &lines, UMLScene *scene, const QString &sourceHint)
Definition diagram_utils.cpp:305
Uml::DiagramType::Enum
Enum
Definition basictypes.h:63