umbrello: umbrello/codegenerators/ruby/rubycodegenerationpolicy.h Source File

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

rubycodegenerationpolicy.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) 2005 *
8 * Richard Dale <Richard_Dale@tipitina.demon.co.uk> *
9 * copyright (C) 2006-2020 *
10 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
11 ***************************************************************************/
12
13 #ifndef RUBYCODEGENERATIONPOLICY_H
14 #define RUBYCODEGENERATIONPOLICY_H
15
16 #include "codegenpolicyext.h"
17 #include "codegenerationpolicy.h"
18
19 #include <QString>
20
21 class CodeGenerationPolicyPage;
22
23 class RubyCodeGenerationPolicy : public CodeGenPolicyExt
24 {
25 Q_OBJECT
26 public:
27
28 RubyCodeGenerationPolicy();
29 virtual ~RubyCodeGenerationPolicy();
30
31 void setAutoGenerateAttribAccessors(bool var);
32 bool getAutoGenerateAttribAccessors();
33
34 void setAutoGenerateAssocAccessors(bool var);
35 bool getAutoGenerateAssocAccessors();
36
37 virtual void setDefaults(CodeGenPolicyExt * defaults, bool emitUpdateSignal = true);
38 virtual void setDefaults(bool emitUpdateSignal = true);
39
40 CodeGenerationPolicyPage * createPage (QWidget *parent = 0, const char * name = 0);
41
42 private:
43
44 CodeGenerationPolicy *m_commonPolicy;
45
46 void init();
47 };
48
49 #endif // RUBYCODEGENERATIONPOLICY_H
RubyCodeGenerationPolicy::m_commonPolicy
CodeGenerationPolicy * m_commonPolicy
Definition: rubycodegenerationpolicy.h:44
RubyCodeGenerationPolicy::setAutoGenerateAttribAccessors
void setAutoGenerateAttribAccessors(bool var)
Definition: rubycodegenerationpolicy.cpp:44
UMLApp::commonPolicy
CodeGenerationPolicy * commonPolicy() const
Definition: uml.cpp:2274
RubyCodeGenerationPolicy::RubyCodeGenerationPolicy
RubyCodeGenerationPolicy()
Definition: rubycodegenerationpolicy.cpp:27
RubyCodeGenerationPolicy::getAutoGenerateAssocAccessors
bool getAutoGenerateAssocAccessors()
Definition: rubycodegenerationpolicy.cpp:73
rubycodegenerationpolicypage.h
CodeGenerationPolicy::setDefaults
virtual void setDefaults(CodeGenerationPolicy *defaults, bool emitUpdateSignal=true)
Definition: codegenerationpolicy.cpp:429
CodeGenerationPolicy::emitModifiedCodeContentSig
void emitModifiedCodeContentSig()
Definition: codegenerationpolicy.cpp:420
CodeGenPolicyExt
Definition: codegenpolicyext.h:28
optionstate.h
Settings::OptionState::codeGenerationState
CodeGenerationState codeGenerationState
Definition: optionstate.h:331
Settings::optionState
OptionState & optionState()
Definition: optionstate.cpp:362
Settings::CodeGenerationState::RubyCodeGenerationState::autoGenerateAssocAccessors
bool autoGenerateAssocAccessors
Definition: optionstate.h:250
RubyCodeGenerationPolicy::~RubyCodeGenerationPolicy
virtual ~RubyCodeGenerationPolicy()
Definition: rubycodegenerationpolicy.cpp:36
RubyCodeGenerationPolicy::getAutoGenerateAttribAccessors
bool getAutoGenerateAttribAccessors()
Definition: rubycodegenerationpolicy.cpp:64
Settings::CodeGenerationState::RubyCodeGenerationState::autoGenerateAttributeAccessors
bool autoGenerateAttributeAccessors
Definition: optionstate.h:249
codegenerationpolicy.h
CodeGenerationPolicy
Definition: codegenerationpolicy.h:30
CodeGenerationPolicyPage
Definition: codegenerationpolicypage.h:31
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:269
RubyCodeGenerationPolicy
Definition: rubycodegenerationpolicy.h:24
Settings::OptionState
Definition: optionstate.h:314
RubyCodeGenerationPolicy::setDefaults
virtual void setDefaults(CodeGenPolicyExt *defaults, bool emitUpdateSignal=true)
Definition: rubycodegenerationpolicy.cpp:83
RubyCodeGenerationPolicyPage
Definition: rubycodegenerationpolicypage.h:21
uml.h
RubyCodeGenerationPolicy::setAutoGenerateAssocAccessors
void setAutoGenerateAssocAccessors(bool var)
Definition: rubycodegenerationpolicy.cpp:54
codegenpolicyext.h
RubyCodeGenerationPolicy::createPage
CodeGenerationPolicyPage * createPage(QWidget *parent=0, const char *name=0)
Definition: rubycodegenerationpolicy.cpp:138
RubyCodeGenerationPolicy::init
void init()
Definition: rubycodegenerationpolicy.cpp:146
rubycodegenerator.h
Settings::CodeGenerationState::rubyCodeGenerationState
RubyCodeGenerationState rubyCodeGenerationState
Definition: optionstate.h:256
rubycodegenerationpolicy.h