umbrello: umbrello/uml1model/usecase.h Source File

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

usecase.h
Go to the documentation of this file.
1 /*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4 */
5
6 #ifndef USECASE_H
7 #define USECASE_H
8
9 #include "umlcanvasobject.h"
10
19 class UMLUseCase : public UMLCanvasObject
20 {
21 public:
22 explicit UMLUseCase(const QString & name = QString(), Uml::ID::Type id = Uml::ID::None);
23 ~UMLUseCase();
24
25 virtual void init();
26
27 virtual UMLObject* clone() const;
28
29 void saveToXMI1(QXmlStreamWriter& writer);
30
31 protected:
32 bool load1(QDomElement & element);
33 };
34
35 #endif
UMLCanvasObject
Non-graphical information for a UMLCanvasObject.
Definition: umlcanvasobject.h:32
UMLObject
The base class for UML objects.
Definition: umlobject.h:70
UMLObject::name
QString name() const
Definition: umlobject.cpp:206
UMLUseCase
Information for a non-graphical UML UseCase.
Definition: usecase.h:20
UMLUseCase::~UMLUseCase
~UMLUseCase()
Definition: usecase.cpp:23
UMLUseCase::load1
bool load1(QDomElement &element)
Definition: usecase.cpp:57
UMLUseCase::saveToXMI1
void saveToXMI1(QXmlStreamWriter &writer)
Definition: usecase.cpp:48
UMLUseCase::clone
virtual UMLObject * clone() const
Definition: usecase.cpp:38
UMLUseCase::init
virtual void init()
Definition: usecase.cpp:30
UMLUseCase::UMLUseCase
UMLUseCase(const QString &name=QString(), Uml::ID::Type id=Uml::ID::None)
Definition: usecase.cpp:14
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:373
Uml::ID::Type
std::string Type
Definition: basictypes.h:371
umlcanvasobject.h