• 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
rubyclassdeclarationblock.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 RUBYCLASSDECLARATIONBLOCK_H
14 #define RUBYCLASSDECLARATIONBLOCK_H
15 
16 #include "rubyclassifiercodedocument.h"
17 #include "ownedhierarchicalcodeblock.h"
18 
19 #include <QString>
20 
21 class RubyClassDeclarationBlock : public OwnedHierarchicalCodeBlock
22 {
23  Q_OBJECT
24 public:
25 
29  explicit RubyClassDeclarationBlock (RubyClassifierCodeDocument * parentDoc, const QString &start = "", const QString &endText = "end", const QString &comment = "");
30 
34  virtual ~RubyClassDeclarationBlock ();
35 
39  void updateContent ();
40 
44  virtual void saveToXMI (QDomDocument & doc, QDomElement & root);
45 
49  virtual void loadFromXMI (QDomElement & root);
50 
51 private:
52 
53  void init (RubyClassifierCodeDocument * parent, const QString &comment);
54 
55 };
56 
57 #endif // RUBYCLASSDECLARATIONBLOCK_H
OwnedHierarchicalCodeBlock
class OwnedHierarchicalCodeBlock A "chunk" of code within the code document that is "owned" by some u...
Definition: ownedhierarchicalcodeblock.h:26
RubyClassDeclarationBlock::~RubyClassDeclarationBlock
virtual ~RubyClassDeclarationBlock()
Empty Destructor.
Definition: rubyclassdeclarationblock.cpp:25
RubyClassDeclarationBlock::saveToXMI
virtual void saveToXMI(QDomDocument &doc, QDomElement &root)
Save the XMI representation of this object.
Definition: rubyclassdeclarationblock.cpp:32
RubyClassDeclarationBlock
Definition: rubyclassdeclarationblock.h:21
RubyClassDeclarationBlock::loadFromXMI
virtual void loadFromXMI(QDomElement &root)
load params from the appropriate XMI element node.
Definition: rubyclassdeclarationblock.cpp:44
RubyClassDeclarationBlock::updateContent
void updateContent()
Update the start/end text of this codeblock.
Definition: rubyclassdeclarationblock.cpp:52
RubyClassifierCodeDocument
class RubyClassifierCodeDocument A Ruby UMLClassifier Code Document.
Definition: rubyclassifiercodedocument.h:36
RubyClassDeclarationBlock::RubyClassDeclarationBlock
RubyClassDeclarationBlock(RubyClassifierCodeDocument *parentDoc, const QString &start="", const QString &endText="end", const QString &comment="")
Empty Constructor.
Definition: rubyclassdeclarationblock.cpp:19
ownedhierarchicalcodeblock.h
rubyclassifiercodedocument.h
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