• 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
rubycodeaccessormethod.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 RUBYCODEACCESSORMETHOD_H
14 #define RUBYCODEACCESSORMETHOD_H
15 
16 #include "codeaccessormethod.h"
17 #include "rubycodeclassfield.h"
18 
19 #include <QString>
20 
21 class RubyCodeAccessorMethod : public CodeAccessorMethod
22 {
23  Q_OBJECT
24 public:
25 
26  RubyCodeAccessorMethod(CodeClassField * field, CodeAccessorMethod::AccessorType type);
27  virtual ~RubyCodeAccessorMethod();
28 
29  void update();
30 
31  virtual void updateMethodDeclaration();
32  virtual void updateContent();
33 
34 protected:
35 
36  virtual void setAttributesOnNode(QDomDocument & doc, QDomElement & blockElement);
37  virtual void setAttributesFromNode(QDomElement & element);
38 
39 private:
40 
41 };
42 
43 #endif // RUBYCODEACCESSORMETHOD_H
CodeClassField
class CodeClassField a special type of parameter.
Definition: codeclassfield.h:29
codeaccessormethod.h
RubyCodeAccessorMethod::setAttributesOnNode
virtual void setAttributesOnNode(QDomDocument &doc, QDomElement &blockElement)
Set attributes of the node that represents this class in the XMI document.
Definition: rubycodeaccessormethod.cpp:58
CodeAccessorMethod::AccessorType
AccessorType
Definition: codeaccessormethod.h:32
CodeAccessorMethod
Definition: codeaccessormethod.h:20
RubyCodeAccessorMethod::updateContent
virtual void updateContent()
This is the method called from within syncToparent() to update the body of the method.
Definition: rubycodeaccessormethod.cpp:78
rubycodeclassfield.h
RubyCodeAccessorMethod::RubyCodeAccessorMethod
RubyCodeAccessorMethod(CodeClassField *field, CodeAccessorMethod::AccessorType type)
Constructor.
Definition: rubycodeaccessormethod.cpp:37
RubyCodeAccessorMethod::setAttributesFromNode
virtual void setAttributesFromNode(QDomElement &element)
Set the class attributes of this object from the passed element node.
Definition: rubycodeaccessormethod.cpp:70
RubyCodeAccessorMethod::update
void update()
Must be called before this object is usable.
Definition: rubycodeaccessormethod.cpp:225
RubyCodeAccessorMethod
Definition: rubycodeaccessormethod.h:21
RubyCodeAccessorMethod::~RubyCodeAccessorMethod
virtual ~RubyCodeAccessorMethod()
Empty Destructor.
Definition: rubycodeaccessormethod.cpp:50
RubyCodeAccessorMethod::updateMethodDeclaration
virtual void updateMethodDeclaration()
This is the method called from within syncToparent().
Definition: rubycodeaccessormethod.cpp:136
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