umbrello: umbrello/codegenerators/d/dcodegenerationpolicy.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

dcodegenerationpolicy.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 DCODEGENERATIONPOLICY_H
9#define DCODEGENERATIONPOLICY_H
10
11#include "codegenpolicyext.h"
12#include "codegenerationpolicy.h"
13
14#include <QString>
15
16class CodeGenerationPolicyPage;
17
18 class DCodeGenerationPolicy : public CodeGenPolicyExt
19{
20 Q_OBJECT
21public:
22
23 //DCodeGenerationPolicy (CodeGenerationPolicy * defaults = 0);
24 DCodeGenerationPolicy();
25
26 virtual ~DCodeGenerationPolicy();
27
28 void setAutoGenerateAttribAccessors (bool var);
29 bool getAutoGenerateAttribAccessors();
30
31 void setAutoGenerateAssocAccessors (bool var);
32 bool getAutoGenerateAssocAccessors();
33
34 virtual void setDefaults(CodeGenPolicyExt * defaults, bool emitUpdateSignal = true);
35 virtual void setDefaults(bool emitUpdateSignal = true);
36
37 CodeGenerationPolicyPage * createPage (QWidget *parent = 0, const char * name = 0);
38
39protected:
40
41 void init();
42
43private:
44
45 CodeGenerationPolicy *m_commonPolicy;
46
47};
48
49#endif // DCODEGENERATIONPOLICY_H
CodeGenPolicyExt
Definition codegenpolicyext.h:23
CodeGenerationPolicyPage
Definition codegenerationpolicypage.h:17
CodeGenerationPolicy
Definition codegenerationpolicy.h:26
DCodeGenerationPolicy
Definition dcodegenerationpolicy.h:19
DCodeGenerationPolicy::createPage
CodeGenerationPolicyPage * createPage(QWidget *parent=0, const char *name=0)
Definition dcodegenerationpolicy.cpp:154
DCodeGenerationPolicy::m_commonPolicy
CodeGenerationPolicy * m_commonPolicy
Definition dcodegenerationpolicy.h:45
DCodeGenerationPolicy::getAutoGenerateAssocAccessors
bool getAutoGenerateAssocAccessors()
Definition dcodegenerationpolicy.cpp:78
DCodeGenerationPolicy::setDefaults
virtual void setDefaults(CodeGenPolicyExt *defaults, bool emitUpdateSignal=true)
Definition dcodegenerationpolicy.cpp:88
DCodeGenerationPolicy::init
void init()
Definition dcodegenerationpolicy.cpp:162
DCodeGenerationPolicy::DCodeGenerationPolicy
DCodeGenerationPolicy()
Definition dcodegenerationpolicy.cpp:31
DCodeGenerationPolicy::~DCodeGenerationPolicy
virtual ~DCodeGenerationPolicy()
Definition dcodegenerationpolicy.cpp:41
DCodeGenerationPolicy::setAutoGenerateAttribAccessors
void setAutoGenerateAttribAccessors(bool var)
Definition dcodegenerationpolicy.cpp:49
DCodeGenerationPolicy::setAutoGenerateAssocAccessors
void setAutoGenerateAssocAccessors(bool var)
Definition dcodegenerationpolicy.cpp:59
DCodeGenerationPolicy::getAutoGenerateAttribAccessors
bool getAutoGenerateAttribAccessors()
Definition dcodegenerationpolicy.cpp:69
codegenerationpolicy.h
codegenpolicyext.h