umbrello: umbrello/codegenerators/d/dcodeaccessormethod.h Source File

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

dcodeaccessormethod.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2007 Jari-Matti Mäkelä <jmjm@iki.fi>
5 SPDX-FileCopyrightText: 2008-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef DCODEACCESSORMETHOD_H
9#define DCODEACCESSORMETHOD_H
10
11#include "codeaccessormethod.h"
12
13#include <QString>
14
15class CodeClassField;
16
17 class DCodeAccessorMethod : public CodeAccessorMethod
18{
19 Q_OBJECT
20public:
21
25 DCodeAccessorMethod (CodeClassField * field, CodeAccessorMethod::AccessorType type);
26
30 virtual ~DCodeAccessorMethod ();
31
35 void update();
36
37 virtual void updateMethodDeclaration();
38 virtual void updateContent();
39
40protected:
41
46 virtual void setAttributesOnNode (QXmlStreamWriter& writer);
47
52 virtual void setAttributesFromNode (QDomElement & element);
53
54};
55
56#endif // DCODEACCESSORMETHOD_H
CodeAccessorMethod::CodeClassField
friend class CodeClassField
Definition codeaccessormethod.h:19
CodeAccessorMethod::CodeAccessorMethod
CodeAccessorMethod(CodeClassField *field)
Definition codeaccessormethod.cpp:20
CodeAccessorMethod::AccessorType
AccessorType
Definition codeaccessormethod.h:29
CodeClassField
Definition codeclassfield.h:26
DCodeAccessorMethod::update
void update()
Definition dcodeaccessormethod.cpp:207
DCodeAccessorMethod::~DCodeAccessorMethod
virtual ~DCodeAccessorMethod()
Definition dcodeaccessormethod.cpp:40
DCodeAccessorMethod::setAttributesFromNode
virtual void setAttributesFromNode(QDomElement &element)
Definition dcodeaccessormethod.cpp:52
DCodeAccessorMethod::updateMethodDeclaration
virtual void updateMethodDeclaration()
Definition dcodeaccessormethod.cpp:118
DCodeAccessorMethod::setAttributesOnNode
virtual void setAttributesOnNode(QXmlStreamWriter &writer)
Definition dcodeaccessormethod.cpp:44
DCodeAccessorMethod::DCodeAccessorMethod
DCodeAccessorMethod(CodeClassField *field, CodeAccessorMethod::AccessorType type)
Definition dcodeaccessormethod.cpp:30
DCodeAccessorMethod::updateContent
virtual void updateContent()
Definition dcodeaccessormethod.cpp:60
codeaccessormethod.h