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

dcodegenerationpolicy.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 DCODEGENERATIONPOLICY_H
13 #define DCODEGENERATIONPOLICY_H
14
15 #include "codegenpolicyext.h"
16 #include "codegenerationpolicy.h"
17
18 #include <QString>
19
20 class CodeGenerationPolicyPage;
21
22 class DCodeGenerationPolicy : public CodeGenPolicyExt
23 {
24 Q_OBJECT
25 public:
26
27 //DCodeGenerationPolicy (CodeGenerationPolicy * defaults = 0);
28 DCodeGenerationPolicy();
29
30 virtual ~DCodeGenerationPolicy();
31
32 void setAutoGenerateAttribAccessors (bool var);
33 bool getAutoGenerateAttribAccessors();
34
35 void setAutoGenerateAssocAccessors (bool var);
36 bool getAutoGenerateAssocAccessors();
37
38 virtual void setDefaults(CodeGenPolicyExt * defaults, bool emitUpdateSignal = true);
39 virtual void setDefaults(bool emitUpdateSignal = true);
40
41 CodeGenerationPolicyPage * createPage (QWidget *parent = 0, const char * name = 0);
42
43 protected:
44
45 void init();
46
47 private:
48
49 CodeGenerationPolicy *m_commonPolicy;
50
51 };
52
53 #endif // DCODEGENERATIONPOLICY_H
DCodeGenerationPolicy::setDefaults
virtual void setDefaults(CodeGenPolicyExt *defaults, bool emitUpdateSignal=true)
Definition: dcodegenerationpolicy.cpp:92
UmbrelloSettings::autoGenerateAssocAccessorsD
static bool autoGenerateAssocAccessorsD()
Definition: umbrellosettings.h:2460
dcodegenerationpolicy.h
UMLApp::commonPolicy
CodeGenerationPolicy * commonPolicy() const
Definition: uml.cpp:2283
umbrellosettings.h
DCodeGenerationPolicy::init
void init()
Definition: dcodegenerationpolicy.cpp:166
DCodeGenerationPolicy::DCodeGenerationPolicy
DCodeGenerationPolicy()
Definition: dcodegenerationpolicy.cpp:35
DCodeGenerationPolicy::~DCodeGenerationPolicy
virtual ~DCodeGenerationPolicy()
Definition: dcodegenerationpolicy.cpp:45
DCodeGenerationPolicy::setAutoGenerateAssocAccessors
void setAutoGenerateAssocAccessors(bool var)
Definition: dcodegenerationpolicy.cpp:63
DCodeGenerationPolicy::getAutoGenerateAssocAccessors
bool getAutoGenerateAssocAccessors()
Definition: dcodegenerationpolicy.cpp:82
CodeGenerationPolicy::setDefaults
virtual void setDefaults(CodeGenerationPolicy *defaults, bool emitUpdateSignal=true)
Definition: codegenerationpolicy.cpp:429
Settings::CodeGenerationState::DCodeGenerationState::autoGenerateAttributeAccessors
bool autoGenerateAttributeAccessors
Definition: optionstate.h:222
DCodeGenerationPolicy::setAutoGenerateAttribAccessors
void setAutoGenerateAttribAccessors(bool var)
Definition: dcodegenerationpolicy.cpp:53
CodeGenerationPolicy::emitModifiedCodeContentSig
void emitModifiedCodeContentSig()
Definition: codegenerationpolicy.cpp:420
CodeGenPolicyExt
Definition: codegenpolicyext.h:28
dcodegenerator.h
DCodeGenerationPolicyPage
Definition: dcodegenerationpolicypage.h:34
optionstate.h
Settings::OptionState::codeGenerationState
CodeGenerationState codeGenerationState
Definition: optionstate.h:331
Settings::optionState
OptionState & optionState()
Definition: optionstate.cpp:362
DCodeGenerationPolicy::m_commonPolicy
CodeGenerationPolicy * m_commonPolicy
Definition: dcodegenerationpolicy.h:49
DCodeGenerationPolicy::getAutoGenerateAttribAccessors
bool getAutoGenerateAttribAccessors()
Definition: dcodegenerationpolicy.cpp:73
codegenerationpolicy.h
CodeGenerationPolicy
Definition: codegenerationpolicy.h:30
CodeGenerationPolicyPage
Definition: codegenerationpolicypage.h:31
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
UmbrelloSettings::autoGenerateAttributeAccessorsD
static bool autoGenerateAttributeAccessorsD()
Definition: umbrellosettings.h:2432
dcodegenerationpolicypage.h
Settings::OptionState
Definition: optionstate.h:314
uml.h
DCodeGenerationPolicy::createPage
CodeGenerationPolicyPage * createPage(QWidget *parent=0, const char *name=0)
Definition: dcodegenerationpolicy.cpp:158
codegenpolicyext.h
DCodeGenerationPolicy
Definition: dcodegenerationpolicy.h:23
Settings::CodeGenerationState::dCodeGenerationState
DCodeGenerationState dCodeGenerationState
Definition: optionstate.h:254
Settings::CodeGenerationState::DCodeGenerationState::autoGenerateAssocAccessors
bool autoGenerateAssocAccessors
Definition: optionstate.h:223