umbrello 2.39.2 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

rubycodegenerationpolicy.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2005 Richard Dale <Richard_Dale@tipitina.demon.co.uk>
5 SPDX-FileCopyrightText: 2006-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef RUBYCODEGENERATIONPOLICY_H
9#define RUBYCODEGENERATIONPOLICY_H
10
11#include "codegenpolicyext.h"
12#include "codegenerationpolicy.h"
13
14#include <QString>
15
16 class CodeGenerationPolicyPage;
17
18 class RubyCodeGenerationPolicy : public CodeGenPolicyExt
19{
20 Q_OBJECT
21 public:
22
23 RubyCodeGenerationPolicy();
24 virtual ~RubyCodeGenerationPolicy();
25
26 void setAutoGenerateAttribAccessors(bool var);
27 bool getAutoGenerateAttribAccessors();
28
29 void setAutoGenerateAssocAccessors(bool var);
30 bool getAutoGenerateAssocAccessors();
31
32 virtual void setDefaults(CodeGenPolicyExt * defaults, bool emitUpdateSignal = true);
33 virtual void setDefaults(bool emitUpdateSignal = true);
34
35 CodeGenerationPolicyPage * createPage (QWidget *parent = 0, const char * name = 0);
36
37 private:
38
39 CodeGenerationPolicy *m_commonPolicy;
40
41 void init();
42};
43
44#endif // RUBYCODEGENERATIONPOLICY_H
CodeGenPolicyExt
Definition codegenpolicyext.h:23
CodeGenerationPolicyPage
Definition codegenerationpolicypage.h:17
CodeGenerationPolicy
Definition codegenerationpolicy.h:26
RubyCodeGenerationPolicy
Definition rubycodegenerationpolicy.h:19
RubyCodeGenerationPolicy::getAutoGenerateAssocAccessors
bool getAutoGenerateAssocAccessors()
Definition rubycodegenerationpolicy.cpp:68
RubyCodeGenerationPolicy::setAutoGenerateAttribAccessors
void setAutoGenerateAttribAccessors(bool var)
Definition rubycodegenerationpolicy.cpp:39
RubyCodeGenerationPolicy::getAutoGenerateAttribAccessors
bool getAutoGenerateAttribAccessors()
Definition rubycodegenerationpolicy.cpp:59
RubyCodeGenerationPolicy::setAutoGenerateAssocAccessors
void setAutoGenerateAssocAccessors(bool var)
Definition rubycodegenerationpolicy.cpp:49
RubyCodeGenerationPolicy::init
void init()
Definition rubycodegenerationpolicy.cpp:141
RubyCodeGenerationPolicy::m_commonPolicy
CodeGenerationPolicy * m_commonPolicy
Definition rubycodegenerationpolicy.h:39
RubyCodeGenerationPolicy::~RubyCodeGenerationPolicy
virtual ~RubyCodeGenerationPolicy()
Definition rubycodegenerationpolicy.cpp:31
RubyCodeGenerationPolicy::setDefaults
virtual void setDefaults(CodeGenPolicyExt *defaults, bool emitUpdateSignal=true)
Definition rubycodegenerationpolicy.cpp:78
RubyCodeGenerationPolicy::createPage
CodeGenerationPolicyPage * createPage(QWidget *parent=0, const char *name=0)
Definition rubycodegenerationpolicy.cpp:133
RubyCodeGenerationPolicy::RubyCodeGenerationPolicy
RubyCodeGenerationPolicy()
Definition rubycodegenerationpolicy.cpp:22
codegenerationpolicy.h
codegenpolicyext.h