• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

umbrello/umbrello

  • sources
  • kde-4.12
  • kdesdk
  • umbrello
  • umbrello
  • codegenerators
  • ruby
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-2013 *
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 KConfig;
22 class CodeGenerationPolicyPage;
23 
24 class RubyCodeGenerationPolicy : public CodeGenPolicyExt
25 {
26  Q_OBJECT
27 public:
28 
29  RubyCodeGenerationPolicy();
30  virtual ~RubyCodeGenerationPolicy();
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 private:
44 
45  CodeGenerationPolicy *m_commonPolicy;
46 
47  void init();
48 };
49 
50 #endif // RUBYCODEGENERATIONPOLICY_H
QWidget
CodeGenerationPolicy
class CodeGenerationPolicy This class describes the code generation policy for this project...
Definition: codegenerationpolicy.h:29
codegenerationpolicy.h
codegenpolicyext.h
RubyCodeGenerationPolicy::setDefaults
virtual void setDefaults(CodeGenPolicyExt *defaults, bool emitUpdateSignal=true)
Set the defaults for this code generator from the passed generator.
Definition: rubycodegenerationpolicy.cpp:83
RubyCodeGenerationPolicy
Definition: rubycodegenerationpolicy.h:24
RubyCodeGenerationPolicy::RubyCodeGenerationPolicy
RubyCodeGenerationPolicy()
Constructor.
Definition: rubycodegenerationpolicy.cpp:27
CodeGenerationPolicyPage
Definition: codegenerationpolicypage.h:30
RubyCodeGenerationPolicy::getAutoGenerateAttribAccessors
bool getAutoGenerateAttribAccessors()
Get the value of m_autoGenerateAttribAccessors.
Definition: rubycodegenerationpolicy.cpp:64
RubyCodeGenerationPolicy::~RubyCodeGenerationPolicy
virtual ~RubyCodeGenerationPolicy()
Destructor.
Definition: rubycodegenerationpolicy.cpp:36
CodeGenPolicyExt
Base class for programming language specific code generation policy extensions.
Definition: codegenpolicyext.h:28
RubyCodeGenerationPolicy::createPage
CodeGenerationPolicyPage * createPage(QWidget *parent=0, const char *name=0)
Create a new dialog interface for this object.
Definition: rubycodegenerationpolicy.cpp:138
RubyCodeGenerationPolicy::getAutoGenerateAssocAccessors
bool getAutoGenerateAssocAccessors()
Get the value of m_autoGenerateAssocAccessors.
Definition: rubycodegenerationpolicy.cpp:73
RubyCodeGenerationPolicy::setAutoGenerateAttribAccessors
void setAutoGenerateAttribAccessors(bool var)
Set the value of m_autoGenerateAttribAccessors.
Definition: rubycodegenerationpolicy.cpp:44
RubyCodeGenerationPolicy::setAutoGenerateAssocAccessors
void setAutoGenerateAssocAccessors(bool var)
Set the value of m_autoGenerateAssocAccessors.
Definition: rubycodegenerationpolicy.cpp:54
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal