umbrello: umbrello/umlmodel/actor.h Source File

umbrello 2.38.5 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

actor.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2021 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef ACTOR_H
7#define ACTOR_H
8
9#include "umlcanvasobject.h"
10
22 class UMLActor : public UMLCanvasObject
23{
24 Q_OBJECT
25public:
26 explicit UMLActor(const QString & name = QString(), Uml::ID::Type id = Uml::ID::None);
27 virtual ~UMLActor();
28
29 virtual void init();
30
31 virtual UMLObject* clone() const;
32
33 void saveToXMI(QXmlStreamWriter& writer);
34
35protected:
36 bool load1(QDomElement & element);
37};
38
39#endif
UMLActor
Information for a non-graphical UML Actor.
Definition actor.h:23
UMLActor::init
virtual void init()
Definition actor.cpp:30
UMLActor::UMLActor
UMLActor(const QString &name=QString(), Uml::ID::Type id=Uml::ID::None)
Definition actor.cpp:14
UMLActor::clone
virtual UMLObject * clone() const
Definition actor.cpp:38
UMLActor::load1
bool load1(QDomElement &element)
Definition actor.cpp:57
UMLActor::saveToXMI
void saveToXMI(QXmlStreamWriter &writer)
Definition actor.cpp:48
UMLActor::~UMLActor
virtual ~UMLActor()
Definition actor.cpp:23
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:207
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