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

umbrello 2.32.3 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 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2007 Jari-Matti Mäkelä <jmjm@iki.fi> *
8 * copyright (C) 2008-2020 *
9 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10 ***************************************************************************/
11
12 #ifndef DCODEACCESSORMETHOD_H
13 #define DCODEACCESSORMETHOD_H
14
15 #include "codeaccessormethod.h"
16
17 #include <QString>
18
19 class CodeClassField;
20
21 class DCodeAccessorMethod : public CodeAccessorMethod
22 {
23 Q_OBJECT
24 public:
25
29 DCodeAccessorMethod (CodeClassField * field, CodeAccessorMethod::AccessorType type);
30
34 virtual ~DCodeAccessorMethod ();
35
39 void update();
40
41 virtual void updateMethodDeclaration();
42 virtual void updateContent();
43
44 protected:
45
50 virtual void setAttributesOnNode (QDomDocument & doc, QDomElement & blockElement);
51
56 virtual void setAttributesFromNode (QDomElement & element);
57
58 };
59
60 #endif // DCODEACCESSORMETHOD_H
CodeAccessorMethod
Definition: codeaccessormethod.h:21
CodeAccessorMethod::AccessorType
AccessorType
Definition: codeaccessormethod.h:32
CodeClassField
Definition: codeclassfield.h:30
DCodeAccessorMethod
Definition: dcodeaccessormethod.h:22
DCodeAccessorMethod::update
void update()
Definition: dcodeaccessormethod.cpp:208
DCodeAccessorMethod::~DCodeAccessorMethod
virtual ~DCodeAccessorMethod()
Definition: dcodeaccessormethod.cpp:41
DCodeAccessorMethod::setAttributesFromNode
virtual void setAttributesFromNode(QDomElement &element)
Definition: dcodeaccessormethod.cpp:53
DCodeAccessorMethod::updateMethodDeclaration
virtual void updateMethodDeclaration()
Definition: dcodeaccessormethod.cpp:119
DCodeAccessorMethod::DCodeAccessorMethod
DCodeAccessorMethod(CodeClassField *field, CodeAccessorMethod::AccessorType type)
Definition: dcodeaccessormethod.cpp:31
DCodeAccessorMethod::setAttributesOnNode
virtual void setAttributesOnNode(QDomDocument &doc, QDomElement &blockElement)
Definition: dcodeaccessormethod.cpp:45
DCodeAccessorMethod::updateContent
virtual void updateContent()
Definition: dcodeaccessormethod.cpp:61
codeaccessormethod.h