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

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

dcodegenerationpolicypage.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 DCODEGENERATIONPOLICYPAGE_H
13 #define DCODEGENERATIONPOLICYPAGE_H
14
15 #include "codegenerationpolicypage.h"
16 #include "dcodegenerationpolicy.h"
17 #include "ui_dcodegenerationformbase.h"
18
23 class DCodeGenerationFormBase : public QWidget, public Ui::DCodeGenerationFormBase
24 {
25 public:
26 explicit DCodeGenerationFormBase(QWidget *parent) : QWidget(parent)
27 {
28 setupUi(this);
29 }
30 };
31
32
33 class DCodeGenerationPolicyPage : public CodeGenerationPolicyPage
34 {
35 Q_OBJECT
36 public:
37
38 explicit DCodeGenerationPolicyPage(QWidget *parent=0, const char *name=0, DCodeGenerationPolicy * policy = 0);
39 virtual ~DCodeGenerationPolicyPage();
40
41 protected:
42
43 DCodeGenerationFormBase * form;
44
45 public slots:
46
47 void apply();
48
49 };
50
51 #endif
52
CodeGenerationPolicy::setAssociationFieldScope
void setAssociationFieldScope(Uml::Visibility::Enum var)
Definition: codegenerationpolicy.cpp:393
dcodegenerationpolicy.h
DCodeGenerationFormBase::DCodeGenerationFormBase
DCodeGenerationFormBase(QWidget *parent)
Definition: dcodegenerationpolicypage.h:35
UMLApp::commonPolicy
CodeGenerationPolicy * commonPolicy() const
Definition: uml.cpp:2274
CodeGenerationPolicy::setAutoGenerateConstructors
void setAutoGenerateConstructors(bool var)
Definition: codegenerationpolicy.cpp:355
CodeGenerationPolicy::setAttributeAccessorScope
void setAttributeAccessorScope(Uml::Visibility::Enum var)
Definition: codegenerationpolicy.cpp:374
DCodeGenerationPolicy::setAutoGenerateAssocAccessors
void setAutoGenerateAssocAccessors(bool var)
Definition: dcodegenerationpolicy.cpp:63
DCodeGenerationPolicyPage::apply
void apply()
Definition: dcodegenerationpolicypage.cpp:46
DCodeGenerationPolicy::getAutoGenerateAssocAccessors
bool getAutoGenerateAssocAccessors()
Definition: dcodegenerationpolicy.cpp:82
DCodeGenerationPolicy::setAutoGenerateAttribAccessors
void setAutoGenerateAttribAccessors(bool var)
Definition: dcodegenerationpolicy.cpp:53
CodeGenerationPolicy::emitModifiedCodeContentSig
void emitModifiedCodeContentSig()
Definition: codegenerationpolicy.cpp:420
codegenerationpolicypage.h
DCodeGenerationPolicyPage
Definition: dcodegenerationpolicypage.h:33
CodeGenerationPolicy::CommentStyle
CommentStyle
Definition: codegenerationpolicy.h:50
CodeGenerationPolicy::getAssociationFieldScope
Uml::Visibility::Enum getAssociationFieldScope()
Definition: codegenerationpolicy.cpp:403
CodeGenerationPolicyPage::m_parentPolicy
CodeGenPolicyExt * m_parentPolicy
Definition: codegenerationpolicypage.h:42
DCodeGenerationPolicy::getAutoGenerateAttribAccessors
bool getAutoGenerateAttribAccessors()
Definition: dcodegenerationpolicy.cpp:73
CodeGenerationPolicy::setCommentStyle
void setCommentStyle(CommentStyle new_var)
Definition: codegenerationpolicy.cpp:94
CodeGenerationPolicy
Definition: codegenerationpolicy.h:29
CodeGenerationPolicyPage
Definition: codegenerationpolicypage.h:30
DCodeGenerationFormBase
Definition: dcodegenerationpolicypage.h:23
CodeGenerationPolicy::getCommentStyle
CommentStyle getCommentStyle()
Definition: codegenerationpolicy.cpp:104
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:269
Uml::Visibility::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:169
dcodegenerationpolicypage.h
DCodeGenerationPolicyPage::~DCodeGenerationPolicyPage
virtual ~DCodeGenerationPolicyPage()
Definition: dcodegenerationpolicypage.cpp:42
uml.h
DCodeGenerationPolicy
Definition: dcodegenerationpolicy.h:22
CodeGenerationPolicy::getAttributeAccessorScope
Uml::Visibility::Enum getAttributeAccessorScope()
Definition: codegenerationpolicy.cpp:384
CodeGenerationPolicy::getAutoGenerateConstructors
bool getAutoGenerateConstructors()
Definition: codegenerationpolicy.cpp:365
DCodeGenerationPolicyPage::DCodeGenerationPolicyPage
DCodeGenerationPolicyPage(QWidget *parent=0, const char *name=0, DCodeGenerationPolicy *policy=0)
Definition: dcodegenerationpolicypage.cpp:21
DCodeGenerationPolicyPage::form
DCodeGenerationFormBase * form
Definition: dcodegenerationpolicypage.h:43